/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #f3f4f6;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  padding: 32px;
}

.auth-card h1 {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.auth-form .field {
  margin-bottom: 18px;
}

.auth-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.auth-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  color: #111827;
  background-color: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  outline: none;
  background-color: #ffffff;
}

.auth-form .actions {
  margin-top: 24px;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #4f46e5;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.auth-submit:hover {
  background-color: #4338ca;
}

.auth-secondary {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #4b5563;
}

.auth-secondary a {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
}

.auth-secondary a:hover {
  text-decoration: underline;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
}

.countdown-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  z-index: 1000;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.countdown-overlay.countdown-hidden {
  opacity: 0;
  visibility: hidden;
}

.countdown-card {
  text-align: center;
  padding: 2.5rem 3rem;
  border-radius: 1rem;
  background-color: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.45);
  pointer-events: none;
}

.countdown-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
}

.countdown-number {
  display: block;
  font-size: 4.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.auth-hint {
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
}

.auth-intro {
  margin-bottom: 24px;
  color: #475569;
  line-height: 1.6;
}

.auth-submit--danger {
  background-color: #dc2626;
}

.auth-submit--danger:hover {
  background-color: #b91c1c;
}
