/* ../web/app/css/resets.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ../web/app/css/base.css */
html {
  font-size: 1rem;
  scroll-behavior: smooth;
}
:root {
  --font-ui:
    "Avenir Next",
    "Segoe UI",
    "Trebuchet MS",
    sans-serif;
  --bg-main: #eef3f6;
  --bg-accent: #d9e9ef;
  --ink-900: #11202c;
  --ink-700: #355161;
  --ink-500: #5b7585;
  --surface: #ffffff;
  --line: #c8d9e0;
  --brand: #145f78;
  --brand-strong: #0f4658;
  --danger: #9d2f2f;
  --success: #0c8f5d;
  --warning: #e6a817;
  --shadow-sm: 0 2px 8px rgba(16, 40, 53, 0.06);
  --shadow-md: 0 8px 20px rgba(16, 40, 53, 0.1);
  --shadow-lg: 0 16px 36px rgba(16, 40, 53, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
}
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--ink-900);
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(20, 95, 120, 0.14),
      transparent 36%),
    radial-gradient(
      circle at 90% 0%,
      rgba(55, 130, 94, 0.12),
      transparent 34%),
    linear-gradient(
      180deg,
      var(--bg-accent),
      var(--bg-main));
  background-attachment: fixed;
  transition: background-color 0.3s, color 0.3s;
}
main {
  width: 100%;
  padding-bottom: 2rem;
}
footer {
  font-size: small;
  margin-top: auto;
  padding: 1.6rem;
  text-align: center;
  color: var(--ink-700);
}
a {
  color: var(--brand);
}
.page-error {
  overflow: hidden;
}
.page-error header,
.page-error footer {
  display: none;
}
.page-error main {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-error .wrapper {
  text-align: center;
}
.page-error .content {
  flex: 1;
  overflow: auto;
  color: var(--danger);
}
.page-error .title {
  font-size: 3.5rem;
}
.page-error .subtitle {
  font-size: 1.7rem;
  font-weight: 300;
}
.page-error .backBtn {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: bold;
  background-color: var(--ink-900);
  color: var(--surface);
  display: inline-block;
  margin-top: 2.5rem;
  cursor: pointer;
  border: none;
}
.page-dbstats table,
.page-dbstats th,
.page-dbstats td {
  border-collapse: collapse;
  border: 1px solid var(--line);
  padding: 0.6rem;
}
.page-dbstats table {
  width: 300px;
}
.page-dbstats td:first-child {
  width: 200px;
}
.page-dbstats td:nth-child(2) {
  text-align: center;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --bg-main: #0f1a22;
    --bg-accent: #142028;
    --ink-900: #e0e7ec;
    --ink-700: #a0b3bf;
    --ink-500: #7a95a5;
    --surface: #1a2a34;
    --line: #2a3d4a;
    --brand: #3ba5c9;
    --brand-strong: #2e8eaf;
    --danger: #e05555;
    --success: #2ec482;
    --warning: #f0c040;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.4);
  }
}
html.dark {
  --bg-main: #0f1a22;
  --bg-accent: #142028;
  --ink-900: #e0e7ec;
  --ink-700: #a0b3bf;
  --ink-500: #7a95a5;
  --surface: #1a2a34;
  --line: #2a3d4a;
  --brand: #3ba5c9;
  --brand-strong: #2e8eaf;
  --danger: #e05555;
  --success: #2ec482;
  --warning: #f0c040;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* ../web/app/css/nav.css */
nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1.2rem;
  box-shadow: var(--shadow-md);
  height: fit-content;
  margin: 0.8rem auto 1.8rem;
  width: min(1120px, calc(100% - 1.2rem));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
}
.nav-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--ink-700);
  transition: background 0.2s, color 0.2s;
  margin-left: auto;
  flex-shrink: 0;
}
.notification-bell-wrapper {
  position: relative;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-accent);
  color: var(--ink-900);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.nav-menu {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-menu > li > a {
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 600;
  border-radius: 999px;
  display: inline-block;
  font-size: 0.92rem;
  transition: background-color 0.2s, color 0.2s;
}
.nav-menu > li > a:hover {
  background-color: var(--brand);
  color: #fff;
}
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 0.7rem 1rem;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
    margin-top: 0.5rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu > li > a {
    display: block;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
  }
}

/* ../web/app/css/notification.css */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: none;
  align-items: center;
  padding: 15px 20px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
}
.notification.success {
  background-color: #28a745;
}
.notification.warning {
  background-color: #ffc107;
  color: #212529;
}
.notification.error {
  background-color: #dc3545;
}

/* ../web/app/css/card.css */
.card {
  box-shadow: 0 10px 39px 10px rgba(62, 66, 66, 0.22);
  background-color: #fff;
  color: #333;
  border-radius: 8px;
  padding: 2rem;
  width: min(80%, 900px);
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 480px) {
  .card {
    width: calc(100% - 1.4rem);
    padding: 1.2rem;
  }
}

