:root {
    --omph-green: #064c37;
    --omph-green-dark: #033628;
    --omph-green-soft: rgba(5, 76, 55, .88);
    --omph-gold: #d7ad45;
    --omph-cream: #f8f5e9;
    --omph-white: #ffffff;
}

html, body { min-height: 100%; }
html { background: #063f2f; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    color: #20352d;
    min-height: 100vh;
    background:
        linear-gradient(rgba(3, 54, 40, .32), rgba(3, 54, 40, .42)),
        url('../images/church-background.jpg') center center / cover fixed no-repeat;
}


/* Diocese + parish dual branding */
.omph-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.omph-diocese-brand, .omph-parish-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}
.omph-diocese-brand { gap: 10px; }
.omph-diocese-logo {
    width: 48px; height: 56px; object-fit: contain; flex: 0 0 48px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,.25));
}
.omph-diocese-copy { line-height: 1.05; min-width: 0; }
.omph-diocese-title {
    display:block; color:#fff; font-family: Georgia,'Times New Roman',serif;
    font-size:.92rem; font-weight:700; letter-spacing:.02em;
}
.omph-diocese-subtitle {
    display:block; margin-top:4px; color:#f0e4bf; font-family: Georgia,'Times New Roman',serif;
    font-size:.72rem; font-style:italic;
}
.omph-brand-divider { width:1px; height:52px; background:rgba(215,173,69,.8); flex:0 0 1px; }
.omph-parish-brand { gap:10px; }

@media (max-width: 991.98px) {
    .omph-diocese-title { font-size:.78rem; }
    .omph-diocese-subtitle { font-size:.64rem; }
    .omph-diocese-logo { width:42px; height:50px; flex-basis:42px; }
    .omph-brand-divider { height:44px; }
}

@media (max-width: 575.98px) {
    .omph-brand { gap:7px; }
    .omph-diocese-brand { gap:5px; }
    .omph-diocese-logo { width:28px; height:34px; flex-basis:28px; }
    .omph-diocese-title { font-size:.46rem; line-height:1.05; }
    .omph-diocese-subtitle { font-size:.42rem; margin-top:2px; }
    .omph-brand-divider { height:34px; }
    .omph-parish-brand { gap:6px; }
}

/* Branded parish header */
.omph-topbar {
    background: rgba(3, 54, 40, .96) !important;
    min-height: 88px;
    border-bottom: 1px solid rgba(215,173,69,.55);
    box-shadow: 0 5px 20px rgba(0,0,0,.22);
}
.omph-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff !important;
    text-decoration: none;
    padding: 4px 0;
}
.omph-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 58px;
    display: block;
}
.omph-brand-copy { line-height: 1.05; }
.omph-brand-title {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: .02em;
}
.omph-brand-subtitle {
    display: block;
    margin-top: 7px;
    font-size: .9rem;
    letter-spacing: .30em;
    color: #f0e4bf;
}
.omph-topbar .nav-link { color: rgba(255,255,255,.93) !important; }
.omph-topbar .nav-link:hover { color: #f2d57d !important; }

/* Main shell */
.omph-shell { padding-top: 22px; padding-bottom: 35px; background: transparent !important; }
.omph-shell .omph-sidebar {
    background: rgba(2, 61, 44, .94) !important;
    border: 0;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    overflow: hidden;
}
.omph-shell .omph-sidebar .card-body { padding: 20px 12px; }
.omph-sidebar .welcome-block {
    color: #fff;
    padding: 4px 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    margin-bottom: 8px;
}
.omph-sidebar .welcome-block h6 { color: #e8c864 !important; letter-spacing: .08em; }
.omph-sidebar .welcome-block p { color: #fff; }
.omph-sidebar .welcome-block .small { color: rgba(255,255,255,.72) !important; }
.omph-sidebar .nav-link {
    color: rgba(255,255,255,.93) !important;
    border-radius: 10px;
    padding: 12px 13px;
    margin: 2px 0;
    transition: .2s ease;
}
.omph-sidebar .nav-link:hover,
.omph-sidebar .nav-link.active {
    background: rgba(255,255,255,.15);
    color: #fff !important;
}
.omph-sidebar .nav-link i { color: #f0d071; }

.omph-main { min-width: 0; }
.omph-main > .card,
.omph-main .card {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.65) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.16) !important;
}

/* Homepage visual treatment, without changing its existing links/functions */
.omph-home { padding-top: 8px; }
.omph-home .hero-card {
    min-height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(3,54,40,.48), rgba(3,54,40,.60)), url('/omph/assets/images/church-background.jpg') center / cover no-repeat;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35) !important;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}
.omph-home .hero-card::after {
    content: '';
    position: absolute;
    left: -5%; right: -5%; bottom: -65px;
    height: 130px;
    background: var(--omph-green-dark);
    border-top: 3px solid var(--omph-gold);
    border-radius: 50% 50% 0 0 / 28% 28% 0 0;
}
.omph-home .hero-logo { width: 104px; height: 104px; object-fit: contain; margin-bottom: 15px; }
.omph-home .hero-card h1 { font-family: Georgia, 'Times New Roman', serif; max-width: 950px; font-size: clamp(2rem, 4vw, 3.35rem); text-shadow: 0 2px 5px rgba(0,0,0,.5); }
.omph-home .hero-card p { max-width: 850px; }
.omph-home .hero-actions { position: relative; z-index: 2; }
.omph-home .hero-actions .btn { min-width: 180px; border-radius: 10px; font-weight: 600; }
.omph-home .hero-actions .btn-light { color: var(--omph-green); }
.omph-home .gold-line { width: 130px; height: 2px; background: var(--omph-gold); margin: 12px auto; }

.card { border-radius: 1rem; }

/* Keep the branded sidebar dark even though generic cards are white. */
.omph-shell .omph-sidebar,
.omph-shell .omph-sidebar.card {
    background: rgba(2, 61, 44, .94) !important;
    color: #fff;
}
.omph-shell .omph-sidebar .nav-link,
.omph-shell .omph-sidebar .nav-link:visited {
    color: rgba(255,255,255,.94) !important;
}
.omph-shell .omph-sidebar .nav-link:hover,
.omph-shell .omph-sidebar .nav-link.active {
    background: rgba(215,173,69,.18);
    color: #fff !important;
}
.omph-shell .omph-sidebar .welcome-block p { color: #fff !important; }
.omph-shell .omph-sidebar .welcome-block .small { color: rgba(255,255,255,.76) !important; }

/* Dashboard cards: clean glass panels with stronger readability. */
.omph-shell main .card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.14) !important;
}
.omph-shell main .card .card-body {
    color: #20352d;
}
.omph-shell main .card h5,
.omph-shell main .card h6 {
    letter-spacing: .01em;
}

@media (min-width: 992px) {
    .omph-shell > .row { align-items: flex-start; }
    .omph-shell aside { position: sticky; top: 18px; }
    .omph-sidebar { min-height: calc(100vh - 145px); }
}

