html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
  --ezydhf-primary: #0f5c8c;
  --ezydhf-primary-dark: #0a3d5c;
  --ezydhf-accent: #14a37f;
}

/* Navbar brand */
.navbar-brand.ezydhf-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ezydhf-primary-dark) !important;
}
.navbar-brand.ezydhf-brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--ezydhf-primary), var(--ezydhf-accent));
  color: #fff;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ---- Login page ---- */
.auth-page {
  min-height: calc(100vh - 170px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 92, 140, 0.12), 0 2px 8px rgba(15, 92, 140, 0.06);
  padding: 2.5rem 2rem;
}

.auth-card .brand-mark-lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ezydhf-primary), var(--ezydhf-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 16px rgba(15, 92, 140, 0.25);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.25rem;
  color: #1a2733;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: #6b7a87;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.auth-card .btn-primary {
  background: var(--ezydhf-primary);
  border-color: var(--ezydhf-primary);
  font-weight: 600;
  padding: 0.65rem;
  border-radius: 8px;
}
.auth-card .btn-primary:hover {
  background: var(--ezydhf-primary-dark);
  border-color: var(--ezydhf-primary-dark);
}

.auth-card .form-floating .form-control {
  border-radius: 8px;
}

.auth-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: #8a97a3;
  margin-top: 1.5rem;
}

/* ---- Home / landing page ---- */
.hero-section {
  background: linear-gradient(135deg, var(--ezydhf-primary-dark) 0%, var(--ezydhf-primary) 60%, var(--ezydhf-accent) 140%);
  border-radius: 20px;
  color: #fff;
  padding: 3.5rem 2.5rem;
  margin-bottom: 2.5rem;
}

.hero-section .hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.hero-section p.lead {
  opacity: 0.92;
  max-width: 640px;
}

.hero-section .btn-light {
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
}

.feature-card {
  border: 1px solid #e9edf1;
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 24px rgba(15, 92, 140, 0.1);
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 92, 140, 0.08);
  color: var(--ezydhf-primary);
  margin-bottom: 0.9rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: #647483;
  font-size: 0.9rem;
  margin-bottom: 0;
}