/**
 * Layout & Component Styles
 * 
 * Purpose: Modern CSS layout system with Flexbox/Grid for semantic HTML structure
 * Dependencies: styleglass.css for glassmorphism effects and design tokens
 * Architecture: ITCSS methodology with BEM-Lite naming
 * 
 * Layer Order:
 *   1. Settings (CSS variables)
 *   2. Layout structures (l- prefix)
 *   3. Sections (s- prefix)
 *   4. Components (c- prefix)
 *   5. Utilities & modifiers
 * 
 * @requires styleglass.css
 * @version 2.0
 * @updated 2026-01-21
 */

/* ==========================================================================
   Settings - CSS Variables & Design Tokens
   ========================================================================== */

:root {
  /* Layout constraints */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
  
  /* Spacing scale (inherited from styleglass, defined here for clarity) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ==========================================================================
   Layout Utilities (l- prefix)
   ========================================================================== */

/**
 * Container
 * 
 * Purpose: Max-width container with responsive padding
 * Usage: Wrap section content to constrain width and center
 */
.l-container {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/**
 * Grid layout utilities
 * 
 * Purpose: Reusable grid column count modifiers
 * Usage: <div class="l-grid l-grid--3-cols">...</div>
 */
.l-grid {
  display: grid;
  gap: var(--space-lg);
}

.l-grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.l-grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.l-grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive: collapse to single column on mobile */
@media (max-width: 767px) {
  .l-grid--2-cols,
  .l-grid--3-cols,
  .l-grid--4-cols {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  padding: 2rem 0;
  
}

.header--compact {
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}

.header__brand {
  text-align: center;
}

.header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.header__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-mid, #a0aec0);
  margin: 0;
  font-weight: 400;
}

.header__nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.c-back-link {
  color: var(--color-primary, #38bdf8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.c-back-link:hover,
.c-back-link:focus {
  color: var(--color-secondary, #818cf8);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  text-align: center;
}

.footer__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.footer__tagline {
  font-size: 1rem;
  color: var(--text-mid, #a0aec0);
  margin: 0 0 1rem 0;
}

.footer__description {
  font-size: 0.875rem;
  color: var(--text-mid, #a0aec0);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.footer__link {
  color: var(--text-high, #e2e8f0);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer__link:hover,
.footer__link:focus {
  color: var(--color-primary, #38bdf8);
}

.footer__bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--text-low, #64748b);
}

/* ==========================================================================
   Sections (s- prefix)
   ========================================================================== */

.s-hero {
  /* Box Model */
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl) 0;

  /* Background */
  /* Uses CSS var for easy swapping; defaults provided below */
  background-image: var(--hero-bg-image, url('/images/hero-lowres.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/**
 * Utility: Full-bleed section background
 * 
 * Purpose: Make any section span edge-to-edge while keeping inner content
 *          constrained via `.l-container`.
 * Usage: <section class="s-hero u-fullbleed"><div class="l-container">...</div></section>
 */
.u-fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Honeypot field for spam bots */
.u-form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
  visibility: hidden;
}

/* Optional high-res override for capable displays */
@media (min-width: 1024px) and (min-resolution: 192dpi) {
  .s-hero {
    background-image: var(--hero-bg-image-hires, url('/images/hero-highres.png'));
  }
}

/* Contrast overlay for readability over image */
.s-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.25)
  );
  pointer-events: none;
}

/* Ensure inner content sits above overlay */
.s-hero > * {
  position: relative;
  z-index: 1;
}

.s-mission {
  margin: var(--space-3xl) 0;
  padding: var(--space-xl);
}

.s-mission__header {
  margin-bottom: var(--space-lg);
}

.s-mission__title {
  /* Typography */
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  
  /* Box Model */
  margin: 0 0 var(--space-md) 0;
}

.s-mission__content {
  /* Box Model */
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.s-mission__description {
  /* Typography */
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-mid, #cbd5e1);
  
  /* Box Model */
  margin: 0;
}

.s-mission__subtitle {
  /* Typography */
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-high, #f1f5f9);
  
  /* Box Model */
  margin: 0 0 var(--space-md) 0;
}

.s-mission__beliefs {
  /* Box Model */
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  
  /* Reset */
  list-style: none;
}

.s-mission__belief {
  /* Typography */
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid, #cbd5e1);
  
  /* Box Model */
  padding-left: var(--space-lg);
  position: relative;
}

.s-mission__belief::before {
  content: "✓";
  
  /* Positioning */
  position: absolute;
  left: 0;
  
  /* Typography */
  color: var(--accent-gold, #fbbf24);
  font-weight: 700;
}

.s-mission__belief-title {
  /* Typography */
  color: var(--text-high, #f1f5f9);
  font-weight: 600;
}

.s-mission__promise {
  /* Box Model */
  padding: var(--space-lg);
  border-left: 3px solid var(--color-primary, #38bdf8);
  background: rgba(56, 189, 248, 0.05);
}

.s-mission__promise-text {
  /* Typography */
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-high, #f1f5f9);
  
  /* Box Model */
  margin: 0;
}

.s-donation {
  /* Box Model */
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl);
  text-align: center;
}

.s-donation__header {
  margin-bottom: var(--space-lg);
}

.s-donation__title {
  /* Typography */
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  
  /* Box Model */
  margin: 0 0 var(--space-md) 0;
}

.s-donation__description {
  /* Typography */
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid, #cbd5e1);
  
  /* Box Model */
  max-width: 600px;
  margin: 0 auto var(--space-lg) auto;
}

.s-donation__actions {
  /* Box Model */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.s-subscription {
  margin: 3rem 0;
  padding: 2.5rem;
}

.s-subscription__header {
  text-align: center;
  margin-bottom: 2rem;
}

.s-subscription__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 1rem 0;
  font-weight: 700;
}

.s-subscription__intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-mid, #cbd5e1);
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.s-subscription__cta {
  text-align: center;
  margin-top: 2rem;
}

.s-subscription__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-low, #94a3b8);
}

.s-discussion {
  margin: 3rem 0;
  padding: 2.5rem;
}

.s-discussion__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem 0;
  font-weight: 700;
}

.s-discussion__intro {
  font-size: 1rem;
  color: var(--text-mid, #cbd5e1);
  margin: 0 0 1.5rem 0;
}

/* ==========================================================================
   Components (c- prefix)
   ========================================================================== */

/**
 * Daily Card Component
 * 
 * Purpose: Displays the daily devotional article with title, date, and CTA
 * Dependencies: styleglass.css for .glass-panel and .accent-top
 * 
 * Structure:
 *   .c-daily-card
 *     .c-daily-card__header
 *       .c-daily-card__date
 *       .c-daily-card__title
 *     .c-daily-card__teaser
 *     .c-daily-card__cta
 * 
 * @accessibility Ensure title is h1 for main page heading
 */
.c-daily-card {
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.c-daily-card__header {
  margin-bottom: var(--space-lg);
}

.c-daily-card__date {
  /* Typography */
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-low, #94a3b8);
  
  /* Box Model */
  margin: 0 0 var(--space-sm) 0;
}

.c-daily-card__title {
  /* Typography */
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  
  /* Box Model */
  margin: 0;
}

.c-daily-card__teaser {
  /* Typography */
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-high, #cbd5e1);
  
  /* Box Model */
  margin: var(--space-md) 0 var(--space-lg) 0;
}

.c-daily-card__teaser p {
  margin: 0;
}

.c-daily-card__cta {
  /* Box Model */
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

/**
 * News Headlines Component
 * 
 * Purpose: Displays related news headlines in a compact list
 * Dependencies: styleglass.css for .glass-list-item hover effects
 * 
 * Structure:
 *   .c-news-headlines
 *     .c-news-headlines__label
 *     .c-news-headlines__list
 *       .c-headline-item
 * 
 * @accessibility Use semantic ul/li elements with role="list"
 */
.c-news-headlines {
  margin: var(--space-xl) 0;
}

.c-news-headlines__label {
  /* Typography */
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold, #fbbf24);
  
  /* Box Model */
  display: block;
  margin: 0 0 var(--space-md) 0;
}

.c-news-headlines__list {
  /* Box Model */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  
  /* Reset */
  list-style: none;
}

.c-headline-item {
  /* Box Model */
  padding: var(--space-md) 1.25rem;
  
  /* Animation */
  transition: all var(--transition-base);
  cursor: pointer;
}

.c-headline-item__title {
  /* Typography */
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-high, #f1f5f9);
  
  /* Box Model */
  margin: 0;
}

.c-headline-item__link {
  /* Typography */
  color: var(--text-high, #f1f5f9);
  text-decoration: none;
  
  /* Animation */
  transition: color var(--transition-fast);
}

.c-headline-item__link:hover,
.c-headline-item__link:focus {
  color: var(--color-primary, #38bdf8);
}

.c-headline-item__text {
  /* Typography */
  color: var(--text-high, #f1f5f9);
}

/* Scripture Box Component */
.c-scripture-box {
  padding: 2rem;
  margin: 2rem 0;
  font-style: italic;
}

.c-scripture-box__text {
  margin: 0 0 1rem 0;
}

.c-scripture-box__text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-high, #f1f5f9);
  margin: 0;
}

.c-scripture-box__ref {
  display: block;
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-mid, #cbd5e1);
  font-weight: 500;
}

.c-scripture-box__link {
  color: var(--color-primary, #38bdf8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.c-scripture-box__link:hover,
.c-scripture-box__link:focus {
  color: var(--color-secondary, #818cf8);
  text-decoration: underline;
}

/* Feature List Component */
.c-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;

}

.c-feature-list__item {
  display: flex;
  align-items: flex-start;
  justify-self: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-mid, #cbd5e1);
}

/* ==========================================================================
   Dashboard & Admin components
   ========================================================================== */

.s-dashboard {
  margin: 3rem 0;
  padding: 2.5rem 0;
}

/* Tabs */
.c-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin: 0 0 var(--space-lg) 0;
}

.c-tabs__button {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-high);
  font-weight: 600;
  cursor: pointer;
}

.c-tabs__button.is-active {
  background: var(--color-primary);
  color: #000;
  border-color: transparent;
}

/* Tab content visibility */
.admin-tab-content { display: none; margin-top: var(--space-lg); }
.admin-tab-content.active { display: block; }

/* Tables */
.c-table-wrap { width: 100%; overflow-x: auto; }
.c-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.c-table thead th {
  text-align: left;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.c-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--text-mid, #cbd5e1);
}
.c-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

/* Badges */
.c-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
}
.c-badge--active { background: rgba(56,189,248,0.15); color: #38bdf8; }
.c-badge--inactive { background: rgba(248,113,113,0.12); color: #f87171; }
.c-badge--verified { background: rgba(74,222,128,0.15); color: #4ade80; }
.c-badge--unverified { background: rgba(248,113,113,0.15); color: #f87171; }
.c-badge--completed { background: rgba(74,222,128,0.15); color: #4ade80; }
.c-badge--failed { background: rgba(248,113,113,0.15); color: #f87171; }
.c-badge--pending { background: rgba(129,140,248,0.15); color: #818cf8; }

/* Collapsible helper */
.c-collapsible { display: none; margin-top: var(--space-md); }
.c-collapsible.show { display: block; }

.c-feature-list__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold, #fbbf24);
  font-weight: 700;
  font-size: 1.125rem;
}

/* Question List Component */
.c-question-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.c-question-list__item {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid, #cbd5e1);
  padding-left: 0.5rem;
}

.c-question-list__item::marker {
  color: var(--color-primary, #38bdf8);
  font-weight: 600;
}

/* News Context Component */
.c-news-context {
  padding: 2rem;
  margin: 2rem 0;
}

.c-news-context__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
}

.c-headlines-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Button Component & Modifiers
   ========================================================================== */

/**
 * Button modifiers
 * 
 * Purpose: Style variations for button component
 * Dependencies: Base .btn class from styleglass.css
 * 
 * Modifiers:
 *   --primary: Primary action button with gradient
 *   --large: Increased size for prominent CTAs
 */
.btn--primary {
  /* Visual */
  background: linear-gradient(135deg, var(--color-primary, #38bdf8), var(--color-secondary, #818cf8));
  color: #fff;
  border: none;
}

.btn--large {
  /* Box Model */
  padding: var(--space-md) var(--space-xl);
  
  /* Typography */
  font-size: 1.125rem;
  font-weight: 600;
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/**
 * Mobile-first responsive adjustments
 * Breakpoints: 768px (tablet), 1024px (desktop)
 */

/* Tablet and above */
@media (min-width: 768px) {
  .header--compact .l-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header--compact .header__brand {
    text-align: left;
  }

  .header--compact .header__nav {
    margin-top: 0;
  }

  .footer__main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__brand {
    flex: 1;
    text-align: left;
  }

  .footer__description {
    margin: 0;
  }

  .s-donation__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .c-feature-list {
    grid-template-columns: 1fr;
  }

  .l-container {
    padding: 0 var(--space-md);
  }

  .c-daily-card,
  .s-mission,
  .s-donation,
  .s-subscription,
  .s-discussion,
  .c-news-context,
  .c-scripture-box {
    padding: var(--space-lg);
  }
}

/* ==========================================================================
   Utility Overrides
   ========================================================================== */

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary, #38bdf8), var(--color-secondary, #818cf8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Login & Auth Section
   ========================================================================== */

.u-fullscreen {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
}

/**
 * Login Card Component
 * 
 * Purpose: Centered card for authentication forms
 * Usage: Use within s-login with u-fullscreen
 */
.c-login-card {
  width: 100%;
  max-width: 400px;
  padding: var(--space-xl);
}

.c-login-card__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.c-login-card__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 var(--space-sm) 0;
}

.c-login-card__subtitle {
  font-size: 0.9375rem;
  color: var(--text-mid, #cbd5e1);
  margin: 0;
}

.c-login-card__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.c-login-card__footer {
  text-align: center;
  margin: var(--space-md) 0;
}

.c-login-card__provider {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-low, #94a3b8);
  margin: var(--space-md) 0 0 0;
}

/**
 * Form Components
 */
.c-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.c-form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-high, #f1f5f9);
}

.c-input {
  padding: 0.75rem var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-high, #f1f5f9);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}

.c-input:focus {
  outline: none;
  border-color: var(--color-primary, #38bdf8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.c-input::placeholder {
  color: var(--text-low, #94a3b8);
}

/**
 * Alert Components
 */
.c-alert {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.c-alert--success {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.c-alert--error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

/**
 * Modal Components
 */
.c-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.c-modal.show {
  display: flex;
}

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.c-modal__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 450px;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.c-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.c-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-high, #f1f5f9);
}

.c-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-mid, #cbd5e1);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.c-modal__close:hover {
  color: var(--text-high, #f1f5f9);
}

.c-modal__description {
  font-size: 0.9375rem;
  color: var(--text-mid, #cbd5e1);
  margin: 0 0 var(--space-md) 0;
}

.c-modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.c-modal__footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-mid, #cbd5e1);
  margin: var(--space-md) 0 0 0;
}

.c-modal__footer a {
  color: var(--color-primary, #38bdf8);
  text-decoration: none;
}

.c-modal__footer a:hover {
  color: var(--color-secondary, #818cf8);
}

.c-modal__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-mid, #cbd5e1);
  font-size: 0.9375rem;
}

/**
 * Spinner Component
 */
.c-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-primary, #38bdf8);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/**
 * Secondary Link Utility
 */
.c-link-secondary {
  color: var(--color-primary, #38bdf8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.c-link-secondary:hover,
.c-link-secondary:focus {
  color: var(--color-secondary, #818cf8);
}

