/* =========================================================================
   WD Hours — app shell styling
   Professional, minimalistic, mobile-first layout on top of Bootstrap.
   ========================================================================= */

:root {
    --wd-blue:        #0b5394;
    --wd-blue-dark:   #073763;
    --wd-blue-soft:   #e7eef6;
    --wd-nav-height:  66px;
    --wd-fab-size:    64px;
    --wd-muted:       #6b7280;
    --wd-border:      #e5e7eb;
}

html, body {
    height: 100%;
}

body {
    background-color: #f5f7fa;
    color: #1f2937;
    /* Keep content clear of the fixed bottom navigation (+ safe area on notched phones). */
    padding-bottom: calc(var(--wd-nav-height) + env(safe-area-inset-bottom, 0px));
}

/* ---------- Top banner ---------------------------------------------------- */
.app-banner {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(135deg, var(--wd-blue) 0%, var(--wd-blue-dark) 100%);
    color: #fff;
    padding: env(safe-area-inset-top, 0px) 0 0;
    box-shadow: 0 2px 6px rgba(7, 55, 99, 0.25);
}

.app-banner .container-fluid {
    min-height: 58px;
}

.app-banner__brand {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
}

/* ---------- Main content -------------------------------------------------- */
.app-main {
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- Bottom navigation --------------------------------------------- */
.app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    height: var(--wd-nav-height);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-top: 1px solid var(--wd-border);
    box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.06);
}

.app-nav__group {
    flex: 1 1 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.app-nav__center {
    flex: 0 0 96px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 6px;
}

/* Small side items */
.app-nav__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 0;
    text-decoration: none;
    color: var(--wd-muted);
    transition: color 0.15s ease;
}

.app-nav__item:hover {
    color: var(--wd-blue);
}

.app-nav__item.is-active {
    color: var(--wd-blue);
}

.app-nav__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.app-nav__label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Center floating action button (Hours) */
.app-nav__fab {
    position: absolute;
    top: -26px;
    width: var(--wd-fab-size);
    height: var(--wd-fab-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wd-blue) 0%, var(--wd-blue-dark) 100%);
    color: #fff;
    text-decoration: none;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 16px rgba(11, 83, 148, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-nav__fab:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 83, 148, 0.45);
}

.app-nav__fab.is-active {
    box-shadow: 0 0 0 4px var(--wd-blue-soft), 0 6px 16px rgba(11, 83, 148, 0.4);
}

.app-nav__fab-icon {
    font-size: 1.7rem;
    line-height: 1;
}

.app-nav__fab-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--wd-blue);
    letter-spacing: 0.01em;
}

/* ---------- Reusable content helpers -------------------------------------- */
.page-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.page-subtitle {
    color: var(--wd-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.card {
    border: 1px solid var(--wd-border);
    border-radius: 0.9rem;
}
