@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Michroma&display=swap');

:root {
  --primary: #007bff;
  --primary-hover: #0062cc;
  --accent: #ff6b2c;
  --bg: #f4f8fd;
  --bg2: #eaf3ff;
  --card: #ffffff;
  --line: #dbe6f3;
  --text: #1e293b;
  --muted: #64748b;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #e11d48;
  --zalo: #0068ff;
  --r: 14px;
  --shadow: 0 2px 10px rgba(30, 64, 120, 0.06);
  --shadow-hover: 0 14px 32px rgba(51, 153, 255, 0.18);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --brand-grad: linear-gradient(120deg, #3EE8FF, #7C3AED 55%, #FF4FA3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--primary) 12%, #fff) 0, var(--bg) 360px);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

/* ==================== TOPBAR ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #007bff, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  font-family: 'Michroma', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0b1230;
  letter-spacing: 0.5px;
}

.brand-bars {
  display: flex;
  gap: 2px;
}

.brand-bars span {
  width: 3px;
  height: 12px;
  border-radius: 2px;
}
.brand-bars span:nth-child(1) { background: #007bff; }
.brand-bars span:nth-child(2) { background: #8b5cf6; }
.brand-bars span:nth-child(3) { background: #ff6b2c; }

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: #8b5cf6;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: var(--bg2);
  color: var(--primary);
}

.nav-zalo {
  background: rgba(0, 104, 255, 0.1);
  color: var(--zalo);
  border: 1px solid rgba(0, 104, 255, 0.2);
}

.nav-zalo:hover {
  background: var(--zalo);
  color: #fff;
}

.user-actions {
   position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}

.user-pill:hover {
  border-color: var(--primary);
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.user-balance {
  color: var(--bad);
  font-weight: 700;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  padding: 8px;
  display: none;
  z-index: 1001;
}

.user-dropdown.open {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--bg2);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

/* ==================== MARQUEE BAR ==================== */
.marquee-bar {
  background: var(--primary);
  color: #fff;
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.marquee-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.marquee-track {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==================== HERO SECTION ==================== */
.hero {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 18px;
}

.hero-banner {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #1e3a8a 0%, #090d16 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 310px;
  display: flex;
  align-items: center;
  padding: 32px;
  color: #fff;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #ff6b2c, #ff3b30);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: #38bdf8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-badge-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-badge-item i {
  color: #4ade80;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
  cursor: pointer;
  border: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
}

/* Right Tabs Card */
.hero-tabs-card {
  background: var(--card);
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tabs-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg2);
  padding: 6px;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 9px 10px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
}

.tab-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.policy-list li i {
  color: var(--ok);
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg2);
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 123, 255, 0.25);
}

/* ==================== SECTION HEADERS ==================== */
.section-block {
  margin-top: 32px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-bar {
  width: 5px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.section-title {
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.section-sub {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.view-all-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* ==================== ACCOUNT CARDS GRID ==================== */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.acc-card {
  background: var(--card);
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.acc-card:active,
.cat-card:active {
  transform: scale(0.985);
}

.acc-img-wrap {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: #1b2350;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vệt sáng lướt ngang qua ảnh sản phẩm khi hover (chuẩn aovgem.com) */
.acc-img-wrap::after,
.cat-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%);
  transform: translateX(-115%);
  transition: transform 0.7s var(--ease);
}

.acc-img-blur {
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.75) saturate(1.2);
  transform: scale(1.1);
}

.acc-img-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s;
}

.badge-code {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--bad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 7px;
}

.badge-new {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  background: linear-gradient(90deg, #ff6b2c, #f59e0b);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.acc-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.attrs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.attr-box {
  background: var(--bg2);
  border-radius: 8px;
  padding: 6px 8px;
  text-align: center;
}

.attr-label {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

.attr-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.acc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}

.price-col {
  display: flex;
  flex-direction: column;
}

.price-now {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--bad);
}

.price-old {
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: line-through;
}

.btn-detail {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s, background-color 0.18s;
}

.btn-detail::before,
.btn-cat::before,
.hero-cta::before,
.btn-buy-zalo::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 50%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
}

/* Mũi tên trượt ra khi di chuột vào thẻ Acc (chuẩn aovgem.com) */
.acc-card .btn-detail::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  display: inline-block;
  max-width: 0;
  opacity: 0;
  margin-left: -6px;
  transform: translateX(-6px);
  transition: all 0.25s var(--ease);
}

/* ==================== CATEGORY CARDS ==================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--card);
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.cat-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1e293b;
  overflow: hidden;
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s;
}

.cat-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bad);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.cat-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cat-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  transition: color 0.2s var(--ease);
}

.cat-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.cat-stats span strong {
  color: var(--text);
}

.cat-price-from {
  font-size: 13px;
  font-weight: 700;
  color: var(--ok);
}

.btn-cat {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  padding: 9px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s, background-color 0.18s;
}

.btn-cat i {
  transition: transform 0.25s var(--ease);
}

/* ==================== CATEGORY & FILTER PAGE ==================== */
.cat-hero {
  margin-top: 20px;
  background: radial-gradient(120% 140% at 0% 0%, #2a1065 0%, #140a3a 45%, #0b0620 100%);
  border-radius: var(--r);
  padding: 26px 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid transparent;
  background-clip: padding-box;
}

.cat-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3ee8ff, #7c3aed 50%, #ff4fa3);
}

.cat-hero-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cat-hero-sub {
  font-size: 13px;
  color: #cbd5e1;
}

.cat-hero-chips {
  display: flex;
  gap: 10px;
}

.stat-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.filters-bar {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto auto;
  gap: 10px;
  box-shadow: var(--shadow);
}

.filter-input,
.filter-select {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.filter-input:focus,
.filter-select:focus {
  border-color: var(--primary);
}

.btn-filter {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-reset {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

/* ==================== ACCOUNT DETAIL VIEW ==================== */
.breadcrumb {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb span {
  cursor: pointer;
}

.breadcrumb span:hover {
  color: var(--primary);
}

.detail-top-card {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.detail-main-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: #0f172a;
  cursor: zoom-in;
}

.detail-main-photo img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-pill {
  display: inline-flex;
  align-self: flex-start;
  background: var(--bg2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.detail-title {
  font-size: 22px;
  font-weight: 800;
}

.detail-price-box {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.detail-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--bad);
}

.attr-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.attr-row {
  background: var(--bg2);
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.attr-row span {
  font-size: 12px;
  color: var(--muted);
}

.attr-row strong {
  font-size: 14px;
  color: var(--text);
}

.btn-buy-zalo {
  background: linear-gradient(90deg, #0068ff, #0099ff);
  color: #fff;
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(0, 104, 255, 0.3);
  transition: 0.2s;
}

.btn-buy-zalo:hover {
  transform: translateY(-2px);
}

.warranty-note {
  background: var(--bg2);
  border-left: 4px solid var(--primary);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}

/* ==================== ADMIN PANEL MODAL ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: var(--r);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

/* ==================== FOOTER ==================== */
.footer {
  margin-top: auto;
  padding-top: 48px;
}

.footer-box {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 36px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Floating Zalo */
.float-zalo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--zalo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.45);
  z-index: 999;
  cursor: pointer;
  animation: pulseZalo 2s infinite;
}

@keyframes pulseZalo {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(0, 104, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 3000;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .acc-grid,
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters-bar {
    grid-template-columns: 1fr 1fr;
  }
  .detail-top-card {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .acc-grid,
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hero-title {
    font-size: 21px;
  }
}

/* ==================== HIỆU ỨNG HOVER SẢN PHẨM & NÚT (CHUẨN AOVGEM.COM) ==================== */
.nav-link:not(.nav-zalo) {
  position: relative;
}

.nav-link:not(.nav-zalo)::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 3px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand-grad);
  transition: left 0.25s var(--ease), right 0.25s var(--ease);
}

.hero-cta,
.btn-buy-zalo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@media (hover: hover) {
  /* 1. Thẻ Acc & Thẻ Danh mục:
     - Nhấc thẻ lên 6px
     - Đổi viền sang Gradient 3 màu (#3EE8FF -> #7C3AED -> #FF4FA3)
     - Đổ bóng phát sáng kép tím + xanh
  */
  .acc-card:hover,
  .cat-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand-grad) border-box;
    box-shadow: 0 18px 38px rgba(124, 58, 237, 0.18), 0 6px 14px rgba(51, 153, 255, 0.14);
  }

  /* 2. Ảnh sản phẩm phóng to nhẹ & tăng độ tươi màu khi lướt chuột vào */
  .acc-card:hover .acc-img-main,
  .cat-card:hover .cat-thumb img {
    transform: scale(1.07);
    filter: saturate(1.12);
  }

  /* 3. Vệt sáng trắng lướt chéo ngang qua ảnh sản phẩm (shine sweep) */
  .acc-card:hover .acc-img-wrap::after,
  .cat-card:hover .cat-thumb::after {
    transform: translateX(115%);
  }

  /* 4. Tiêu đề danh mục đổi màu xanh khi hover thẻ */
  .cat-card:hover .cat-name {
    color: var(--primary);
  }

  /* 5. Nút "Chi tiết" / "Xem tất cả" tự động trượt mũi tên ra + chạy vệt sáng ngang nút */
  .acc-card:hover .btn-detail::after {
    max-width: 1.2em;
    opacity: 1;
    margin-left: 0;
    transform: none;
  }

  .cat-card:hover .btn-cat i {
    transform: translateX(4px);
  }

  .acc-card:hover .btn-detail,
  .cat-card:hover .btn-cat {
    filter: brightness(1.1);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 38%, transparent);
  }

  .acc-card:hover .btn-detail::before,
  .cat-card:hover .btn-cat::before,
  .hero-cta:hover::before,
  .btn-buy-zalo:hover::before {
    left: 125%;
  }

  /* 6. Gạch chân Gradient chạy từ giữa ra 2 bên trên thanh Menu */
  .nav-link:not(.nav-zalo):hover::after {
    left: 12px;
    right: 12px;
  }

  /* 7. Link Xem tất cả & Footer dịch nhẹ sang phải */
  .view-all-link i {
    transition: transform 0.2s var(--ease);
  }
  .view-all-link:hover i {
    transform: translateX(4px);
  }
  .footer-links a {
    transition: transform 0.2s var(--ease), color 0.2s;
  }
  .footer-links a:hover {
    transform: translateX(4px);
  }

  /* 8. Nút Zalo nổi góc phải dừng nhịp thở và phóng to khi di chuột */
  .float-zalo:hover {
    animation-play-state: paused;
    transform: scale(1.12);
    box-shadow: 0 10px 26px rgba(15, 30, 60, 0.35);
  }
}

/* ==================== FULL-SCREEN ADMIN DASHBOARD (CHUẨN HARUSHOP ADMIN) ==================== */
.admin-layout {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: #141414;
  color: #f1f5f9;
  display: none;
  grid-template-columns: 240px 1fr;
  height: 100vh;
  overflow: hidden;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
}

.admin-layout.open {
  display: grid;
}

.admin-layout.light-mode {
  background: #f1f5f9;
  color: #0f172a;
}

/* Sidebar trái */
.adm-sidebar {
  background: #1c1c1c;
  border-right: 1px solid #2e2e2e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 12px;
  overflow-y: auto;
}

.admin-layout.light-mode .adm-sidebar {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
}

.adm-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adm-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #a1a1aa;
  cursor: pointer;
  transition: 0.18s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.admin-layout.light-mode .adm-nav-item {
  color: #475569;
}

.adm-nav-item:hover {
  background: #27272a;
  color: #ffffff;
}

.admin-layout.light-mode .adm-nav-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.adm-nav-item.active {
  background: #e5484d;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(229, 72, 77, 0.35);
}

.adm-sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #2e2e2e;
}

.admin-layout.light-mode .adm-sidebar-bottom {
  border-top-color: #e2e8f0;
}

.adm-btn-notify {
  background: #ea580c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.adm-btn-notify.off {
  background: #3f3f46;
  color: #d4d4d8;
}

.adm-btn-sub {
  background: #262626;
  color: #e4e4e7;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: 0.15s;
}

.admin-layout.light-mode .adm-btn-sub {
  background: #f8fafc;
  color: #1e293b;
  border-color: #cbd5e1;
}

.adm-btn-sub:hover {
  background: #323236;
}

/* Khu vực nội dung chính bên phải */
.adm-main {
  padding: 28px 34px;
  overflow-y: auto;
  height: 100vh;
}

.adm-page-title {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.adm-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.adm-select,
.adm-input {
  background: #1f1f1f;
  border: 1px solid #333333;
  color: #f1f5f9;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
}

.admin-layout.light-mode .adm-select,
.admin-layout.light-mode .adm-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.adm-select:focus,
.adm-input:focus {
  border-color: #e5484d;
}

.adm-table-card {
  background: #1c1c1c;
  border: 1px solid #2b2b2b;
  border-radius: 10px;
  overflow: hidden;
}

.admin-layout.light-mode .adm-table-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.adm-table th {
  background: #252525;
  color: #d4d4d8;
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #303030;
}

.admin-layout.light-mode .adm-table th {
  background: #f8fafc;
  color: #334155;
  border-bottom-color: #e2e8f0;
}

.adm-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #262626;
  color: #e4e4e7;
  vertical-align: middle;
}

.admin-layout.light-mode .adm-table td {
  border-bottom-color: #f1f5f9;
  color: #1e293b;
}

.adm-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.adm-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #9ca3af;
  font-size: 13px;
}

.adm-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.adm-stat-card {
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 20px;
}

.admin-layout.light-mode .adm-stat-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

.adm-stat-label {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 6px;
}

.adm-stat-val {
  font-size: 24px;
  font-weight: 800;
}

.adm-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.adm-badge.ok { background: rgba(22, 163, 74, 0.2); color: #4ade80; }
.adm-badge.warn { background: rgba(217, 119, 6, 0.2); color: #fbbf24; }
.adm-badge.bad { background: rgba(225, 29, 72, 0.2); color: #fb7185; }

.adm-btn-action {
  background: #e5484d;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.adm-btn-sm {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  color: #fff;
}

/* ==================== MULTI-PHOTO GALLERY & SOLD BADGES (CHUẨN AOVGEM.COM) ==================== */
.badge-sold-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-sold-pill {
  background: var(--bad);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.acc-photos-section {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow);
}

.acc-photos-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}

.ph-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f172a;
}

.ph-item img {
  width: 100%;
  max-height: 750px;
  object-fit: contain;
  margin: 0 auto;
  cursor: zoom-in;
}

.ph-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.promo-apply-box {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--bg2);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed #93c5fd;
}

.thumb-preview-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.thumb-preview-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #3f3f46;
}

.thumb-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-preview-item button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.9);
  color: #fff;
  border: none;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== AUTH MODAL (ĐĂNG NHẬP & TẠO TÀI KHOẢN MỚI) ==================== */