.nav-link { color: #2f4f4f; }
.nav-link:hover { color: var(--omph-green); }
.table th { background: #f1f8f1; }
.badge { text-transform: uppercase; }
.hero-icon { font-size: 4rem; }
.btn-success { background-color: var(--omph-green); border-color: var(--omph-green); }
.btn-success:hover { background-color: var(--omph-green-dark); border-color: var(--omph-green-dark); }
.text-success { color: var(--omph-green) !important; }

@media (max-width: 991.98px) {
    .omph-topbar { min-height: 78px; }
    .omph-brand-logo { width: 54px; height: 54px; flex-basis: 54px; }
    .omph-brand { gap: 10px; }
    .omph-brand-subtitle { letter-spacing: .16em; font-size: .72rem; }
    .omph-sidebar { border-radius: 14px; }
}

/* Login page */
.omph-shell > .row > main.col-12 > .row { min-height: calc(100vh - 150px); align-items: center; }
.omph-shell .card { background: rgba(255,255,255,.95); }

/* Mobile-first refinements: keep the existing functionality/layout, only improve readability and spacing. */
.omph-home .hero-card {
    background: linear-gradient(rgba(3,54,40,.52), rgba(3,54,40,.68)), url('/omph/assets/images/church-background.jpg') center / cover no-repeat !important;
}

@media (max-width: 575.98px) {
    body {
        background-attachment: scroll;
        background-position: center top;
    }

    .omph-topbar {
        min-height: 68px;
    }

    .omph-topbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .omph-brand {
        gap: 8px;
        min-width: 0;
        max-width: calc(100% - 54px);
    }

    .omph-brand-logo {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .omph-brand-title {
        font-size: .84rem;
        line-height: 1.08;
        letter-spacing: .01em;
        white-space: normal;
    }

    .omph-brand-subtitle {
        margin-top: 3px;
        font-size: .58rem;
        letter-spacing: .18em;
    }

    .omph-topbar .navbar-toggler {
        padding: 5px 7px;
        font-size: .95rem;
        border-color: rgba(255,255,255,.35);
    }

    .omph-topbar .navbar-collapse {
        margin-top: 8px;
        padding: 8px 4px 4px;
        border-top: 1px solid rgba(255,255,255,.15);
    }

    .omph-topbar .navbar-nav .nav-link {
        padding: 9px 6px;
    }

    .omph-shell {
        padding: 10px 10px 24px;
    }

    .omph-shell > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .omph-home {
        padding-top: 0;
    }

    .omph-home .hero-card {
        min-height: 0;
        padding: 28px 18px 38px !important;
        border-radius: 18px;
        justify-content: flex-start;
    }

    .omph-home .hero-logo {
        width: 82px;
        height: 82px;
        margin-bottom: 12px;
    }

    .omph-home .hero-card > .small {
        font-size: .72rem;
        letter-spacing: .20em !important;
    }

    .omph-home .hero-card h1 {
        max-width: 100%;
        font-size: 1.72rem;
        line-height: 1.14;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        text-shadow: 0 2px 4px rgba(0,0,0,.65);
    }

    .omph-home .gold-line {
        width: 90px;
        margin: 10px auto 12px;
    }

    .omph-home .hero-card p.lead {
        font-size: 1rem;
        line-height: 1.35;
        margin-bottom: 2px !important;
    }

    .omph-home .hero-card > p:not(.lead) {
        font-size: .92rem;
        margin-bottom: 18px !important;
    }

    .omph-home .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px !important;
        align-items: stretch;
    }

    .omph-home .hero-actions .btn {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        font-size: 1rem;
        padding: 11px 16px;
    }

    .omph-home .hero-card::after {
        left: -12%;
        right: -12%;
        bottom: -46px;
        height: 92px;
        border-top-width: 2px;
    }

    .omph-home .row.g-4.mt-2 {
        margin-top: 12px !important;
        gap: 0;
    }

    .omph-home .row.g-4.mt-2 > div {
        margin-bottom: 12px;
    }

    .omph-home .row.g-4.mt-2 .card-body {
        padding: 18px !important;
    }

    .omph-shell aside {
        margin-bottom: 12px !important;
    }

    .omph-shell .omph-sidebar {
        border-radius: 14px;
        min-height: 0;
    }

    .omph-shell .omph-sidebar .card-body {
        padding: 12px 10px;
    }

    .omph-sidebar .welcome-block {
        padding: 2px 10px 10px;
        margin-bottom: 5px;
    }

    .omph-sidebar .nav-link {
        padding: 10px 11px;
        font-size: .93rem;
    }

    .omph-shell main .card {
        border-radius: 14px;
    }

    .omph-shell main .card .card-body {
        padding: 16px !important;
    }

    .omph-shell main .row.g-4,
    .omph-shell main .row.g-4.mb-4 {
        --bs-gutter-x: .7rem;
        --bs-gutter-y: .7rem;
    }

    .table-responsive {
        border-radius: 10px;
    }

    .table {
        font-size: .82rem;
    }

    /* Login/register pages */
    .omph-shell > .row > main.col-12 > .row {
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 18px;
    }

    .omph-shell > .row > main.col-12 > .row > [class*="col-"] {
        width: 100%;
    }

    .omph-shell .card .card-body {
        padding: 18px !important;
    }

    .form-control,
    .form-select {
        min-height: 46px;
    }

    .btn {
        min-height: 44px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .omph-home .hero-card {
        min-height: 520px;
    }

    .omph-home .hero-card h1 {
        font-size: 2.25rem;
    }

    .omph-brand-title {
        font-size: 1.1rem;
    }
}

/* OMPH glass design refinement - visual only */
:root {
    --omph-glass-dark: rgba(2, 61, 44, .62);
    --omph-glass-light: rgba(255, 255, 255, .14);
    --omph-glass-border: rgba(255, 255, 255, .32);
}

/* Keep content panels translucent so the church remains visible behind them. */
.omph-shell main .card:not(.omph-sidebar),
.omph-shell main .table-responsive,
.omph-shell main .alert,
.omph-shell main .modal-content {
    background: rgba(255,255,255,.13) !important;
    border: 1px solid rgba(255,255,255,.34) !important;
    backdrop-filter: blur(10px) saturate(115%);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    box-shadow: 0 10px 30px rgba(0,0,0,.16) !important;
}

.omph-shell main .card:not(.omph-sidebar) .card-body {
    background: transparent !important;
}

/* Text remains readable over the photo/glass. */
.omph-shell main .card:not(.omph-sidebar) h1,
.omph-shell main .card:not(.omph-sidebar) h2,
.omph-shell main .card:not(.omph-sidebar) h3,
.omph-shell main .card:not(.omph-sidebar) h4,
.omph-shell main .card:not(.omph-sidebar) h5,
.omph-shell main .card:not(.omph-sidebar) h6,
.omph-shell main .card:not(.omph-sidebar) label,
.omph-shell main .card:not(.omph-sidebar) .form-label {
    color: #fff;
}

.omph-shell main .card:not(.omph-sidebar) p,
.omph-shell main .card:not(.omph-sidebar) .text-muted,
.omph-shell main .card:not(.omph-sidebar) small,
.omph-shell main .card:not(.omph-sidebar) .small {
    color: rgba(255,255,255,.86) !important;
}

.omph-shell main .card:not(.omph-sidebar) a:not(.btn) {
    color: #f0d071;
}

.omph-shell main .form-control,
.omph-shell main .form-select {
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(255,255,255,.65) !important;
    color: #17382d;
    border-radius: 10px;
}

.omph-shell main .form-control:focus,
.omph-shell main .form-select:focus {
    border-color: var(--omph-gold) !important;
    box-shadow: 0 0 0 .2rem rgba(215,173,69,.22) !important;
}

/* Home actions match the reference: translucent green glass buttons. */
.omph-home .hero-actions .btn-success,
.omph-home .hero-actions .btn-light {
    background: rgba(2, 61, 44, .62) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.omph-home .hero-actions .btn:hover {
    background: rgba(2, 61, 44, .80) !important;
    border-color: var(--omph-gold) !important;
    transform: translateY(-1px);
}

/* Home feature cards also become subtle glass panels. */
.omph-home .row.g-4.mt-2 .card {
    background: rgba(2,61,44,.52) !important;
    color: #fff;
    border: 1px solid rgba(255,255,255,.28) !important;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}
.omph-home .row.g-4.mt-2 .card h5,
.omph-home .row.g-4.mt-2 .card p { color: #fff !important; }
.omph-home .row.g-4.mt-2 .card p { opacity: .86; }

/* Login/Register are intentionally glass, not opaque white. */
.omph-shell > .row > main.col-12 > .row > [class*="col-"] > .card {
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.38) !important;
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    box-shadow: 0 16px 38px rgba(0,0,0,.22) !important;
}

.omph-shell > .row > main.col-12 > .row > [class*="col-"] > .card .card-body {
    background: transparent !important;
}

.omph-shell > .row > main.col-12 > .row > [class*="col-"] > .card h2 {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.28);
}

/* On small screens, make the glass lighter and controls easier to tap. */
@media (max-width: 575.98px) {
    .omph-shell main .card:not(.omph-sidebar),
    .omph-shell > .row > main.col-12 > .row > [class*="col-"] > .card {
        background: rgba(255,255,255,.18) !important;
        backdrop-filter: blur(11px) saturate(115%);
        -webkit-backdrop-filter: blur(11px) saturate(115%);
    }

    .omph-home .hero-card {
        background: linear-gradient(rgba(3,54,40,.36), rgba(3,54,40,.50)), url('/omph/assets/images/church-background.jpg') center / cover no-repeat !important;
        border-color: rgba(255,255,255,.34) !important;
    }

    .omph-home .hero-actions .btn {
        min-height: 50px;
        border-radius: 12px;
    }
}

/* Compact parish mark beside the diocesan crest */
.omph-parish-brand .omph-brand-logo { width:48px; height:48px; flex-basis:48px; }
@media (max-width: 991.98px) {
  .omph-parish-brand .omph-brand-logo { width:42px; height:42px; flex-basis:42px; }
}
@media (max-width: 575.98px) {
  .omph-parish-brand .omph-brand-logo { width:32px; height:32px; flex-basis:32px; }
}

/* Final mobile header polish: keep diocesan + parish branding readable without overlap. */
@media (max-width: 575.98px) {
    .omph-topbar {
        min-height: 112px !important;
        padding: 8px 0 10px !important;
    }
    .omph-topbar > .container-fluid {
        align-items: flex-start !important;
        position: relative;
        min-height: 92px;
    }
    .omph-brand {
        width: calc(100% - 58px) !important;
        max-width: none !important;
        gap: 7px !important;
        padding: 2px 0 !important;
        align-items: center !important;
    }
    .omph-diocese-brand {
        flex: 0 0 32px;
        width: 32px;
        justify-content: center;
    }
    .omph-diocese-logo {
        width: 30px !important;
        height: 40px !important;
        flex: 0 0 30px !important;
    }
    .omph-diocese-copy,
    .omph-brand-divider {
        display: none !important;
    }
    .omph-parish-brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 7px !important;
        align-items: center;
    }
    .omph-brand-logo {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }
    .omph-brand-copy {
        min-width: 0;
        display: block;
    }
    .omph-brand-title {
        font-size: .72rem !important;
        line-height: 1.12 !important;
        letter-spacing: .015em !important;
        white-space: normal !important;
    }
    .omph-brand-subtitle {
        margin-top: 3px !important;
        font-size: .46rem !important;
        line-height: 1.1 !important;
        letter-spacing: .16em !important;
    }
    .omph-topbar .navbar-toggler {
        position: absolute;
        top: 10px;
        right: 12px;
        z-index: 5;
        width: 44px;
        height: 40px;
        padding: 4px 6px !important;
        border-radius: 9px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .omph-topbar .navbar-collapse {
        width: 100%;
        margin-top: 10px !important;
        padding: 8px 4px 0 !important;
    }
    .omph-topbar .navbar-nav {
        width: 100%;
    }
    .omph-topbar .navbar-nav .nav-link {
        font-size: .9rem;
        padding: 8px 6px !important;
    }

    /* Mobile glass forms: compact, readable and still transparent. */
    .omph-shell > .row > main.col-12 > .row {
        padding-top: 8px !important;
        padding-bottom: 12px !important;
    }
    .omph-shell > .row > main.col-12 > .row > [class*="col-"] {
        max-width: 100%;
    }
    .omph-shell main .card:not(.omph-sidebar) {
        background: rgba(8, 55, 43, .34) !important;
        border: 1px solid rgba(255,255,255,.34) !important;
        backdrop-filter: blur(12px) saturate(115%);
        -webkit-backdrop-filter: blur(12px) saturate(115%);
        box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
    }
    .omph-shell main .card:not(.omph-sidebar) .card-body {
        padding: 22px 18px !important;
    }
    .omph-shell main .card:not(.omph-sidebar) h2 {
        font-size: 1.65rem;
        margin-bottom: .65rem !important;
    }
    .omph-shell main .card:not(.omph-sidebar) p {
        font-size: .98rem;
        line-height: 1.45;
    }
    .omph-shell main .card:not(.omph-sidebar) .form-label {
        font-size: .95rem;
        margin-bottom: .35rem;
    }
    .omph-shell main .card:not(.omph-sidebar) .form-control,
    .omph-shell main .card:not(.omph-sidebar) .form-select {
        background: rgba(255,255,255,.88) !important;
        border: 1px solid rgba(255,255,255,.95) !important;
        color: #173d31 !important;
        border-radius: 12px;
    }
    .omph-shell main .card:not(.omph-sidebar) .btn-success {
        border-radius: 12px;
        font-weight: 600;
    }
}

/* Final compact Diocese + Parish header layout */
.omph-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
}
.omph-diocese-side {
    width: 42px;
    height: 58px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.omph-diocese-side .omph-diocese-logo {
    width: 38px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.omph-parish-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.omph-parish-brand .omph-brand-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
}
.omph-brand-copy {
    min-width: 0;
    line-height: 1.02;
}
.omph-brand-copy .omph-diocese-title {
    display: block;
    color: #f2d57d;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .18em;
    margin-bottom: 3px;
}
.omph-brand-copy .omph-brand-title {
    display: block;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1rem, 1.8vw, 1.55rem);
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.03;
}
.omph-brand-copy .omph-brand-subtitle {
    display: block;
    margin-top: 5px;
    color: #f0e4bf;
    font-size: .72rem;
    letter-spacing: .22em;
    line-height: 1;
}
.omph-brand-divider { display: none !important; }

@media (max-width: 991.98px) {
    .omph-topbar { min-height: 78px; }
    .omph-brand { gap: 8px; }
    .omph-diocese-side { width: 34px; height: 48px; flex-basis: 34px; }
    .omph-diocese-side .omph-diocese-logo { width: 31px; height: 44px; }
    .omph-parish-brand { gap: 7px; }
    .omph-parish-brand .omph-brand-logo { width: 43px; height: 43px; flex-basis: 43px; }
    .omph-brand-copy .omph-diocese-title { font-size: .56rem; letter-spacing: .12em; }
    .omph-brand-copy .omph-brand-title { font-size: 1.02rem; }
    .omph-brand-copy .omph-brand-subtitle { font-size: .64rem; letter-spacing: .18em; margin-top: 4px; }
}

@media (max-width: 575.98px) {
    .omph-topbar { min-height: 76px; padding-top: 4px; padding-bottom: 4px; }
    .omph-topbar .container-fluid { padding-left: 12px !important; padding-right: 12px !important; }
    .omph-brand { gap: 6px; flex: 1 1 auto; max-width: calc(100% - 56px); }
    .omph-diocese-side { width: 28px; height: 43px; flex-basis: 28px; }
    .omph-diocese-side .omph-diocese-logo { width: 26px; height: 39px; }
    .omph-parish-brand { gap: 6px; flex: 1 1 auto; min-width: 0; }
    .omph-parish-brand .omph-brand-logo { width: 39px; height: 39px; flex-basis: 39px; }
    .omph-brand-copy { min-width: 0; }
    .omph-brand-copy .omph-diocese-title {
        font-size: .48rem;
        letter-spacing: .10em;
        margin-bottom: 2px;
        white-space: nowrap;
    }
    .omph-brand-copy .omph-brand-title {
        font-size: .82rem;
        line-height: 1.02;
        letter-spacing: .005em;
    }
    .omph-brand-copy .omph-brand-subtitle {
        font-size: .54rem;
        letter-spacing: .16em;
        margin-top: 3px;
    }
    .omph-topbar .navbar-toggler {
        flex: 0 0 auto;
        width: 46px;
        height: 46px;
        padding: 6px;
        border-color: rgba(215,173,69,.55);
        border-radius: 12px;
    }
}

/* Final mobile sanctuary framing: visual-only, logos untouched. */
@media (max-width: 575.98px) {
    body {
        background-attachment: scroll !important;
        background-position: center 24% !important;
        background-size: auto 100vh !important;
        background-repeat: no-repeat !important;
        background-color: #063f2f !important;
    }

    .omph-topbar {
        min-height: 102px !important;
        padding: 7px 0 8px !important;
    }

    .omph-topbar > .container-fluid {
        min-height: 86px !important;
        align-items: flex-start !important;
    }

    .omph-brand {
        width: calc(100% - 58px) !important;
        gap: 7px !important;
        align-items: center !important;
        padding-top: 2px !important;
    }

    .omph-parish-brand {
        gap: 7px !important;
        align-items: center !important;
    }

    /* Keep the supplied parish logo exactly as-is; only change display size. */
    .omph-parish-brand .omph-brand-logo {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
    }

    .omph-brand-copy .omph-diocese-title {
        font-size: .43rem !important;
        line-height: 1 !important;
        letter-spacing: .09em !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
    }

    .omph-brand-copy .omph-brand-title {
        font-size: .66rem !important;
        line-height: 1.08 !important;
        letter-spacing: .008em !important;
        max-width: 235px !important;
    }

    .omph-brand-copy .omph-brand-subtitle {
        font-size: .43rem !important;
        letter-spacing: .13em !important;
        margin-top: 3px !important;
    }

    .omph-topbar .navbar-toggler {
        top: 13px !important;
        right: 12px !important;
        width: 44px !important;
        height: 42px !important;
    }

    /* Let the actual church photo show through the glass card instead of
       applying a second cropped photo inside the card. */
    .omph-home .hero-card {
        background: rgba(4, 64, 47, .40) !important;
        backdrop-filter: blur(2px) saturate(108%);
        -webkit-backdrop-filter: blur(2px) saturate(108%);
        min-height: 0 !important;
    }

    .omph-home .hero-logo {
        width: 76px !important;
        height: 76px !important;
    }

    .omph-home .hero-card h1 {
        font-size: 1.58rem !important;
        line-height: 1.12 !important;
        max-width: 330px !important;
    }
}


/* Password visibility controls */
.password-field {
    position: relative;
}
.password-field .form-control {
    padding-right: 52px;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #075b45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}
.password-toggle:hover,
.password-toggle:focus-visible {
    background: rgba(215,173,69,.16);
    color: #0a6b50;
    outline: none;
}
.password-toggle i {
    font-size: 1.15rem;
}
@media (max-width: 575.98px) {
    .password-toggle {
        width: 42px;
        height: 42px;
        right: 8px;
    }
}

/* Calendar schedule modal readability fix */
.omph-shell main .modal-backdrop {
    opacity: .72 !important;
}

.omph-shell main .modal-content {
    background: rgba(255, 255, 255, .98) !important;
    color: #1f2937 !important;
    border: 1px solid rgba(2, 61, 44, .28) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35) !important;
    overflow: hidden;
}

.omph-shell main .modal-content .modal-header {
    background: #006b4f !important;
    color: #fff !important;
    border-bottom: 1px solid #00543e !important;
}

.omph-shell main .modal-content .modal-title,
.omph-shell main .modal-content .modal-header i {
    color: #fff !important;
}

.omph-shell main .modal-content .modal-body {
    background: #fff !important;
    color: #1f2937 !important;
}

.omph-shell main .modal-content .modal-body label,
.omph-shell main .modal-content .modal-body .text-muted {
    color: #4b5563 !important;
}

.omph-shell main .modal-content .modal-body > div,
.omph-shell main .modal-content .modal-body .row > div > div {
    color: #12372d !important;
}

.omph-shell main .modal-content .modal-body #calendarModalRequest,
.omph-shell main .modal-content .modal-body #adminCalendarModalRequest {
    color: #005c45 !important;
    font-weight: 700 !important;
}

.omph-shell main .modal-content .modal-body #calendarModalDescription,
.omph-shell main .modal-content .modal-body #adminCalendarModalDescription {
    background: #f4f7f5 !important;
    border: 1px solid #d6e2dc !important;
    color: #26352f !important;
}

