/* ==========================================================
   AUTH PAGE LAYOUT
========================================================== */

.auth-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .auth-container {
    flex-direction: column;
  }
}

.auth-card {
  width: 100%;
  max-width: 400px;
}

/* ==========================================================
   PRICING BOXES
========================================================== */

.price-box {
  border: 1px dashed var(--border);
  background: var(--card-bg);
  color: var(--text);
  padding: 12px;
  border-radius: 12px;
  margin-top: 10px;
  text-align: center;
}

.price-box.highlight {
  border: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--card-bg));
}

.price {
  font-size: 28px;
  font-weight: 700;
  margin: 4px 0;
  color: var(--accent);
}

/* ==========================================================
   PRIMARY CTA BUTTON
========================================================== */

.accentButton {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s ease, transform 0.05s ease;
}

.accentButton:hover {
  opacity: 0.95;
}

.accentButton:active {
  transform: scale(0.98);
}

.accentButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Keyboard accessibility */
.accentButton:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent);
  outline-offset: 2px;
}

/* ==========================================================
   AUTH PAGE CARD HIERARCHY
   (Prevents nested cards from looking heavy)
========================================================== */

.auth-container .card .card {
  box-shadow: none;
  background: transparent;
  border: none;
}

/* ==========================================================
   FEATURE LIST (ICON + TEXT ALIGNMENT)
========================================================== */

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
  margin-bottom: 6px;
  color: var(--text);
}

.feature-list li::before {
  content: attr(data-icon);
  font-size: 16px;
  line-height: 1;
}

/* ==========================================================
   LANGUAGE GRID (AUTH PAGE ONLY)
========================================================== */

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.lang-tile {
  padding: 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  text-align: center;
  font-size: 14px;
  color: var(--text);
}

/* ==========================================================
   TEXT HELPERS (AUTH PAGE)
========================================================== */

.auth-container .small {
  color: var(--muted);
}

.auth-container .tiny {
  color: var(--muted);
}
