/* ArsSalva Platform — Styles principaux */
/* Palette: Marine #1A2E4A, Or #B8860B, Pierre #F5F0E8, Anthracite #2C3E50 */

:root {
  --marine: #1A2E4A;
  --marine-dark: #112038;
  --or: #B8860B;
  --pierre: #F5F0E8;
  --anthracite: #2C3E50;
  --font-georgia: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', 'Arial', sans-serif;
}

/* Base */
body { font-family: var(--font-body); }
.font-georgia { font-family: var(--font-georgia); }
.text-marine { color: var(--marine); }
.text-or { color: var(--or); }
.text-anthracite { color: var(--anthracite); }
.bg-marine { background-color: var(--marine); }
.bg-pierre { background-color: var(--pierre); }
.border-marine { border-color: var(--marine); }

/* Navigation */
.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.nav-link:hover, .nav-link.active {
  background-color: rgba(255,255,255,0.15);
  color: white;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background-color: var(--marine);
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.1s;
  text-align: center;
}
.btn-primary:hover { background-color: var(--marine-dark); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--marine);
  border: 2px solid var(--marine);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.btn-secondary:hover { background-color: var(--marine); color: white; }

/* Forms */
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--anthracite); margin-bottom: 0.375rem; }
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--anthracite);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus { outline: none; border-color: var(--marine); box-shadow: 0 0 0 3px rgba(26,46,74,0.1); }
.form-error { color: #dc2626; font-size: 0.8rem; margin-top: 0.25rem; }
.form-group { margin-bottom: 1rem; }

/* Alerts */
.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-gray { background: #f3f4f6; color: #374151; }
.badge-gold { background: #fef3c7; color: #92400e; }

/* Dropdown */
.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--anthracite);
  text-decoration: none;
  transition: background 0.1s;
}
.dropdown-item:hover { background: #f9fafb; }

/* Responsive */
@media (max-width: 640px) {
  .btn-primary, .btn-secondary { padding: 0.75rem 1rem; }
}