.omph-shell main .modal-content .modal-footer {
    background: #f8faf9 !important;
    border-top: 1px solid #dbe5e0 !important;
}

/* =========================================================
   UNIVERSAL MODAL READABILITY - DESKTOP + MOBILE
   Keeps the church/glass design outside modals, while making
   every modal itself opaque, high-contrast and easy to read.
   ========================================================= */
.omph-shell .modal {
    z-index: 2000 !important;
}
.omph-shell .modal-backdrop {
    z-index: 1990 !important;
    background-color: #10251f !important;
}
.omph-shell .modal-backdrop.show {
    opacity: .72 !important;
}

.omph-shell .modal-dialog {
    max-width: 620px;
}

.omph-shell .modal-content,
.omph-shell main .modal-content,
.omph-shell .modal-content.calendar-details-modal {
    background: #ffffff !important;
    color: #17231f !important;
    border: 1px solid #cbd8d2 !important;
    border-radius: 14px !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.35) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
}

.omph-shell .modal-header {
    min-height: 58px;
    padding: 14px 18px !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,.12) !important;
}

.omph-shell .modal-header .modal-title,
.omph-shell .modal-header .modal-title i,
.omph-shell .modal-header .btn-close,
.omph-shell .modal-header .btn-close-white {
    color: #ffffff !important;
    opacity: 1 !important;
}

