/* ═══════════════════════════════════════════════════════════════
   PREMIUM ACCOUNT PAGES — Editorial Design System
   Login · Register · Forgotten · Reset · Password
   Matching Checkout & Category Aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─── */
:root {
  --acc-primary: #00aacc;
  --acc-primary-hover: #0097b2;
  --acc-primary-light: rgba(0, 170, 204, 0.06);
  --acc-primary-shadow: rgba(0, 170, 204, 0.18);
  --acc-dark: #1a1a1a;
  --acc-text: #333;
  --acc-text-muted: #777;
  --acc-text-light: #999;
  --acc-bg: #f8f9fa;
  --acc-surface: #ffffff;
  --acc-border: #e0e0e0;
  --acc-border-light: #eaeaea;
  --acc-radius: 14px;
  --acc-radius-sm: 10px;
  --acc-radius-xs: 8px;
  --acc-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --acc-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
  --acc-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --acc-error: #e53935;
  --acc-success: #16a34a;
}


/* ═══════════════════════════════════════════════════════════════
   2. PAGE WRAPPER
   ═══════════════════════════════════════════════════════════════ */
.acc-page {
  background: var(--acc-bg);
  min-height: 60vh;
  padding: 48px 0 80px;
  font-family: var(--acc-font);
}

@media (max-width: 767px) {
  .acc-page {
    padding: 24px 0 60px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   3. CARD CONTAINER
   ═══════════════════════════════════════════════════════════════ */
.acc-card {
  background: var(--acc-surface);
  border: 1px solid var(--acc-border-light);
  border-radius: var(--acc-radius);
  box-shadow: var(--acc-shadow);
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.acc-card--wide {
  max-width: 640px;
}

.acc-card--login {
  max-width: 920px;
  padding: 0;
  display: flex;
  overflow: hidden;
}

@media (max-width: 767px) {
  .acc-card {
    padding: 32px 24px;
    margin: 0 16px;
    border-radius: var(--acc-radius-sm);
  }

  .acc-card--login {
    flex-direction: column;
    padding: 0;
    margin: 0 16px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   4. LOGIN — SPLIT LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.acc-login-form-side {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.acc-login-cta-side {
  width: 340px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle accent glow on CTA side */
.acc-login-cta-side::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -40%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,170,204,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.acc-login-cta-side h2 {
  font-family: var(--acc-font);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.acc-login-cta-side p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}

.acc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: var(--acc-font);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

.acc-btn-ghost:hover {
  background: var(--acc-primary);
  border-color: var(--acc-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,170,204,0.3);
  text-decoration: none;
}

@media (max-width: 767px) {
  .acc-login-form-side {
    padding: 32px 24px;
  }

  .acc-login-cta-side {
    width: 100%;
    padding: 36px 24px;
    order: 2;
  }

  .acc-login-cta-side h2 {
    font-size: 22px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   5. HEADINGS & TEXT
   ═══════════════════════════════════════════════════════════════ */
.acc-title {
  font-family: var(--acc-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--acc-dark);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.acc-subtitle {
  font-family: var(--acc-font);
  font-size: 14px;
  color: var(--acc-text-muted);
  margin: 0 0 32px;
  line-height: 1.5;
}

.acc-section-title {
  font-family: var(--acc-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--acc-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 28px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--acc-border-light);
}

.acc-section-title:first-of-type {
  margin-top: 0;
}

@media (max-width: 767px) {
  .acc-title {
    font-size: 24px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   6. FORM FIELDS — FLOATING LABELS
   ═══════════════════════════════════════════════════════════════ */
.acc-field {
  position: relative;
  margin-bottom: 20px;
}

.acc-field input,
.acc-field select,
.acc-field textarea {
  width: 100%;
  height: 52px;
  padding: 22px 16px 8px 16px;
  background: var(--acc-surface);
  border: 1.5px solid var(--acc-border);
  border-radius: var(--acc-radius-sm);
  font-size: 14px;
  font-family: var(--acc-font);
  color: var(--acc-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  outline: none;
}

.acc-field textarea {
  height: auto;
  min-height: 100px;
  padding-top: 28px;
  resize: vertical;
}

.acc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b4b4b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.acc-field input:focus,
.acc-field select:focus,
.acc-field textarea:focus {
  border-color: var(--acc-primary);
  box-shadow: 0 0 0 3px var(--acc-primary-light);
}

/* Floating label */
.acc-field label {
  position: absolute;
  top: 18px;
  left: 16px;
  font-size: 14px;
  color: var(--acc-text-muted);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
  transform-origin: left top;
  z-index: 2;
  line-height: 1.2;
  background: transparent;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

/* Float up when focused or has content */
.acc-field input:focus + label,
.acc-field input:not(:placeholder-shown) + label,
.acc-field select:focus + label,
.acc-field select:not([value=""]) + label,
.acc-field textarea:focus + label,
.acc-field textarea:not(:placeholder-shown) + label,
.acc-field.has-content label {
  transform: translateY(-10px) scale(0.8);
  color: var(--acc-primary);
  font-weight: 600;
}

/* Error state */
.acc-field .acc-error {
  color: var(--acc-error);
  font-size: 12px;
  margin-top: 6px;
  font-family: var(--acc-font);
  display: flex;
  align-items: center;
  gap: 4px;
}

.acc-field.has-error input,
.acc-field.has-error select,
.acc-field.has-error textarea {
  border-color: var(--acc-error);
}

.acc-field.has-error input:focus,
.acc-field.has-error select:focus {
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

/* Required indicator */
.acc-field.required label::after {
  content: ' *';
  color: var(--acc-error);
}


/* ═══════════════════════════════════════════════════════════════
   7. BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: var(--acc-radius-sm);
  font-family: var(--acc-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  text-transform: none;
}

.acc-btn-primary {
  background: var(--acc-dark);
  color: #fff;
}

.acc-btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: #fff;
  text-decoration: none;
}

.acc-btn-primary:active {
  transform: scale(0.98);
}

.acc-btn-accent {
  background: var(--acc-primary);
  color: #fff;
}

.acc-btn-accent:hover {
  background: var(--acc-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--acc-primary-shadow);
  color: #fff;
  text-decoration: none;
}

.acc-btn-outline {
  background: transparent;
  color: var(--acc-dark);
  border: 1.5px solid var(--acc-border);
}

.acc-btn-outline:hover {
  border-color: var(--acc-primary);
  color: var(--acc-primary);
  background: var(--acc-primary-light);
  text-decoration: none;
}


/* ═══════════════════════════════════════════════════════════════
   8. LINKS & MISC
   ═══════════════════════════════════════════════════════════════ */
.acc-forgot-link {
  display: inline-block;
  font-size: 13px;
  color: var(--acc-primary);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.acc-forgot-link:hover {
  color: var(--acc-primary-hover);
  text-decoration: underline;
}

.acc-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--acc-text-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.acc-divider::before,
.acc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--acc-border-light);
}

.acc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acc-text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.acc-back-link:hover {
  color: var(--acc-dark);
  text-decoration: none;
}

.acc-bottom-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--acc-text-muted);
}

.acc-bottom-link a {
  color: var(--acc-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.acc-bottom-link a:hover {
  color: var(--acc-primary-hover);
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════
   9. ALERTS
   ═══════════════════════════════════════════════════════════════ */
.acc-alert {
  padding: 14px 18px;
  border-radius: var(--acc-radius-xs);
  font-size: 14px;
  font-family: var(--acc-font);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.acc-alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.acc-alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.acc-alert i {
  flex-shrink: 0;
  font-size: 16px;
}


/* ═══════════════════════════════════════════════════════════════
   10. CHECKBOX & RADIO
   ═══════════════════════════════════════════════════════════════ */
.acc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--acc-text);
  line-height: 1.5;
}

.acc-check input[type="checkbox"],
.acc-check input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--acc-primary);
  cursor: pointer;
}

.acc-check label {
  cursor: pointer;
  font-weight: 400;
}

.acc-check a {
  color: var(--acc-primary);
  text-decoration: underline;
}

.acc-radio-group {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.acc-radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--acc-text);
  cursor: pointer;
}

.acc-radio-item input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--acc-primary);
  cursor: pointer;
  margin: 0;
  padding: 0;
}


/* ═══════════════════════════════════════════════════════════════
   11. FORM ACTIONS ROW
   ═══════════════════════════════════════════════════════════════ */
.acc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.acc-actions-right {
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .acc-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .acc-actions .acc-btn {
    width: 100%;
  }

  .acc-actions .acc-back-link {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════════════
   12. REGISTER PAGE — TWO COLUMN FORM FIELDS
   ═══════════════════════════════════════════════════════════════ */
.acc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 575px) {
  .acc-form-row {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════════
   13. CUSTOMER GROUP — HIDDEN IF SINGLE
   ═══════════════════════════════════════════════════════════════ */
.acc-customer-group {
  margin-bottom: 20px;
}

.acc-customer-group label {
  position: static;
  font-size: 14px;
  color: var(--acc-text);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  pointer-events: auto;
  transform: none;
}


/* ═══════════════════════════════════════════════════════════════
   14. ICON DECORATION
   ═══════════════════════════════════════════════════════════════ */
.acc-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--acc-primary-light);
  border: 2px solid var(--acc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--acc-primary);
  font-size: 22px;
}


/* ═══════════════════════════════════════════════════════════════
   15. PASSWORD STRENGTH INDICATOR
   ═══════════════════════════════════════════════════════════════ */
.acc-pwd-strength {
  height: 3px;
  border-radius: 999px;
  background: var(--acc-border-light);
  margin-top: 8px;
  overflow: hidden;
}

.acc-pwd-strength-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0;
}


/* ═══════════════════════════════════════════════════════════════
   16. ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes accFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.acc-card {
  animation: accFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.acc-field {
  animation: accFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.acc-field:nth-child(1) { animation-delay: 0.05s; }
.acc-field:nth-child(2) { animation-delay: 0.1s; }
.acc-field:nth-child(3) { animation-delay: 0.15s; }
.acc-field:nth-child(4) { animation-delay: 0.2s; }
.acc-field:nth-child(5) { animation-delay: 0.25s; }
.acc-field:nth-child(6) { animation-delay: 0.3s; }


/* ═══════════════════════════════════════════════════════════════
   17. RESPONSIVE FINE-TUNING
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .acc-card--login {
    max-width: 480px;
  }

  .acc-login-cta-side {
    width: 100%;
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  .acc-card--wide {
    max-width: 100%;
  }

  .acc-section-title {
    font-size: 13px;
  }

  .acc-form-row {
    gap: 0;
  }
}


/* ═══════════════════════════════════════════════════════════════
   18. OVERRIDE OLD vvslogin STYLES
   Prevent legacy CSS from bleeding into new design
   ═══════════════════════════════════════════════════════════════ */
.acc-page .vvslogin,
.acc-page .form-container,
.acc-page .overlay-container,
.acc-page .overlay,
.acc-page .overlay-panel,
.acc-page .loginButton,
.acc-page .sign-in-container,
.acc-page .sign-up-container {
  all: unset;
  display: block;
}

/* Ensure acc-page inputs override vvslogin input styles */
.acc-page input,
.acc-page select,
.acc-page textarea {
  background-color: var(--acc-surface) !important;
}

.acc-page .acc-field input {
  border: 1.5px solid var(--acc-border) !important;
  padding: 22px 16px 8px 16px !important;
  margin: 0 !important;
  background-color: var(--acc-surface) !important;
}

.acc-page .acc-field input:focus {
  border-color: var(--acc-primary) !important;
  box-shadow: 0 0 0 3px var(--acc-primary-light) !important;
}

/* Override Bootstrap .form-control defaults */
.acc-page .acc-field .form-control {
  height: 52px !important;
  border: 1.5px solid var(--acc-border) !important;
  border-radius: var(--acc-radius-sm) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  padding: 22px 16px 8px 16px !important;
}

.acc-page .acc-field .form-control:focus {
  border-color: var(--acc-primary) !important;
  box-shadow: 0 0 0 3px var(--acc-primary-light) !important;
}

/* Reset #content min-height inside account pages */
.acc-page #content {
  min-height: unset !important;
}

/* Breadcrumb separator fix for account pages */
.acc-page .fg-product-detail-breadcrumb ol li + li::before {
  content: '›';
  font-size: 16px;
  color: var(--acc-text-light);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════
   CAPTCHA FIX — basic.twig yapısı:
   fieldset > .form-group.required > label + .col-sm-12.d-flex > input + img
   ═══════════════════════════════════════════════════════════════ */
.acc-page fieldset > .form-group.required {
  margin-bottom: 20px;
}

.acc-page fieldset > .form-group.required > .col-sm-12.d-flex {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}

.acc-page fieldset > .form-group.required > label[for="input-captcha"] {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--acc-text);
  margin-bottom: 8px;
}

.acc-page #input-captcha {
  height: 52px !important;
  border: 1.5px solid var(--acc-border) !important;
  border-radius: var(--acc-radius-sm) !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  flex: 1 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.acc-page #input-captcha:focus {
  border-color: var(--acc-primary) !important;
  box-shadow: 0 0 0 3px var(--acc-primary-light) !important;
}

.acc-page .form-group img[src*="captcha"] {
  height: 52px;
  width: auto;
  border-radius: var(--acc-radius-xs);
  border: 1px solid var(--acc-border);
  flex-shrink: 0;
  object-fit: contain;
}

/* Google reCAPTCHA spacing */
.acc-page .g-recaptcha {
  margin-bottom: 20px;
}


/* ═══════════════════════════════════════════════════════════════
   19. DASHBOARD — STAT CARDS
   ═══════════════════════════════════════════════════════════════ */
.acc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .acc-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
}

.acc-stat-card {
  background: var(--acc-surface);
  border: 1px solid var(--acc-border-light);
  border-radius: var(--acc-radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.acc-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--acc-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.acc-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--acc-shadow-hover);
  border-color: transparent;
  text-decoration: none;
}

.acc-stat-card:hover::before {
  transform: scaleX(1);
}

.acc-stat-number {
  font-family: var(--acc-font);
  font-size: 36px;
  font-weight: 800;
  color: var(--acc-dark);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.acc-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--acc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.acc-stat-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--acc-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════════════════
   20. DASHBOARD — QUICK LINKS GRID
   ═══════════════════════════════════════════════════════════════ */
.acc-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .acc-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .acc-links-grid {
    grid-template-columns: 1fr;
  }
}

.acc-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--acc-surface);
  border: 1px solid var(--acc-border-light);
  border-radius: var(--acc-radius);
  text-decoration: none;
  color: var(--acc-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.acc-link-card:hover {
  border-color: var(--acc-primary);
  background: var(--acc-primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--acc-primary-shadow);
  text-decoration: none;
  color: var(--acc-primary);
}

.acc-link-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--acc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--acc-dark);
  transition: all 0.3s ease;
  border: 1.5px solid var(--acc-border-light);
}

.acc-link-card:hover .acc-link-icon {
  background: var(--acc-primary);
  color: #fff;
  border-color: var(--acc-primary);
}

.acc-link-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.acc-link-card--danger .acc-link-icon {
  color: var(--acc-error);
}

.acc-link-card--danger:hover {
  border-color: var(--acc-error);
  background: #fef2f2;
}

.acc-link-card--danger:hover .acc-link-icon {
  background: var(--acc-error);
  color: #fff;
  border-color: var(--acc-error);
}


/* ═══════════════════════════════════════════════════════════════
   21. PREMIUM TABLE
   ═══════════════════════════════════════════════════════════════ */
.acc-table-wrap {
  background: var(--acc-surface);
  border: 1px solid var(--acc-border-light);
  border-radius: var(--acc-radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.acc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--acc-font);
  font-size: 14px;
}

.acc-table thead {
  background: var(--acc-dark);
  color: #fff;
}

.acc-table thead th,
.acc-table thead td {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: none;
  color: #fff;
}

.acc-table tbody tr {
  border-bottom: 1px solid var(--acc-border-light);
  transition: background 0.15s ease;
}

.acc-table tbody tr:last-child {
  border-bottom: none;
}

.acc-table tbody tr:hover {
  background: var(--acc-primary-light);
}

.acc-table tbody td {
  padding: 14px 18px;
  vertical-align: middle;
  color: var(--acc-text);
}

.acc-table tfoot td {
  padding: 14px 18px;
  font-weight: 600;
  border-top: 2px solid var(--acc-border-light);
}

.acc-table .acc-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--acc-primary-light);
  color: var(--acc-primary);
}

.acc-table .btn-sm {
  padding: 6px 14px;
  border-radius: var(--acc-radius-xs);
  font-size: 12px;
  font-weight: 600;
  border: none;
  transition: all 0.2s;
}

.acc-table .btn-view {
  background: var(--acc-dark);
  color: #fff;
}

.acc-table .btn-view:hover {
  background: #000;
}

.acc-table .btn-action {
  background: var(--acc-primary);
  color: #fff;
}

.acc-table .btn-action:hover {
  background: var(--acc-primary-hover);
}

.acc-table .btn-remove {
  background: var(--acc-error);
  color: #fff;
}

.acc-table .btn-remove:hover {
  background: #c62828;
}

/* Table responsive */
@media (max-width: 767px) {
  .acc-table thead {
    display: none;
  }

  .acc-table tbody tr {
    display: block;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--acc-border-light);
    border-radius: var(--acc-radius-sm);
  }

  .acc-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border: none;
  }

  .acc-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--acc-dark);
    margin-right: 12px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   22. ADDRESS CARDS
   ═══════════════════════════════════════════════════════════════ */
