/* @import url('base.css'); */

.navbar {
  background-color: #333;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar li {
  margin-right: 1rem;
}

.navbar a {
  text-decoration: none;
  color: white;
}
.navbar a.active {
  color: green;
}

/* Improve heading contrast on light backgrounds */
/* Default to a strong, legible dark color on white */
body h2,
body h3,
body h4,
body h5,
body h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: #1b1f24;
}

/* Lock h1.m-0 heading color regardless of Bootstrap theme */
h1.m-0 {
  color: rgb(44, 62, 80) !important; /* adjusted as requested */
}

/* Preserve white headings when inside hero sections */
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.hero .h1,
.hero .h2,
.hero .h3,
.hero .h4,
.hero .h5,
.hero .h6 {
  color: #fff;
}

/* Admin-only overrides */
body.admin {
  /* Ensure headings use a strong, dark color on light background */
  --bs-heading-color: #212529;
}

/* Account page - simple, effective styling */
.account-page .page-header {
  padding-bottom: .5rem;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 1rem;
}
.account-page .page-header .btn { border-radius: 9999px; }
.account-page .card { border: 1px solid #e9ecef; border-radius: 12px; }
.account-page .form-label { font-weight: 600; color: #343a40; }
.account-page .form-control,
.account-page .form-select { border-radius: 10px; min-height: 2.5rem; }
.account-page .form-control:focus,
.account-page .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(81, 26, 204, 0.15);
}
.account-page .alert { border-radius: 10px; }
.account-page hr { border-color: #e9ecef; opacity: 1; }

/* Footer socials */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #6c757d;
  background-color: #f8f9fa;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.footer-social-link i {
  font-size: 1rem;
}
.footer-social-link:hover {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}