.omph-shell .modal-body {
    background: #ffffff !important;
    color: #17231f !important;
    padding: 20px !important;
}

.omph-shell .modal-body p,
.omph-shell .modal-body .small,
.omph-shell .modal-body .text-muted,
.omph-shell .modal-body label,
.omph-shell .modal-body .form-label {
    color: #263a33 !important;
}

.omph-shell .modal-body strong,
.omph-shell .modal-body b {
    color: #123d30 !important;
}

.omph-shell .modal-body .text-danger {
    color: #b42318 !important;
}

.omph-shell .modal-body .form-control,
.omph-shell .modal-body .form-select,
.omph-shell .modal-body textarea,
.omph-shell .modal-body input[type="date"],
.omph-shell .modal-body input[type="time"] {
    background: #ffffff !important;
    color: #17231f !important;
    border: 1px solid #aebfb7 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.omph-shell .modal-body .form-control::placeholder,
.omph-shell .modal-body textarea::placeholder {
    color: #66756f !important;
    opacity: 1 !important;
}

.omph-shell .modal-body .form-control:focus,
.omph-shell .modal-body .form-select:focus,
.omph-shell .modal-body textarea:focus {
    background: #ffffff !important;
    color: #17231f !important;
    border-color: #087552 !important;
    box-shadow: 0 0 0 3px rgba(8,117,82,.16) !important;
}

.omph-shell .modal-body .alert,
.omph-shell .modal-body .alert-light {
    background: #f3f6f4 !important;
    color: #263a33 !important;
    border: 1px solid #d2ddd8 !important;
}

.omph-shell .modal-footer {
    background: #f7f9f8 !important;
    color: #263a33 !important;
    border-top: 1px solid #d6e0dc !important;
    padding: 12px 18px !important;
}

.omph-shell .modal-footer .btn {
    min-height: 42px;
    font-weight: 700;
    border-radius: 9px;
}

/* Make all calendar detail values consistently readable. */
.omph-shell .calendar-details-modal .calendar-value,
.omph-shell .calendar-details-modal .calendar-request,
.omph-shell .calendar-details-modal .calendar-detail-box {
    color: #17231f !important;
}
.omph-shell .calendar-details-modal .calendar-request {
    color: #075c43 !important;
    font-weight: 800 !important;
}
.omph-shell .calendar-details-modal .calendar-detail-box {
    background: #f2f6f4 !important;
    border: 1px solid #cfdcd6 !important;
}

/* Mobile: no cramped two-column modal content. */
@media (max-width: 575.98px) {
    .omph-shell .modal {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .omph-shell .modal-dialog {
        width: auto !important;
        max-width: none !important;
        margin: 8px auto !important;
    }
    .omph-shell .modal-content {
        border-radius: 12px !important;
    }
    .omph-shell .modal-header {
        min-height: 52px;
        padding: 12px 14px !important;
    }
    .omph-shell .modal-header .modal-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    .omph-shell .modal-body {
        padding: 15px !important;
        font-size: .95rem;
    }
    .omph-shell .modal-body .form-label,
    .omph-shell .modal-body label {
        font-size: .9rem !important;
        line-height: 1.35 !important;
    }
    .omph-shell .modal-body .form-control,
    .omph-shell .modal-body .form-select,
    .omph-shell .modal-body textarea {
        min-height: 46px !important;
        font-size: 1rem !important;
    }
    .omph-shell .modal-body textarea {
        min-height: 96px !important;
    }
    .omph-shell .modal-footer {
        padding: 10px 14px !important;
        gap: 8px;
    }
    .omph-shell .modal-footer .btn {
        min-height: 46px;
    }
    .omph-shell .modal-footer .btn:not(:last-child) {
        margin-right: 4px;
    }
    .omph-shell .calendar-details-modal .modal-body .row > [class*="col-"] {
        width: 100% !important;
    }
    .omph-shell .calendar-details-modal .calendar-value {
        font-size: .98rem !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
    }
    .omph-shell .calendar-details-modal .calendar-request {
        font-size: 1.12rem !important;
        line-height: 1.35 !important;
    }
}


/* =========================================================
   PARISHIONER DASHBOARD READABILITY
   Keep the church background visible, but make dashboard
   information cards high-contrast and readable on desktop/mobile.
   ========================================================= */
.omph-shell .parishioner-dashboard .card {
    background: rgba(255,255,255,.96) !important;
    color: #17231f !important;
    border: 1px solid #c9d8d1 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.16) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 14px !important;
}
.omph-shell .parishioner-dashboard .card-body {
    background: transparent !important;
    color: #17231f !important;
}
.omph-shell .parishioner-dashboard h5,
.omph-shell .parishioner-dashboard h6,
.omph-shell .parishioner-dashboard strong,
.omph-shell .parishioner-dashboard span,
.omph-shell .parishioner-dashboard p {
    color: #17231f !important;
}
.omph-shell .parishioner-dashboard h5,
.omph-shell .parishioner-dashboard h2 {
    color: #075c43 !important;
}
.omph-shell .parishioner-dashboard h6,
.omph-shell .parishioner-dashboard .text-muted {
    color: #43534d !important;
    opacity: 1 !important;
}
.omph-shell .parishioner-dashboard .btn-success {
    background: #006b4f !important;
    border-color: #006b4f !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
.omph-shell .parishioner-dashboard .btn-outline-success {
    background: #ffffff !important;
    border: 2px solid #087552 !important;
    color: #075c43 !important;
    font-weight: 700 !important;
}
.omph-shell .parishioner-dashboard .btn-success:hover,
.omph-shell .parishioner-dashboard .btn-outline-success:hover {
    color: #ffffff !important;
    background: #075c43 !important;
}
@media (max-width: 767.98px) {
    .omph-shell .parishioner-dashboard .card {
        border-radius: 12px !important;
    }
    .omph-shell .parishioner-dashboard .card-body {
        padding: 16px !important;
    }
    .omph-shell .parishioner-dashboard h5 {
        font-size: 1.05rem !important;
        line-height: 1.35 !important;
    }
    .omph-shell .parishioner-dashboard h6 {
        font-size: .82rem !important;
        line-height: 1.35 !important;
    }
    .omph-shell .parishioner-dashboard h2 {
        font-size: 1.8rem !important;
    }
    .omph-shell .parishioner-dashboard strong,
    .omph-shell .parishioner-dashboard span,
    .omph-shell .parishioner-dashboard p {
        font-size: .95rem !important;
        line-height: 1.5 !important;
        overflow-wrap: anywhere !important;
    }
    .omph-shell .parishioner-dashboard .btn {
        min-height: 46px !important;
        font-size: .95rem !important;
    }
}

/* Parishioner Dashboard - high contrast/readability fix */
.parishioner-dashboard .card {
    background: #ffffff !important;
    color: #17382d !important;
    border: 1px solid #d8e2dc !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.14) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}
.parishioner-dashboard .card .card-body {
    background: #ffffff !important;
    color: #17382d !important;
}
.parishioner-dashboard .card h5,
.parishioner-dashboard .card h6,
.parishioner-dashboard .card strong,
.parishioner-dashboard .card span,
.parishioner-dashboard .card p {
    color: #17382d !important;
    text-shadow: none !important;
}
.parishioner-dashboard .card h5,
.parishioner-dashboard .card h6 {
    font-weight: 700 !important;
}
.parishioner-dashboard .card h6 {
    font-size: .92rem;
    letter-spacing: .03em;
}
.parishioner-dashboard .card h2.text-success,
.parishioner-dashboard .card h5.text-success {
    color: #05603f !important;
}
.parishioner-dashboard .card .text-muted {
    color: #43564e !important;
}
.parishioner-dashboard .btn-success {
    background: #05603f !important;
    border-color: #05603f !important;
    color: #ffffff !important;
}
.parishioner-dashboard .btn-outline-success {
    background: #ffffff !important;
    border: 2px solid #05603f !important;
    color: #05603f !important;
}
.parishioner-dashboard .btn-outline-success:hover,
.parishioner-dashboard .btn-success:hover {
    background: #034b32 !important;
    border-color: #034b32 !important;
    color: #ffffff !important;
}
@media (max-width: 575.98px) {
    .parishioner-dashboard .card {
        border-radius: 14px !important;
    }
    .parishioner-dashboard .card .card-body {
        padding: 18px !important;
    }
    .parishioner-dashboard .card h6 {
        font-size: .9rem;
    }
    .parishioner-dashboard .card h2 {
        font-size: 1.8rem;
    }
    .parishioner-dashboard .card h5 {
        font-size: 1.15rem;
    }
    .parishioner-dashboard .btn {
        min-height: 48px;
        font-size: .98rem;
        font-weight: 700;
        border-radius: 10px;
    }
}


/* Parishioner Dashboard — match Admin dashboard structure with clear, high-contrast cards */
.omph-shell .parishioner-dashboard {
    --parish-card-bg: #ffffff;
    --parish-text: #18352b;
    --parish-muted: #46574f;
    --parish-green: #075c43;
}
.omph-shell .parishioner-dashboard .card,
.omph-shell .parishioner-dashboard .card .card-body {
    background: #ffffff !important;
    color: var(--parish-text) !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.omph-shell .parishioner-dashboard .card {
    border: 1px solid #d5e0da !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.16) !important;
}
.omph-shell .parishioner-dashboard .card h5,
.omph-shell .parishioner-dashboard .card h6,
.omph-shell .parishioner-dashboard .card h2,
.omph-shell .parishioner-dashboard .card p,
.omph-shell .parishioner-dashboard .card strong,
.omph-shell .parishioner-dashboard .card span {
    text-shadow: none !important;
    opacity: 1 !important;
}
.omph-shell .parishioner-dashboard .card h6.text-muted,
.omph-shell .parishioner-dashboard .card .text-muted {
    color: var(--parish-muted) !important;
    font-weight: 700 !important;
}
.omph-shell .parishioner-dashboard .card h2,
.omph-shell .parishioner-dashboard .card h5.text-success {
    color: var(--parish-green) !important;
}
.omph-shell .parishioner-dashboard .card h5 {
    color: var(--parish-green) !important;
}
.omph-shell .parishioner-dashboard .card strong {
    color: #29443a !important;
}
.omph-shell .parishioner-dashboard .card span,
.omph-shell .parishioner-dashboard .card p {
    color: var(--parish-text) !important;
}
.omph-shell .parishioner-dashboard .btn-success {
    background: #075c43 !important;
    border-color: #075c43 !important;
    color: #fff !important;
}
.omph-shell .parishioner-dashboard .btn-outline-success {
    background: #fff !important;
    border: 2px solid #075c43 !important;
    color: #075c43 !important;
}
@media (max-width: 767.98px) {
    .omph-shell .parishioner-dashboard .row {
        --bs-gutter-y: 1rem;
    }
    .omph-shell .parishioner-dashboard .card .card-body {
        padding: 16px !important;
    }
    .omph-shell .parishioner-dashboard .card h6 {
        font-size: .9rem !important;
    }
    .omph-shell .parishioner-dashboard .card h2 {
        font-size: 1.8rem !important;
    }
    .omph-shell .parishioner-dashboard .card h5 {
        font-size: 1.1rem !important;
    }
    .omph-shell .parishioner-dashboard .card p,
    .omph-shell .parishioner-dashboard .card strong,
    .omph-shell .parishioner-dashboard .card span {
        font-size: .95rem !important;
        line-height: 1.5 !important;
        overflow-wrap: anywhere;
    }
}

/* Parishioner Dashboard - maximum readability / low-vision friendly */
.omph-shell main .parishioner-dashboard .card,
.omph-shell main .parishioner-dashboard .card.shadow-sm {
    background: #ffffff !important;
    background-image: none !important;
    color: #17352d !important;
    border: 2px solid #d5e0db !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.16) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}

.omph-shell main .parishioner-dashboard .card .card-body {
    background: #ffffff !important;
    color: #17352d !important;
    opacity: 1 !important;
}

.omph-shell main .parishioner-dashboard h5,
.omph-shell main .parishioner-dashboard h6,
.omph-shell main .parishioner-dashboard strong,
.omph-shell main .parishioner-dashboard span,
.omph-shell main .parishioner-dashboard p,
.omph-shell main .parishioner-dashboard .text-muted {
    color: #17352d !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.omph-shell main .parishioner-dashboard h5,
.omph-shell main .parishioner-dashboard h6 {
    font-weight: 800 !important;
    letter-spacing: .02em;
}

.omph-shell main .parishioner-dashboard h6 {
    font-size: 1rem !important;
}

.omph-shell main .parishioner-dashboard h2 {
    color: #006b4f !important;
    font-weight: 900 !important;
    font-size: 2.25rem !important;
    text-shadow: none !important;
}

.omph-shell main .parishioner-dashboard .btn-success {
    background: #006b4f !important;
    border-color: #006b4f !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

.omph-shell main .parishioner-dashboard .btn-outline-success {
    background: #ffffff !important;
    border: 2px solid #006b4f !important;
    color: #00563f !important;
    font-weight: 800 !important;
}

.omph-shell main .parishioner-dashboard .btn-success:focus,
.omph-shell main .parishioner-dashboard .btn-success:hover,
.omph-shell main .parishioner-dashboard .btn-outline-success:focus,
.omph-shell main .parishioner-dashboard .btn-outline-success:hover {
    box-shadow: 0 0 0 3px rgba(0,107,79,.18) !important;
}

@media (max-width: 767.98px) {
    .omph-shell main .parishioner-dashboard .card {
        border-radius: 18px !important;
        border-width: 2px !important;
        margin-bottom: 1rem;
    }

    .omph-shell main .parishioner-dashboard .card .card-body {
        padding: 1.25rem !important;
    }

    .omph-shell main .parishioner-dashboard h5 {
        font-size: 1.25rem !important;
    }

    .omph-shell main .parishioner-dashboard h6 {
        font-size: 1.05rem !important;
    }

    .omph-shell main .parishioner-dashboard h2 {
        font-size: 2.4rem !important;
        line-height: 1.1 !important;
    }

    .omph-shell main .parishioner-dashboard strong,
    .omph-shell main .parishioner-dashboard span,
    .omph-shell main .parishioner-dashboard p {
        font-size: 1.02rem !important;
        line-height: 1.55 !important;
    }

    .omph-shell main .parishioner-dashboard .btn {
        min-height: 52px !important;
        font-size: 1.05rem !important;
    }
}


/* =========================================================
   NOTIFICATIONS - HIGH CONTRAST / MOBILE READABILITY
   ========================================================= */
.omph-shell main .notifications-page,
.omph-shell main .notifications-page.card {
    background: #ffffff !important;
    background-image: none !important;
    color: #17382d !important;
    border: 2px solid #d3ded8 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.16) !important;
    opacity: 1 !important;
}
.omph-shell main .notifications-page .card-body {
    background: #ffffff !important;
    color: #17382d !important;
    padding: 1rem !important;
}
.omph-shell main .notifications-page h3 {
    color: #075c43 !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    margin-bottom: 1rem !important;
}
.omph-shell main .notifications-page .list-group {
    border-radius: 10px !important;
    overflow: hidden !important;
}
.omph-shell main .notifications-page .list-group-item {
    background: #ffffff !important;
    color: #17231f !important;
    border-color: #d8e0dc !important;
    padding: 1rem 1.1rem !important;
    min-height: 72px !important;
}
.omph-shell main .notifications-page .list-group-item p,
.omph-shell main .notifications-page .list-group-item .notification-message {
    color: #17231f !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-bottom: .35rem !important;
    text-shadow: none !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}
.omph-shell main .notifications-page .list-group-item small {
    color: #53645d !important;
    font-size: .88rem !important;
    line-height: 1.35 !important;
    opacity: 1 !important;
}
.omph-shell main .notifications-page .badge.bg-success {
    background: #087a52 !important;
    color: #ffffff !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    padding: .42rem .62rem !important;
    border-radius: 999px !important;
    flex-shrink: 0 !important;
    margin-left: .75rem !important;
}
.omph-shell main .notifications-page .alert-info {
    background: #eef8f4 !important;
    color: #174c3c !important;
    border: 1px solid #b9d9cc !important;
    font-weight: 600 !important;
}
@media (max-width: 767.98px) {
    .omph-shell main .notifications-page .card-body {
        padding: .85rem !important;
    }
    .omph-shell main .notifications-page h3 {
        font-size: 1.55rem !important;
    }
    .omph-shell main .notifications-page .list-group-item {
        padding: 1rem !important;
        min-height: 84px !important;
    }
    .omph-shell main .notifications-page .list-group-item p,
    .omph-shell main .notifications-page .list-group-item .notification-message {
        font-size: 1.02rem !important;
        line-height: 1.55 !important;
    }
    .omph-shell main .notifications-page .list-group-item small {
        font-size: .9rem !important;
    }
    .omph-shell main .notifications-page .badge.bg-success {
        font-size: .76rem !important;
        padding: .4rem .55rem !important;
    }
}

/* Custom Move District modal - rendered above all glass/accordion layers */
.omph-move-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 25, 20, .72);
}
.omph-move-modal.show { display: flex !important; }
.omph-move-modal__dialog {
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff !important;
    color: #17231f !important;
    border: 1px solid #cbd8d2;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.omph-move-modal__header {
    display:flex; align-items:center; justify-content:space-between;
    padding: 15px 18px;
    background:#006b4f !important; color:#fff !important;
}
.omph-move-modal__header h5 { color:#fff !important; font-weight:700; }
.omph-move-modal__body { padding:20px; background:#fff !important; color:#263a33 !important; }
.omph-move-modal__body p, .omph-move-modal__body label { color:#263a33 !important; }
.omph-move-modal__body strong { color:#123d30 !important; }
.omph-move-modal__body .form-select { background:#fff !important; color:#17231f !important; border:1px solid #9eb4aa !important; }
.omph-move-modal__footer { display:flex; justify-content:flex-end; gap:10px; padding:14px 18px; background:#f7faf8 !important; border-top:1px solid #dbe5e0; }
body.omph-move-modal-open { overflow:hidden !important; }
@media (max-width:575.98px) {
    .omph-move-modal { padding:12px; align-items:center; justify-content:center; }
    .omph-move-modal__dialog { max-height:calc(100vh - 24px); }
    .omph-move-modal__body { padding:16px; }
    .omph-move-modal__footer { padding:12px 16px; }
    .omph-move-modal__footer .btn { flex:1; }
}

/* Floating Add/Edit forms for GKK and Family Group management */
.omph-form-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10001 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 25, 20, .72);
}
.omph-form-modal.show { display: flex !important; }
.omph-form-modal__dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff !important;
    color: #17231f !important;
    border: 1px solid #cbd8d2;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.omph-form-modal__header {
    display:flex; align-items:center; justify-content:space-between;
    padding: 15px 18px;
    background:#006b4f !important; color:#fff !important;
}
.omph-form-modal__header h5 { color:#fff !important; font-weight:700; }
.omph-form-modal__body { padding:20px; background:#fff !important; color:#263a33 !important; }
.omph-form-modal__body label { color:#263a33 !important; }
.omph-form-modal__body .form-control,
.omph-form-modal__body .form-select {
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: .65rem .75rem !important;
    background: #ffffff !important;
    color: #17231f !important;
    border: 1px solid #9eb4aa !important;
    border-radius: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}
.omph-form-modal__body input.form-control {
    height: 46px !important;
}
.omph-form-modal__body select.form-select {
    height: 46px !important;
    cursor: pointer;
}
.omph-form-modal__body .form-control::placeholder {
    color: #6b7772 !important;
    opacity: 1 !important;
}
.omph-form-modal__footer { display:flex; justify-content:flex-end; gap:10px; padding:14px 18px; background:#f7faf8 !important; border-top:1px solid #dbe5e0; }
body.omph-form-modal-open { overflow:hidden !important; }
@media (max-width:575.98px) {
    .omph-form-modal { padding:12px; align-items:center; justify-content:center; }
    .omph-form-modal__dialog { max-height:calc(100vh - 24px); }
    .omph-form-modal__body { padding:16px; }
    .omph-form-modal__footer { padding:12px 16px; }
    .omph-form-modal__footer .btn { flex:1; }
}


/* =========================================================
   GKK PERSONNEL READABILITY
   High-contrast dashboard, forms, tables and modal content.
   ========================================================= */
body.gkk-user .omph-shell main .card,
body.gkk-user .omph-shell main .table-responsive,
body.gkk-user .omph-shell main .alert {
    background: rgba(255,255,255,.97) !important;
    color: #17352b !important;
    border-color: #d2dfd9 !important;
}

body.gkk-user .omph-shell main h1,
body.gkk-user .omph-shell main h2,
body.gkk-user .omph-shell main h3,
body.gkk-user .omph-shell main h4,
body.gkk-user .omph-shell main h5,
body.gkk-user .omph-shell main h6,
body.gkk-user .omph-shell main p,
body.gkk-user .omph-shell main span,
body.gkk-user .omph-shell main strong,
body.gkk-user .omph-shell main label,
body.gkk-user .omph-shell main .form-label {
    text-shadow: none !important;
}

body.gkk-user .omph-shell main .text-muted {
    color: #52645d !important;
}

body.gkk-user .omph-shell main .card h3,
body.gkk-user .omph-shell main .card h4,
body.gkk-user .omph-shell main .card h5,
body.gkk-user .omph-shell main .card h6,
body.gkk-user .omph-shell main .card .text-success {
    color: #086446 !important;
}

body.gkk-user .omph-shell main .card h2.text-success {
    color: #075b41 !important;
}

body.gkk-user .omph-shell main .table {
    --bs-table-bg: transparent;
    --bs-table-color: #20362e;
    --bs-table-border-color: #d8e2de;
}

body.gkk-user .omph-shell main .table thead th {
    background: #eaf2ee !important;
    color: #173e32 !important;
    font-weight: 800 !important;
    border-bottom: 2px solid #c8d8d1 !important;
    white-space: nowrap;
}

body.gkk-user .omph-shell main .table tbody td {
    color: #243a32 !important;
    background: rgba(255,255,255,.98) !important;
    vertical-align: middle;
}

body.gkk-user .omph-shell main .table-hover tbody tr:hover td {
    background: #f1f7f4 !important;
}

body.gkk-user .omph-shell main .form-control,
body.gkk-user .omph-shell main .form-select,
body.gkk-user .omph-shell main textarea,
body.gkk-user .omph-shell main input[type="date"],
body.gkk-user .omph-shell main input[type="time"],
body.gkk-user .omph-shell main input[type="file"] {
    background: #ffffff !important;
    color: #172c25 !important;
    border: 1px solid #aebfb7 !important;
    opacity: 1 !important;
}

body.gkk-user .omph-shell main .form-control::placeholder,
body.gkk-user .omph-shell main textarea::placeholder {
    color: #6a7973 !important;
    opacity: 1 !important;
}

body.gkk-user .omph-shell main .form-control:focus,
body.gkk-user .omph-shell main .form-select:focus,
body.gkk-user .omph-shell main textarea:focus {
    color: #172c25 !important;
    background: #ffffff !important;
    border-color: #087552 !important;
    box-shadow: 0 0 0 3px rgba(8,117,82,.14) !important;
}

body.gkk-user .omph-shell main .btn-outline-success {
    color: #075b41 !important;
    border-color: #198754 !important;
    background: #ffffff !important;
    font-weight: 700;
}
body.gkk-user .omph-shell main .btn-outline-success:hover,
body.gkk-user .omph-shell main .btn-outline-success:focus {
    color: #ffffff !important;
    background: #198754 !important;
}

/* GKK dashboard cards */
body.gkk-user .gkk-dashboard-page .card {
    background: rgba(255,255,255,.98) !important;
}
body.gkk-user .gkk-dashboard-page .card-body {
    color: #20352d !important;
}
body.gkk-user .gkk-dashboard-page .text-muted {
    color: #53665e !important;
}
body.gkk-user .gkk-dashboard-page .card span,
body.gkk-user .gkk-dashboard-page .card p,
body.gkk-user .gkk-dashboard-page .card strong {
    color: #243a32 !important;
}
body.gkk-user .gkk-dashboard-page .card strong.text-muted {
    color: #52645d !important;
}

/* Any Bootstrap/custom modal opened by GKK pages */
body.gkk-user .modal-content,
body.gkk-user .omph-form-modal__dialog,
body.gkk-user .omph-move-modal__dialog {
    background: #ffffff !important;
    color: #17231f !important;
    border: 1px solid #cbd8d2 !important;
}
body.gkk-user .modal-header,
body.gkk-user .omph-form-modal__header,
body.gkk-user .omph-move-modal__header {
    color: #ffffff !important;
    background: #075c43 !important;
}
body.gkk-user .modal-title,
body.gkk-user .modal-header .btn-close,
body.gkk-user .omph-form-modal__header h5,
body.gkk-user .omph-move-modal__header h5 {
    color: #ffffff !important;
    opacity: 1 !important;
}
body.gkk-user .modal-body,
body.gkk-user .omph-form-modal__body,
body.gkk-user .omph-move-modal__body {
    background: #ffffff !important;
    color: #243a32 !important;
}
body.gkk-user .modal-body label,
body.gkk-user .modal-body .form-label,
body.gkk-user .modal-body p,
body.gkk-user .modal-body .text-muted,
body.gkk-user .omph-form-modal__body label,
body.gkk-user .omph-move-modal__body label,
body.gkk-user .omph-move-modal__body p {
    color: #334840 !important;
}
body.gkk-user .modal-body strong,
body.gkk-user .modal-body b {
    color: #123d30 !important;
}
body.gkk-user .modal-footer,
body.gkk-user .omph-form-modal__footer,
body.gkk-user .omph-move-modal__footer {
    background: #f5f8f6 !important;
    color: #243a32 !important;
    border-top: 1px solid #d5e0db !important;
}
body.gkk-user .modal-body .form-control,
body.gkk-user .modal-body .form-select,
body.gkk-user .modal-body textarea,
body.gkk-user .omph-form-modal__body .form-control,
body.gkk-user .omph-form-modal__body .form-select,
body.gkk-user .omph-move-modal__body .form-select {
    background: #ffffff !important;
    color: #17231f !important;
    border-color: #aebfb7 !important;
}

@media (max-width: 575.98px) {
    body.gkk-user .omph-shell main .card-body {
        padding: 16px !important;
    }
    body.gkk-user .omph-shell main .table {
        font-size: .92rem;
    }
    body.gkk-user .omph-shell main .table thead th,
    body.gkk-user .omph-shell main .table tbody td {
        padding: .65rem .55rem !important;
    }
    body.gkk-user .omph-shell main h3 {
        font-size: 1.25rem !important;
    }
    body.gkk-user .omph-shell main h5 {
        font-size: 1.05rem !important;
    }
}

/* =========================================================
   GKK GLASS + GREEN/GOLD VISIBILITY PATCH
   ========================================================= */
body.gkk-user .omph-shell main {
    color: #17352b !important;
}
body.gkk-user .omph-shell main .card,
body.gkk-user .gkk-dashboard-page .card {
    background: rgba(255,255,255,.84) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.78) !important;
    box-shadow: 0 12px 30px rgba(0,45,32,.18) !important;
}
body.gkk-user .omph-shell main .card::before {
    pointer-events: none;
}
body.gkk-user .omph-shell main h1,
body.gkk-user .omph-shell main h2,
body.gkk-user .omph-shell main h3,
body.gkk-user .omph-shell main h4,
body.gkk-user .omph-shell main h5,
body.gkk-user .omph-shell main h6,
body.gkk-user .omph-shell main p,
body.gkk-user .omph-shell main span,
body.gkk-user .omph-shell main label,
body.gkk-user .omph-shell main strong,
body.gkk-user .omph-shell main .form-label,
body.gkk-user .omph-shell main .form-check-label {
    color: #17352b !important;
}
body.gkk-user .omph-shell main .text-muted,
body.gkk-user .omph-shell main small,
body.gkk-user .omph-shell main .small {
    color: #52665d !important;
}
body.gkk-user .omph-shell main h3,
body.gkk-user .omph-shell main h4,
body.gkk-user .omph-shell main h5,
body.gkk-user .omph-shell main h6,
body.gkk-user .omph-shell main .text-success {
    color: #075c42 !important;
}
body.gkk-user .omph-shell main h2.text-success {
    color: #075c42 !important;
}
body.gkk-user .omph-shell main .form-control,
body.gkk-user .omph-shell main .form-select,
body.gkk-user .omph-shell main textarea,
body.gkk-user .omph-shell main input[type="date"],
body.gkk-user .omph-shell main input[type="time"],
body.gkk-user .omph-shell main input[type="file"] {
    background: rgba(255,255,255,.94) !important;
    color: #17352b !important;
    border: 1px solid #a9beb5 !important;
    opacity: 1 !important;
}
body.gkk-user .omph-shell main .form-control::placeholder,
body.gkk-user .omph-shell main textarea::placeholder {
    color: #667970 !important;
    opacity: 1 !important;
}
body.gkk-user .omph-shell main .form-check-input {
    border: 1px solid #80988e !important;
    background-color: #fff !important;
    opacity: 1 !important;
}
body.gkk-user .omph-shell main .form-check-input:checked {
    background-color: #075c42 !important;
    border-color: #075c42 !important;
}
body.gkk-user .omph-shell main #multipleServicesBox {
    background: rgba(248,251,249,.94) !important;
    border: 1px solid #b8c9c2 !important;
    color: #17352b !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
body.gkk-user .omph-shell main #multipleServicesBox .form-check-label {
    color: #17352b !important;
    font-weight: 600;
}
body.gkk-user .omph-shell main #selectedServicesText {
    color: #075c42 !important;
}
body.gkk-user .omph-shell main .btn-success {
    background: linear-gradient(135deg,#075c42,#064c37) !important;
    border-color: #075c42 !important;
    color: #fff !important;
    font-weight: 700;
}
body.gkk-user .omph-shell main .btn-outline-success {
    background: rgba(255,255,255,.88) !important;
    color: #075c42 !important;
    border-color: #198754 !important;
    font-weight: 700;
}
body.gkk-user .omph-shell main .btn-outline-success:hover,
body.gkk-user .omph-shell main .btn-outline-success:focus,
body.gkk-user .omph-shell main .btn-outline-success.active {
    background: #075c42 !important;
    color: #fff !important;
    border-color: #075c42 !important;
}
body.gkk-user .gkk-dashboard-page .card {
    border-top: 3px solid rgba(215,173,69,.9) !important;
}
body.gkk-user .gkk-dashboard-page .card h5 {
    color: #075c42 !important;
}
body.gkk-user .gkk-dashboard-page .card strong,
body.gkk-user .gkk-dashboard-page .card span,
body.gkk-user .gkk-dashboard-page .card p {
    color: #29443a !important;
}
body.gkk-user .gkk-dashboard-page .card .text-muted,
body.gkk-user .gkk-dashboard-page .card strong.text-muted {
    color: #52665d !important;
}
/* GKK modals: glass body, green header, gold accent. */
body.gkk-user .modal-content,
body.gkk-user .omph-form-modal__dialog,
body.gkk-user .omph-move-modal__dialog {
    background: rgba(255,255,255,.94) !important;
    color: #17352b !important;
    border: 1px solid rgba(255,255,255,.82) !important;
    border-top: 4px solid #d7ad45 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 55px rgba(0,35,25,.30) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
body.gkk-user .modal-header,
body.gkk-user .omph-form-modal__header,
body.gkk-user .omph-move-modal__header {
    background: linear-gradient(135deg,#075c42,#033628) !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(215,173,69,.65) !important;
}
body.gkk-user .modal-title,
body.gkk-user .omph-form-modal__header h5,
body.gkk-user .omph-move-modal__header h5 {
    color: #fff !important;
}
body.gkk-user .modal-body,
body.gkk-user .omph-form-modal__body,
body.gkk-user .omph-move-modal__body {
    background: rgba(255,255,255,.90) !important;
    color: #17352b !important;
}
body.gkk-user .modal-body label,
body.gkk-user .modal-body p,
body.gkk-user .modal-body strong,
body.gkk-user .omph-form-modal__body label,
body.gkk-user .omph-move-modal__body label,
body.gkk-user .omph-move-modal__body p {
    color: #29443a !important;
}
body.gkk-user .modal-footer,
body.gkk-user .omph-form-modal__footer,
body.gkk-user .omph-move-modal__footer {
    background: rgba(242,247,244,.96) !important;
    border-top: 1px solid #d7e2dc !important;
}
body.gkk-user .modal .form-control,
body.gkk-user .modal .form-select,
body.gkk-user .modal textarea,
body.gkk-user .omph-form-modal__body .form-control,
body.gkk-user .omph-form-modal__body .form-select,
body.gkk-user .omph-form-modal__body textarea,
body.gkk-user .omph-move-modal__body .form-select {
    background: #fff !important;
    color: #17352b !important;
    border: 1px solid #a9beb5 !important;
}
body.gkk-user .modal .form-control::placeholder,
body.gkk-user .modal textarea::placeholder,
body.gkk-user .omph-form-modal__body .form-control::placeholder {
    color: #667970 !important;
    opacity: 1 !important;
}


/* Calendar event readability: keep event text visible over the glass calendar. */
.fc .fc-event {
    color: #ffffff !important;
    background: #075c43 !important;
    border-color: #c9a227 !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
}
.fc .fc-event .fc-event-title,
.fc .fc-event .fc-event-time,
.fc .fc-daygrid-event-dot {
    color: #ffffff !important;
}
.fc .fc-daygrid-event {
    padding: 3px 5px !important;
}
.fc .fc-list-event-title,
.fc .fc-list-event-time { color: #17352d !important; font-weight: 700 !important; }