/* ../web/app/css/form.css */
.form-container {
  width: 100%;
  max-width: 430px;
  padding: 1.4rem;
  background-color: var(--surface);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.auth-form {
  display: flex;
  flex-direction: column;
}
.form-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--ink-900);
}
.form-group {
  margin-bottom: 15px;
}
label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  display: block;
  color: var(--ink-700);
  font-weight: 600;
}
input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--surface);
  color: var(--ink-900);
  box-sizing: border-box;
}
input:focus,
textarea:focus {
  border-color: #247a97;
  box-shadow: 0 0 0 3px rgba(36, 122, 151, 0.16);
}
.form-button {
  width: 100%;
  padding: 11px;
  background-color: var(--brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.2s;
  font-weight: 700;
}
.form-button:hover {
  background-color: var(--brand-strong);
  transform: translateY(-1px);
}
.help-text {
  color: var(--danger);
  font-size: small;
  display: none;
  padding: 0.5rem;
}
.error {
  border-color: red !important;
}
.auth-link {
  margin-top: 1rem;
  text-align: center;
}
.form-button.btn-secondary {
  background-color: var(--bg-accent);
  color: var(--ink-900);
}
.form-button.btn-secondary:hover {
  background-color: #d5e1e8;
}
.form-button.btn-outline {
  background-color: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.form-button.btn-outline:hover {
  background-color: var(--brand);
  color: #fff;
}
.form-button.btn-danger {
  background-color: var(--danger);
}
.form-button.btn-danger:hover {
  background-color: #7b2323;
}
.form-button.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}
.form-button.btn-lg {
  padding: 14px 20px;
  font-size: 1.1rem;
}
.page-auth {
  background-color: var(--surface);
}
.page-auth header,
.page-auth footer {
  display: none;
}
.page-auth main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}
@media (max-width: 480px) {
  .form-container {
    min-width: 0;
    max-width: 100%;
    border-radius: 12px;
  }
}