.acc-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.acc-address-card {
  background: var(--acc-surface);
  border: 1px solid var(--acc-border-light);
  border-radius: var(--acc-radius);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.2s ease;
}

.acc-address-card:hover {
  border-color: var(--acc-primary);
  box-shadow: var(--acc-shadow);
}

.acc-address-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--acc-text);
}

.acc-address-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.acc-address-actions .acc-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--acc-radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid var(--acc-border);
  background: var(--acc-surface);
  color: var(--acc-text);
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.acc-address-actions .acc-btn-icon:hover {
  background: var(--acc-dark);
  color: #fff;
  border-color: var(--acc-dark);
}

.acc-address-actions .acc-btn-icon--danger:hover {
  background: var(--acc-error);
  border-color: var(--acc-error);
}


/* ═══════════════════════════════════════════════════════════════
   23. EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */
.acc-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--acc-text-muted);
  font-size: 15px;
  font-family: var(--acc-font);
}

.acc-empty-icon {
  font-size: 48px;
  color: var(--acc-border);
  margin-bottom: 16px;
}


/* ═══════════════════════════════════════════════════════════════
   24. ORDER DETAIL SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.acc-order-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 575px) {
  .acc-order-meta {
    grid-template-columns: 1fr;
  }
}

.acc-order-meta-card {
  background: var(--acc-bg);
  border: 1px solid var(--acc-border-light);
  border-radius: var(--acc-radius-sm);
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.acc-order-meta-card b {
  color: var(--acc-dark);
}


/* ═══════════════════════════════════════════════════════════════
   25. PAGINATION
   ═══════════════════════════════════════════════════════════════ */
.acc-pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.acc-pagination-row .pagination {
  margin: 0;
}

.acc-pagination-row .results {
  font-size: 13px;
  color: var(--acc-text-muted);
}


/* ═══════════════════════════════════════════════════════════════
   26. FULL-WIDTH CARD WRAPPER
   ═══════════════════════════════════════════════════════════════ */
.acc-card--full {
  max-width: 100%;
  padding: 40px;
}

@media (max-width: 767px) {
  .acc-card--full {
    padding: 24px 16px;
    margin: 0;
    border-radius: var(--acc-radius-sm);
  }
}


/* ═══════════════════════════════════════════════════════════════
   27. WISHLIST IMAGE
   ═══════════════════════════════════════════════════════════════ */
.acc-table .acc-thumb {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--acc-radius-xs);
  border: 1px solid var(--acc-border-light);
  background: var(--acc-bg);
}


/* ═══════════════════════════════════════════════════════════════
   28. DASHBOARD SECTION TITLE
   ═══════════════════════════════════════════════════════════════ */
.acc-dash-section {
  font-family: var(--acc-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--acc-dark);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--acc-border-light);
  letter-spacing: -0.01em;
}
