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;
}

/* Light navbar text contrast for warning/info sections */
.navbar.bg-warning .nav-link,
.navbar.bg-warning .navbar-brand,
.navbar.bg-info .nav-link,
.navbar.bg-info .navbar-brand {
    color: rgba(0,0,0,0.85) !important;
}
.navbar.bg-warning .nav-link:hover,
.navbar.bg-info .nav-link:hover {
    color: #000 !important;
}

/* ── Start page hero ── */
.stapf-hero {
    background: linear-gradient(135deg, #0d1f3c 0%, #162d52 60%, #1a3a6b 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
}

.stapf-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stapf-logo-box {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,.35);
    flex-shrink: 0;
}

.stapf-logo-box img {
    display: block;
    height: 160px;
    width: auto;
    border-radius: 6px;
}

.stapf-wordmark-block {
    text-align: left;
}

.stapf-wordmark {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .12em;
    line-height: 1;
}

.stapf-accent-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #1a7fe8, #00d4ff);
    border-radius: 2px;
    margin: .5rem 0;
}

.stapf-tagline {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* ── Dashboard tiles ── */
.stapf-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1.6rem 1rem;
    border-radius: 12px;
    border-width: 2px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    width: 100%;
}

.stapf-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    text-decoration: none;
}

.stapf-tile-icon {
    font-size: 2rem;
    line-height: 1;
}