/* Kuppel Static Website Styles
   =============================================================================
   Colour palette: Terracotta (matches frontend/src/index.css)

   Primary (Terracotta):
     50: #fdf8f6   100: #faede8   200: #f5d9d0   300: #ecbaa8
     400: #e09a7d  500: #d4846a   600: #b86a50   700: #96503a

   Background: #fffbf8 (warm cream)
   Text: #2c2420 (primary), #6b6360 (muted), #9a9390 (subtle)
   ============================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #2c2420;
  background: linear-gradient(to bottom, #fffbf8, #ffffff, #fdf8f6);
  min-height: 100vh;
}

.container {
  max-width: 400px;
  margin: 0 auto;
  padding: 48px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 32px;
}

.logo h1 {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #e09a7d, #d4846a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card */
.card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08), 0 4px 16px -4px rgba(0, 0, 0, 0.1);
  border: 1px solid #faede8;
}

.card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: #6b6360;
  margin-bottom: 24px;
}

/* Form elements */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #4a4340;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #ecbaa8;
  box-shadow: 0 0 0 3px rgba(212, 132, 106, 0.2);
}

.form-group input.error {
  border-color: #ef4444;
}

.error-text {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #e09a7d, #d4846a);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 4px 12px -2px rgba(212, 132, 106, 0.4);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: white;
  color: #4a4340;
  border: 1px solid #e7e5e4;
  margin-top: 12px;
}

.btn-secondary:hover {
  background: #fdf8f6;
}

/* Status messages */
.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

.status-icon.success {
  background: #d1fae5;
  color: #059669;
}

.status-icon.error {
  background: #fee2e2;
  color: #dc2626;
}

.status-icon.loading {
  background: #faede8;
  color: #d4846a;
}

/* Loading spinner */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #faede8;
  border-top-color: #d4846a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* App store buttons */
.app-store-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.app-store-buttons a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #000;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.app-store-buttons a:hover {
  background: #1f2937;
}

/* Warning box */
.warning {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #92400e;
}

/* Footer links */
.footer-links {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: #9a9390;
}

.footer-links a {
  color: #d4846a;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Text center */
.text-center {
  text-align: center;
}

/* Hidden */
.hidden {
  display: none !important;
}
