/* static/css/auth.css */

:root {
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body {
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;   /* Chrome, Edge */
  -moz-osx-font-smoothing: grayscale;    /* Firefox */
  text-rendering: optimizeLegibility;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #f3f4f6;
  min-height: 100vh;
}

.auth-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Left blue panel */
.auth-left {
  flex: 0 0 36%;
  background: linear-gradient(160deg, #0047AB, #2563eb);
  color: #f9fafb;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-left-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sun / orange round symbol */
.auth-logo-circle.sun {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffd27d, #f97316);
  box-shadow:
    0 0 4px rgba(249, 115, 22, 0.6),
    0 0 8px rgba(249, 115, 22, 0.35);
  display: inline-block;
  flex-shrink: 0;
}


.auth-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.auth-left-title {
  font-size: 22px;
  font-weight: 600;
}

.auth-left-subtitle {
  font-size: 13px;
  opacity: 0.9;
}

.auth-left-main {
  margin-top: 40px;
}

.auth-highlight {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.auth-tagline {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.95;
}

.auth-points {
  margin-top: 24px;
  font-size: 13px;
  list-style: none;
}

.auth-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.auth-point-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #bfdbfe;
}

.auth-left-footer {
  font-size: 12px;
  opacity: 0.85;
}

/* Right white panel */
.auth-right {
  flex: 1;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  padding: 28px 26px 26px;
}

.auth-card-header {
  margin-bottom: 18px;
}

.auth-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
}

.auth-card-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.auth-form-group {
  margin-bottom: 14px;
}

.auth-label {
  font-size: 13px;
  color: #374151;
  margin-bottom: 4px;
  display: block;
}

.auth-input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 9px 10px;
  font-size: 14px;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.auth-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 10px;
}

.auth-link {
  font-size: 12px;
  color: #2563eb;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.08s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.auth-button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.auth-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.auth-switch {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.auth-switch a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Small helper text */
.auth-helper-text {
  margin-top: 4px;
  font-size: 11px;
  color: #9ca3af;
}

/* Error/success messages (we can map from Flask flash later) */
.auth-flash {
  font-size: 12px;
  margin-bottom: 8px;
  padding: 6px 8px;
  border-radius: 8px;
}

.auth-flash-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.auth-flash-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Responsive */
@media (max-width: 900px) {
  .auth-left {
    display: none;
  }
  .auth-right {
    flex: 1;
    padding: 24px 16px;
  }
  .auth-card {
    max-width: 420px;
  }
}

.activation-info-card {
  max-width: 420px;
  margin: 20px auto;
  padding: 26px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ecfdf5, #ffffff);
  border: 1px solid #bbf7d0;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.activation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activation-title {
  font-size: 20px;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 10px;
}

.activation-text {
  font-size: 14px;
  color: #065f46;
  line-height: 1.6;
}

.activation-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed #a7f3d0;
  font-size: 13px;
  color: #065f46;
}

.activation-highlight {
  font-weight: 600;
  color: #0f766e;
}
