/* =========================================
   Bereavement Club Light Theme
   ========================================= */

/* Base layout */
body {
  background-color: #f9fafb; /* light grayish white */
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar a {
  color: #1f2937 !important;
}

.navbar a:hover {
  color: #0d6efd !important; /* Bootstrap primary */
}

/* Cards */
.card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-radius: 0.75rem;
}

.card-header {
  background-color: #f3f4f6;
  color: #111827;
  font-weight: 600;
}

/* Buttons */
.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-success {
  background-color: #198754;
  border-color: #198754;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

/* Tables */
.table {
  background-color: #ffffff;
}

.table th {
  background-color: #f3f4f6;
  color: #111827;
  font-weight: 600;
}

.table-hover tbody tr:hover {
  background-color: #f9fafb;
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
}

.alert-success {
  background-color: #e9f7ef;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

/* Form controls */
.form-control {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Footer */
footer {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

/* Login/registration container */
.auth-container {
  max-width: 420px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Highlight rules */
.text-red {
  color: #dc2626;
}
.text-green {
  color: #16a34a;
}

/* Reserve warning styles */
.reserve-low {
  background-color: #fee2e2; /* light red */
  color: #991b1b;
}

.reserve-high {
  background-color: #dcfce7; /* light green */
  color: #14532d;
}
