/**
 * account-settings.css
 * M4 Cluster 4: Account Settings Destination Page
 * Page-scoped styles for account-settings.php
 */

:root {
  --as-indigo-300: #737CBA;
  --as-indigo-800: #313E8B;
  --as-accent: #FF8A00;
  --as-accent-600: #e57c00;
  --as-green-500: #28BF07;
  --as-gray-100: #f8f9fb;
  --as-gray-200: #C3C9D6;
  --as-border: #eef1f6;
}

/* Section cards */
.as-section {
  border: 1px solid var(--as-border);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  margin-bottom: 20px;
}

.as-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.as-section-header .as-icon {
  font-size: 22px;
  color: var(--as-indigo-800);
  flex-shrink: 0;
}

.as-section-header h6 {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

.as-section-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Plan badge */
.as-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--as-indigo-300);
  color: #fff;
}

.as-plan-badge.tier-free { background: #6b7280; }
.as-plan-badge.tier-starter { background: var(--as-indigo-300); }
.as-plan-badge.tier-pro { background: var(--as-accent); }
.as-plan-badge.tier-vip { background: #7c3aed; }

/* Gated action */
.as-gated-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--as-border);
  border-radius: 12px;
  background: var(--as-gray-100);
  margin-bottom: 10px;
}

.as-gated-action .as-gated-label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.as-gated-action .as-gated-lock {
  font-size: 16px;
  color: var(--as-gray-200);
}

/* Placeholder section */
.as-placeholder-body {
  border: 1px dashed var(--as-gray-200);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: var(--as-gray-100);
}

.as-placeholder-body .as-placeholder-icon {
  font-size: 36px;
  color: var(--as-gray-200);
  margin-bottom: 8px;
}

.as-placeholder-body p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 12px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Notification link card */
.as-notif-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--as-border);
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}

.as-notif-link:hover {
  background: var(--as-gray-100);
  border-color: var(--as-indigo-300);
}

.as-notif-link .as-notif-link-icon {
  font-size: 28px;
  color: var(--as-indigo-800);
}

.as-notif-link .as-notif-link-text {
  flex: 1;
}

.as-notif-link .as-notif-link-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.as-notif-link .as-notif-link-text span {
  font-size: 12px;
  color: #6b7280;
}

.as-notif-link .as-notif-link-arrow {
  font-size: 18px;
  color: var(--as-gray-200);
}

/* Btn accent (consistent with profile page) */
.btn-as-accent {
  background: var(--as-accent);
  border-color: var(--as-accent);
  color: #fff;
}
.btn-as-accent:hover {
  background: var(--as-accent-600);
  border-color: var(--as-accent-600);
  color: #fff;
}

/* =========================================================================
   M4 C5: MOBILE RESPONSIVE
   ========================================================================= */

@media (max-width: 991.98px) {
  /* Right column stacks below left on tablet */
  .as-section { padding: 20px; }
}

@media (max-width: 575.98px) {
  .as-section { padding: 16px; }
  .as-section-header h6 { font-size: 15px; }
  .as-section-desc { font-size: 12px; }
  .as-plan-badge { font-size: 11px; padding: 3px 10px; }
  .as-placeholder-body { padding: 20px 12px; }
  .as-placeholder-body .placeholder-icon { font-size: 28px; }
  .as-notif-link { padding: 12px; }
  /* Ensure buttons have adequate touch targets */
  .as-section .btn { min-height: 44px; }
  .as-gated-action .btn { min-height: 44px; font-size: 13px; }
}