.auth-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-auth-outline {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: inherit;
  transition: 0.2s;
}

.btn-auth-outline:hover {
  background: var(--bg2);
}

.btn-auth-primary {
  background: linear-gradient(90deg, #0066ff, #0ea5e9);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
  transition: 0.2s;
}

.btn-auth-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
}

.auth-modal-card {
  max-width: 440px !important;
  padding: 26px !important;
  border-radius: 18px !important;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg2);
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.auth-tab-btn {
  padding: 10px 12px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}

.auth-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap i.field-ico {
  position: absolute;
  left: 12px;
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
}

.auth-input-wrap input {
  width: 100%;
  padding: 11px 38px 11px 36px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
  color: var(--text);
  transition: 0.2s;
}

.auth-input-wrap input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

.auth-eye-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.auth-error-box {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 9px;
  margin-bottom: 12px;
  display: none;
}

.auth-submit-btn {
  width: 100%;
  padding: 13px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(90deg, #0066ff, #0ea5e9);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
  transition: 0.2s;
}

.auth-submit-btn.reg {
  background: linear-gradient(90deg, #16a34a, #10b981);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.25);
}

.auth-submit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.auth-switch-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.auth-switch-hint a {
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.auth-switch-hint a:hover {
  text-decoration: underline;
}

/* ==================== TRANG ĐĂNG NHẬP & ĐĂNG KÝ TÁCH BIỆT (DARK NEON GRID STYLE) ==================== */
body.auth-screen-active .topbar,
body.auth-screen-active .marquee-bar,
body.auth-screen-active .footer,
body.auth-screen-active .float-zalo {
  display: none !important;
}

.auth-fullpage {
  min-height: 100vh;
  width: 100%;
  background-color: #080d14;
  background-image:
    radial-gradient(circle at 50% 20%, rgba(0, 229, 255, 0.08), transparent 55%),
    linear-gradient(to right, rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 38px 38px, 38px 38px;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.auth-dark-card {
  width: 100%;
  max-width: 420px;
  background: #111722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 34px 30px 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72), 0 0 40px rgba(0, 229, 255, 0.06);
}

.auth-neon-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.auth-neon-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(135deg, #00e5ff 0%, #fbbf24 50%, #ff2a85 100%);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.25), 0 0 24px rgba(255, 42, 133, 0.2);
}

.auth-neon-logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 19px;
  background: #0c121d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.auth-neon-brand-big {
  font-family: 'Michroma', sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #3ee8ff 20%, #ff58a6 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.auth-neon-brand-sub {
  font-size: 9.5px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 1px;
  margin-top: 6px;
}

.auth-cyan-title {
  text-align: center;
  font-size: 25px;
  font-weight: 800;
  color: #00e5ff;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.auth-dark-field {
  margin-bottom: 16px;
}

.auth-dark-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.auth-dark-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-dark-input-box input {
  width: 100%;
  background: #141c29;
  border: 1px solid #243044;
  color: #f1f5f9;
  padding: 13px 40px 13px 15px;
  border-radius: 11px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: 0.2s;
}

.auth-dark-input-box input::placeholder {
  color: #64748b;
}

.auth-dark-input-box input:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}

.auth-dark-eye {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.auth-dark-eye:hover {
  color: #00e5ff;
}

.auth-neon-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #00e5ff 0%, #3b82f6 45%, #ff2a85 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.22), 0 6px 20px rgba(255, 42, 133, 0.2);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.auth-neon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.auth-dark-links {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: #94a3b8;
}

.auth-dark-links a {
  color: #00e5ff;
  font-weight: 700;
  cursor: pointer;
}

.auth-dark-links a:hover {
  text-decoration: underline;
}

.auth-dark-error {
  display: none;
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.45);
  color: #fda4af;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.auth-dark-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.auth-dark-divider::before,
.auth-dark-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.google-btn-slot {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.auth-google-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 11px;
  border: 1px solid #2b384e;
  background: #172030;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s;
}

.auth-google-btn:hover {
  background: #1e293b;
  border-color: #00e5ff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}