/* ../web/app/css/auction.css */
.auction-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem 3rem;
}
.auction-page-header {
  padding: 1.5rem 0;
}
.auction-page-header > h1 {
  font-size: 2.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.auction-subtitle {
  color: #4d5b67;
}
.auction-status {
  display: inline-block;
  margin-top: 0.8rem;
}
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-live {
  background: #0c8f5d;
  color: #fff;
}
.badge-pending {
  background: #e6a817;
  color: #1a1a1a;
}
.badge-ended {
  background: #6b7280;
  color: #fff;
}
.badge-cancelled {
  background: #9d2f2f;
  color: #fff;
}
.auction-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1rem;
  margin: 0.5rem 0 1.5rem;
}
.auction-metric {
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}
.metric-value {
  margin-top: 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-900);
  transition: color 0.3s;
}
.countdown-warning {
  color: #c57b08 !important;
}
.countdown-danger {
  color: var(--danger) !important;
  animation: countdown-pulse 1s ease-in-out infinite;
}
@keyframes countdown-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes bid-slide-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
    background-color: rgba(20, 95, 120, 0.12);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    background-color: transparent;
  }
}
.bid-new td {
  animation: bid-slide-in 0.6s ease-out;
}
.auction-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 1rem;
}
.seller-layout {
  grid-template-columns: minmax(320px, 420px) 1fr;
  align-items: start;
}
.auction-bid-panel,
.auction-history-panel,
.auction-list-card,
.auction-empty,
.auction-error {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.auction-form {
  margin-top: 0.8rem;
}
.auction-winner {
  margin-top: 1rem;
  padding: 0.8rem;
  background: #0c8f5d;
  color: #fff;
  border-radius: 8px;
}
.auction-history-scroll {
  max-height: 420px;
  overflow: auto;
}
.auction-history-scroll table {
  width: 100%;
  border-collapse: collapse;
}
.auction-history-scroll th,
.auction-history-scroll td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  text-align: left;
}
.auction-filters {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.auction-search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink-900);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auction-search-input:focus {
  border-color: #247a97;
  box-shadow: 0 0 0 3px rgba(36, 122, 151, 0.16);
}
.auction-sort-select,
.auction-filter-select {
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink-900);
  outline: none;
  cursor: pointer;
}
.auction-price-filter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.auction-price-input {
  width: 110px;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink-900);
  outline: none;
}
.auction-price-input:focus {
  border-color: #247a97;
  box-shadow: 0 0 0 3px rgba(36, 122, 151, 0.16);
}
.price-separator {
  color: var(--ink-500);
  font-weight: 600;
}
.auction-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.auction-pagination button {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  transition: background-color 0.2s, color 0.2s;
}
.auction-pagination button:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.auction-pagination button.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.auction-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.auction-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.auction-product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid #d9e1e6;
}
.auction-list-meta {
  font-size: 0.9rem;
  color: var(--ink-700);
  margin: 0.4rem 0;
}
.auction-cta {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 0;
}
.auction-cta:hover {
  background: var(--brand-strong);
}
.btn-watch {
  background: #e7eff3;
  color: var(--brand);
  border: 2px solid var(--brand);
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  margin-top: 0.6rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-watch:hover {
  background: var(--brand);
  color: #fff;
}
.btn-watch.watching {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.upload-zone {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  overflow: hidden;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, var(--bg-main));
}
.upload-zone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.upload-zone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  color: var(--ink-500);
  pointer-events: none;
}
.upload-zone-placeholder svg {
  margin-bottom: 0.6rem;
}
.upload-zone-text {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-700);
}
.upload-zone-hint {
  font-size: 0.8rem;
  margin: 0.3rem 0 0;
  color: var(--ink-500);
}
.upload-zone-preview {
  position: relative;
}
.upload-zone-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.upload-zone-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s;
}
.upload-zone-remove:hover {
  background: var(--danger);
}
.upload-zone-progress {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.upload-zone-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.3s;
}
.seller-owner-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.seller-action-btn {
  border: 0;
  cursor: pointer;
  margin-top: 0;
}
.seller-cancel-btn {
  background: #9d2f2f;
}
.seller-cancel-btn:hover {
  background: #7b2323;
}
.auction-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.auction-grid-2 > * {
  min-width: 0;
}
.moderation-layout {
  grid-template-columns: 1.8fr 1fr;
  align-items: start;
}
.moderation-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.moderation-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.moderation-end-btn {
  background: #7b5217;
}
.moderation-end-btn:hover {
  background: #5e3e12;
}
.moderation-ban-btn {
  background: #84326d;
}
.moderation-ban-btn:hover {
  background: #662653;
}
.moderation-disabled-btn {
  opacity: 0.7;
  cursor: not-allowed;
}
.admin-user-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}
.admin-user-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
}
.profile-layout {
  grid-template-columns: minmax(260px, 360px) 1fr;
  align-items: start;
}
.profile-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}
.profile-logout-btn {
  background: #1f4c68;
  cursor: pointer;
}
.profile-logout-btn:hover {
  background: #17364b;
}
.app-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 26, 36, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1200;
}
.app-modal {
  width: min(560px, 100%);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.app-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.app-modal-head h3 {
  margin: 0;
  font-size: 1.2rem;
}
.app-modal-close {
  border: 0;
  background: var(--bg-accent);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.05rem;
}
.app-modal-description {
  margin: 0.3rem 0 0.9rem;
  color: var(--ink-700);
  font-size: 0.94rem;
}
.app-modal-form {
  display: grid;
  gap: 0.7rem;
}
.app-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.app-modal-btn {
  border: 0;
  border-radius: 9px;
  padding: 0.52rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.app-modal-btn-secondary {
  background: var(--bg-accent);
  color: var(--ink-900);
}
.app-modal-btn-primary {
  background: var(--brand);
  color: #fff;
}
.app-modal-btn-danger {
  background: var(--danger);
  color: #fff;
}
@media (max-width: 860px) {
  .auction-dashboard {
    grid-template-columns: 1fr 1fr;
  }
  .auction-layout {
    grid-template-columns: 1fr;
  }
  .auction-grid-2 {
    grid-template-columns: 1fr;
  }
  .moderation-layout {
    grid-template-columns: 1fr;
  }
  .profile-actions {
    justify-content: stretch;
  }
  .profile-logout-btn {
    width: 100%;
  }
}
@keyframes skeleton-pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
.skeleton {
  background:
    linear-gradient(
      110deg,
      #e4ecf0 30%,
      #f0f5f8 50%,
      #e4ecf0 70%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 6px;
}
.skeleton-text {
  height: 0.9rem;
  margin: 0.45rem 0;
  width: 75%;
}
.skeleton-text-sm {
  height: 0.75rem;
  margin: 0.35rem 0;
  width: 55%;
}
.skeleton-heading {
  height: 1.2rem;
  margin: 0.5rem 0;
  width: 60%;
}
.skeleton-img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}
.skeleton-btn {
  height: 2.4rem;
  width: 120px;
  border-radius: 10px;
  margin-top: 0.9rem;
}
.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.skeleton-metric {
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.skeleton-metric .skeleton-text-sm {
  width: 70%;
}
.skeleton-metric .skeleton-heading {
  width: 40%;
  height: 1.5rem;
  margin-top: 0.6rem;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.empty-state svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1.2rem;
  color: var(--ink-500);
}
.empty-state h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--ink-900);
}
.empty-state p {
  margin: 0 0 1.2rem;
  color: var(--ink-700);
  font-size: 0.92rem;
  max-width: 320px;
}
.empty-state .auction-cta {
  font-size: 0.9rem;
}
.auto-bid-panel {
  margin-top: 1.2rem;
  padding: 1rem;
  background: var(--bg-accent);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.auto-bid-panel h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-700);
}
.auto-bid-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  background: var(--surface);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
}
.auto-bid-active {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
}
.auto-bid-active .auto-bid-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  animation: countdown-pulse 2s ease-in-out infinite;
}
.auction-gallery {
  position: relative;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-track {
  display: flex;
  transition: transform 0.3s ease;
}
.gallery-track img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  flex-shrink: 0;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s;
}
.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.75);
}
.gallery-prev {
  left: 0.6rem;
}
.gallery-next {
  right: 0.6rem;
}
.gallery-thumbs {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}
.gallery-thumbs img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  opacity: 1;
  border-color: var(--brand);
}
.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.upload-grid-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.upload-grid-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}
.upload-grid-item .upload-zone-remove {
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
  top: 0.25rem;
  right: 0.25rem;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  text-align: center;
}
.stat-card .stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-900);
}
.stat-card .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  margin-top: 0.3rem;
}
.dashboard-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--line);
}
.dashboard-tab {
  padding: 0.7rem 1.2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.dashboard-tab:hover {
  color: var(--ink-900);
}
.dashboard-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.dashboard-tab-content {
  display: none;
}
.dashboard-tab-content.active {
  display: block;
}
.bid-winning {
  color: var(--success);
  font-weight: 700;
}
.bid-losing {
  color: var(--danger);
  font-weight: 700;
}
.notification-bell {
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-700);
  padding: 0.4rem;
  display: flex;
  align-items: center;
}
.notification-bell svg {
  width: 22px;
  height: 22px;
}
.notification-badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: none;
}
.notification-dropdown.open {
  display: block;
}
.notification-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s;
}
.notification-item:hover {
  background: var(--bg-accent);
}
.notification-item.unread {
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
}
.notification-item-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-900);
}
.notification-item-body {
  font-size: 0.82rem;
  color: var(--ink-700);
  margin-top: 0.15rem;
}
.notification-item-time {
  font-size: 0.75rem;
  color: var(--ink-500);
  margin-top: 0.2rem;
}
@media (max-width: 480px) {
  .auction-page {
    padding: 0.4rem 0.7rem 2rem;
  }
  .auction-page-header > h1 {
    font-size: 1.6rem;
  }
  .auction-dashboard {
    grid-template-columns: 1fr;
  }
  .auction-list-grid {
    grid-template-columns: 1fr;
  }
  .auction-bid-panel,
  .auction-history-panel,
  .auction-list-card,
  .auction-empty,
  .auction-error {
    padding: 0.8rem;
    border-radius: 10px;
  }
  .metric-value {
    font-size: 1.25rem;
  }
  .app-modal {
    width: 100%;
    border-radius: 10px;
  }
  .auction-price-filter {
    width: 100%;
  }
  .auction-price-input {
    flex: 1;
    width: auto;
  }
  .notification-dropdown {
    width: calc(100vw - 2rem);
    right: -0.5rem;
  }
  .dashboard-tabs {
    overflow-x: auto;
  }
  .gallery-track img {
    height: 220px;
  }
}

