/* Account Dashboard Polish */

/* 1. Base Structure & Aesthetic */
.account-page .page-shell {
  padding-top: 1rem !important;
}

.account-dashboard {
  font-family: 'Inter', 'Roboto', sans-serif;
  color: #eaf0fb;
  max-width: 1080px !important;
  margin: 0 auto;
  padding-top: 0 !important;
}

.account-dashboard .eyebrow {
  color: #ff2d66;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.account-dashboard h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, #aab6cf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.account-dashboard .lead {
  font-size: 1.15rem;
  color: #92a2bd;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* 6. Refined Buttons */
.account-dashboard .secondary-action {
  background: rgba(255,255,255,0.08);
  border-color: transparent;
  backdrop-filter: blur(8px);
}

.account-dashboard .secondary-action:hover {
  background: rgba(255,255,255,0.12);
}

.account-dashboard .danger-lite {
  color: #ff4a4a;
  background: rgba(255, 74, 74, 0.1);
  border: 1px solid rgba(255, 74, 74, 0.2);
}

.account-dashboard .danger-lite:hover {
  background: rgba(255, 74, 74, 0.15);
  border-color: rgba(255, 74, 74, 0.4);
}

.danger-action {
  background: transparent;
  color: #ff2d66;
  border: 1px solid #ff2d66;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 45, 102, 0.1);
}

.danger-action:hover {
  background: rgba(255, 45, 102, 0.15);
  box-shadow: 0 6px 20px rgba(255, 45, 102, 0.25);
  transform: translateY(-1px);
}

/* 7. Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-panel.is-active {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 8. Layout Grids */
.account-zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .account-zone-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-activity-surface {
    grid-column: 1 / -1;
  }
}

.surface-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.surface-heading h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.account-filters {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 4px;
}

.account-filters button {
  background: transparent;
  border: none;
  color: #92a2bd;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-filters button.is-active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Session Card Formatting */
.session-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.session-list, .passkey-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.session-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; }
@media (min-width: 768px) { .session-card { flex-direction: row; align-items: center; justify-content: space-between; } }
.session-card > div { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.session-card strong { font-weight: 700; color: #fff; font-size: 1rem; }
.session-card span { color: #bec9e0; font-size: 0.85rem; word-break: break-word; line-height: 1.4; }
.session-card p { color: #92a2bd; font-size: 0.75rem; margin: 0; margin-top: 0.25rem; }
.session-card button { align-self: flex-start; }
@media (min-width: 768px) { .session-card button { align-self: center; } }

/* Viewport Centered Modals */
.global-modal {
  position: fixed !important;
  z-index: 100 !important;
}

/* Priority 4: Status Cards Polish */
.dashboard-card {
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  position: relative;
  text-decoration: none;
}
.dashboard-card.clickable-card {
  cursor: pointer;
}
.dashboard-card.clickable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.08);
}

/* Account Health Summary States */
.account-health-summary.active { color: #00c853; }
.account-health-summary.needs-attention { color: #ffb86c; }
.account-health-summary.limited { color: #ff9800; }
.account-health-summary.banned { color: #ff2d66; }

/* Priority 9: Premium Aura */
.premium-aura-container {
  position: relative;
}
.premium-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 45, 102, 0.15) 0%, rgba(138, 43, 226, 0.15) 50%, rgba(0, 0, 0, 0) 70%);
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
  animation: auraPulse 15s ease-in-out infinite alternate;
}
@keyframes auraPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.03; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.07; }
}
@media (prefers-reduced-motion: reduce) {
  .premium-aura { animation: none; }
}

/* Priority 10 & 12: Modal Consistency & Motion Glide */
.vyra-modal-card {
  width: 90%;
  max-width: 480px;
  margin: 0 auto;
  transition: all 200ms ease;
}
* {
  transition-duration: 200ms !important;
  transition-timing-function: ease !important;
}

/* Creator Onboarding Shared Styles */
.creator-onboarding-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .creator-onboarding-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.creator-form-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.6), rgba(15, 15, 15, 0.8));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
}

.creator-checklist-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2rem;
}

.creator-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.creator-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.creator-checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: #ff2b6f;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.creator-steps {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.creator-steps ol {
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.creator-steps li {
  margin-bottom: 0.5rem;
}

/* FAQ Accordion Styling */
.faq-grid {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
  gap: 24px;
}
@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: 250px 1fr;
    gap: 48px;
  }
}

.faq-category-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 100px;
}

.faq-category-nav a {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 200ms ease;
  font-weight: 600;
}

.faq-category-nav a:hover,
.faq-category-nav a.is-active {
  background: rgba(255, 43, 111, 0.1);
  color: #ff2b6f;
}

.faq-accordion-group {
  margin-bottom: 4rem;
}

.faq-accordion-group h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.faq-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 200ms ease;
}

.faq-details[open] {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 200ms ease, color 200ms ease;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover,
.faq-summary:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #ff2b6f;
  outline: none;
}

.faq-summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 200ms ease;
}

.faq-details[open] .faq-summary::after {
  transform: rotate(180deg);
  color: #ff2b6f;
}

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FAQ CTA Row */
.creator-faq-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.creator-faq-cta-row .btn-primary,
.creator-faq-cta-row .btn-secondary {
  min-height: 64px;
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .creator-faq-cta-row {
    flex-direction: column;
    gap: 16px;
  }

  .creator-faq-cta-row .btn-primary,
  .creator-faq-cta-row .btn-secondary {
    width: 100%;
    max-width: none;
  }
}
