 /* SeaTurtlesJa — Design System */


/* ── Variables ────────────────────────────────── */
:root {
  --teal-900: #0d3d3d;
  --teal-800: #1A6B6B;
  --teal-700: #1f7f7f;
  --teal-600: #2a9494;
  --teal-200: #a8d8d8;
  --teal-100: #e0f2f2;
  --teal-50:  #f0fafa;

  --sand:     #f5f0e8;
  --sand-dark:#e8e0d0;

  --orange:   #E07B39;
  --orange-light: #fdf0e8;

  --dark:     #0a1f1f;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;

  --white:    #ffffff;
  --error:    #DC2626;
  --success:  #059669;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);

  --transition: 0.2s ease;
}

/* ── Reset ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--teal-50);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ───────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 52px;
}

.btn-primary {
  background: var(--teal-800);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,107,107,0.4);
}

.btn-primary:hover {
  background: var(--teal-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,107,107,0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--teal-800);
  border: 2px solid var(--teal-200);
}

.btn-secondary:hover {
  background: var(--teal-50);
  border-color: var(--teal-800);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Form Elements ────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.01em;
}

.form-input {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 52px;
  outline: none;
  width: 100%;
}

.form-input:focus {
  border-color: var(--teal-800);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.15);
}

.form-input::placeholder {
  color: var(--gray-300);
}

.form-input.error {
  border-color: var(--error);
}

/* ── Cards ────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

/* ── Alerts ───────────────────────────────────── */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-error {
  background: #fef2f2;
  color: var(--error);
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: var(--success);
  border: 1px solid #bbf7d0;
}

/* ── Loading Spinner ──────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Utilities ────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--gray-500); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