/* ../web/app/css/landing.css */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(20, 95, 120, 0.18),
      transparent 40%),
    radial-gradient(
      circle at 80% 10%,
      rgba(55, 130, 94, 0.14),
      transparent 38%);
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-strong);
}
.hero h1 span {
  color: var(--brand);
}
.hero p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--ink-700);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.landing-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.landing-btn:hover {
  transform: translateY(-2px);
}
.landing-btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.landing-btn-primary:hover {
  background: var(--brand-strong);
}
.landing-btn-outline {
  background: var(--surface);
  color: var(--brand);
  border: 2px solid var(--brand);
}
.landing-btn-outline:hover {
  background: var(--bg-accent);
}
.how {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.how h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  color: var(--brand-strong);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--bg-accent);
  color: var(--brand);
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.stats {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}
.stat-label {
  font-size: 0.88rem;
  color: var(--ink-700);
  margin-top: 0.3rem;
}
.landing-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-700);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.landing-footer a {
  color: var(--brand);
  text-decoration: none;
  margin: 0 0.6rem;
}
.landing-footer a:hover {
  text-decoration: underline;
}
.landing-footer .landing-copyright {
  margin-top: 0.8rem;
}
@media (max-width: 480px) {
  .hero {
    padding: 4rem 1.2rem 3rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-value {
    font-size: 1.6rem;
  }
}

/* ../web/app/css/styles.css */
/*# sourceMappingURL=styles.css.map */
