﻿:root {
    --navy: #25385f;
    --blue: #5d8ef0;
    --light-blue: #c3d7fb;
    --yellow: #fff0a8;
    --red: #f55f63;
    --gold: #d8c25e;
    --green: #3c9b55;
    --bg: #f5f6fa;
    --border: #e1e4ea;
    --text: #111111;
    --muted: #666666;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

/* LOGO */

.bayanihan-logo,
.ba-logo {
    display: block;
    width: 128px;
    height: auto;
    object-fit: contain;
}

.small-logo {
    width: 92px;
}

/* LOGIN CHOICE */

.choice-page {
    width: 100%;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 12% 18%, rgba(93, 139, 239, 0.14), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 116px 40px 60px;
}

.choice-navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    min-height: 76px;
    padding: 14px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(37, 56, 95, 0.08);
    backdrop-filter: blur(10px);
}

.choice-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

    .choice-navbar-brand img {
        width: 62px;
        height: auto;
        object-fit: contain;
    }

.choice-navbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

    .choice-navbar-links a {
        color: var(--navy);
        border-radius: 8px;
        padding: 10px 14px;
        font-size: 15px;
        font-weight: 800;
    }

        .choice-navbar-links a:hover {
            background: #eef4ff;
            color: #1f5ed6;
        }

.choice-hero {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: 40px;
}

.choice-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.choice-title {
    font-size: clamp(56px, 8vw, 96px);
    line-height: 1;
    letter-spacing: 4px;
    color: var(--navy);
    font-weight: 900;
    margin: 0;
}

.choice-tagline,
.public-tagline {
    margin: 12px 0 0;
    color: #5d8bef;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.public-hero-copy .public-tagline,
.public-download-copy .public-tagline {
    margin: 12px 0 0;
    color: #5d8bef;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.choice-subtitle {
    max-width: 760px;
    margin: 22px 0 0;
    color: #334155;
    font-size: 20px;
    line-height: 1.6;
}

.choice-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.choice-btn {
    min-height: 96px;
    background: #ffffff;
    color: var(--navy);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 20px;
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(37, 56, 95, 0.09);
}

    .choice-btn:hover {
        transform: translateY(-2px);
        border-color: #bcd2ff;
        background: #f8fbff;
    }

.choice-visual {
    display: grid;
    place-items: center;
}

.choice-visual .bayanihan-logo {
    width: min(430px, 86%);
    height: auto;
    object-fit: contain;
    transform: translateX(95px);
    filter: drop-shadow(0 24px 34px rgba(37, 56, 95, 0.16));
}

@media (max-width: 720px) {
    .choice-page {
        padding: 126px 18px 42px;
        justify-content: flex-start;
    }

    .choice-navbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 18px;
        gap: 8px;
    }

    .choice-navbar-brand {
        font-size: 17px;
    }

    .choice-navbar-brand img {
        width: 48px;
    }

    .choice-navbar-links {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .choice-navbar-links a {
        padding: 8px 6px;
        font-size: 12px;
    }

    .choice-title {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .choice-hero {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .choice-subtitle {
        font-size: 16px;
    }

    .choice-tagline,
    .public-tagline {
        font-size: 15px;
    }

    .choice-buttons {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
    }

    .choice-btn {
        width: min(330px, 100%);
    }

    .choice-visual {
        width: 100%;
    }
}

/* PUBLIC PAGES */

.public-page {
    min-height: 100dvh;
    padding: 112px 40px 48px;
    background: #f6f8fc;
}

.public-download-page {
    padding-top: 112px;
}

.public-hero,
.public-download-card,
.public-info-grid,
.public-band {
    width: min(1160px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.public-hero,
.public-download-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 34px;
    align-items: center;
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(37, 56, 95, 0.08);
}

.public-hero-copy h1,
.public-download-copy h1 {
    margin: 0;
    color: var(--navy);
    font-size: 56px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.public-hero-copy p,
.public-download-copy p,
.public-band p {
    margin: 18px 0 0;
    color: #334155;
    font-size: 18px;
    line-height: 1.6;
}

.public-eyebrow {
    margin: 0 0 12px !important;
    color: var(--blue) !important;
    font-size: 14px !important;
    font-weight: 900;
    letter-spacing: 2px;
}

.public-hero-logo {
    display: grid;
    place-items: center;
    min-height: 280px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e7ebf3;
}

    .public-hero-logo img {
        width: min(260px, 70%);
        height: auto;
        object-fit: contain;
    }

.public-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

    .public-info-grid article {
        padding: 24px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #ffffff;
    }

    .public-info-grid span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #eef4ff;
        color: var(--navy);
        font-weight: 900;
        margin-bottom: 16px;
    }

    .public-info-grid h2,
    .public-band h2 {
        margin: 0;
        color: var(--navy);
        font-size: 24px;
        font-weight: 900;
        letter-spacing: 0;
    }

    .public-info-grid p {
        margin: 12px 0 0;
        color: #475569;
        font-size: 15px;
        line-height: 1.55;
    }

.public-about-content {
    width: min(1160px, 100%);
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
    align-items: stretch;
}

.public-about-meaning,
.public-audience-panel {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(37, 56, 95, 0.07);
}

.public-about-meaning {
    padding: 30px;
    background: var(--navy);
    color: #ffffff;
}

.public-about-meaning h2 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}

.public-about-meaning p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.7;
}

.public-audience-panel {
    display: grid;
    overflow: hidden;
}

.public-audience-row {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 24px;
    align-items: start;
    padding: 22px 26px;
    border-bottom: 1px solid var(--border);
}

.public-audience-row:last-child {
    border-bottom: 0;
}

.public-audience-row span {
    color: var(--navy);
    font-size: 18px;
    font-weight: 900;
}

.public-audience-row p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.public-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    margin-top: 22px;
    padding: 30px;
    border-radius: 14px;
    background: var(--navy);
    color: #ffffff;
}

    .public-band h2,
    .public-band p,
    .public-band .public-eyebrow {
        color: #ffffff !important;
    }

.public-download-card {
    min-height: calc(100dvh - 160px);
}

.public-mobile-promo {
    min-height: calc(100dvh - 150px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 237, 167, 0.55), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eef4ff 100%);
}

.public-download-logo {
    width: 96px;
    height: auto;
    object-fit: contain;
    margin-bottom: 26px;
}

.public-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 26px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--navy);
    color: #ffffff;
    font-weight: 900;
}

.public-download-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.public-download-actions .public-download-link {
    margin-top: 0;
}

.public-download-actions span {
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

.public-download-qr {
    display: flex;
    justify-content: center;
}

.qr-card {
    width: min(330px, 100%);
    padding: 24px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e7ebf3;
    text-align: center;
}

.qr-grid {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(13, 1fr);
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--border);
}

    .qr-grid span,
    .qr-grid i {
        display: block;
        border-radius: 3px;
        background: #111827;
    }

    .qr-grid i {
        opacity: 0;
    }

.qr-card p {
    margin: 14px 0 0;
    color: var(--navy);
    font-size: 15px;
    font-weight: 900;
}

@media (max-width: 720px) {
    .public-page {
        padding: 128px 16px 36px;
    }

    .public-download-page {
        padding: 34px 16px 36px;
    }

    .public-download-page .choice-navbar {
        display: none;
    }

    .public-hero,
    .public-download-card,
    .public-band {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .public-hero-copy h1,
    .public-download-copy h1 {
        font-size: 36px;
    }

    .public-hero-copy p,
    .public-download-copy p,
    .public-band p {
        font-size: 15px;
    }

    .public-info-grid {
        grid-template-columns: 1fr;
    }

    .public-about-content {
        grid-template-columns: 1fr;
    }

    .public-audience-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px;
    }

    .public-hero-logo {
        min-height: 190px;
    }

    .qr-grid {
        width: 210px;
        height: 210px;
    }

    .public-mobile-promo {
        min-height: calc(100dvh - 92px);
        padding: 26px 22px;
    }

    .public-download-logo {
        width: 82px;
        margin-bottom: 18px;
    }
}

.ba-site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 32px;
    color: #64748b;
    background: #ffffff;
    border-top: 1px solid var(--border);
    font-size: 13px;
    font-weight: 800;
}

.ba-site-footer span:first-child {
    color: var(--navy);
    font-weight: 900;
    letter-spacing: 1px;
}

@media (max-width: 640px) {
    .ba-site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 20px;
    }
}

/* LOGIN PAGES */

.login-page {
    width: 100%;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    overflow: hidden;
}

.login-left {
    background: var(--navy);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 40px 75px;
}

    .login-left .bayanihan-logo {
        margin-bottom: 45px;
    }

    .login-left h1 {
        font-size: 88px;
        line-height: 1;
        letter-spacing: 5px;
        font-weight: 900;
        margin: 0 0 22px;
    }

    .login-left p {
        margin: 0;
        font-size: 16px;
    }

.login-role-title {
    margin-top: auto;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
}

.login-right {
    background: linear-gradient(to bottom, #ffffff 0%, #f4f7fc 52%, #dbe8ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
}

    .login-right .bayanihan-logo {
        margin-bottom: 15px;
    }

.login-heading {
    font-size: 40px;
    font-weight: 900;
    margin: 0 0 30px;
}

.login-card {
    width: 380px;
    border: 1px solid #b8b8b8;
    border-radius: 28px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.12);
}

.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        display: block;
        font-size: 12px;
        font-weight: 900;
        margin-bottom: 9px;
    }

.input-wrap {
    position: relative;
}

    .input-wrap input {
        width: 100%;
        height: 56px;
        border-radius: 15px;
        border: 1px solid #b8b8b8;
        background: white;
        padding: 0 16px 0 45px;
        font-size: 15px;
        outline: none;
    }

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c8799;
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}

.forgot-link {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 18px;
    font-size: 10px;
    font-weight: 800;
    color: #666;
    text-decoration: underline;
}

.forgot-card {
    max-width: 520px;
}

    .forgot-card .ba-form {
        margin-top: 14px;
    }

.forgot-code-form {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.login-button {
    width: 100%;
    height: 70px;
    border-radius: 18px;
    background: var(--navy);
    color: white;
    font-size: 16px;
    font-weight: 700;
}

    .login-button:hover {
        background: #1d2d4e;
    }

.login-arrow {
    margin-left: 45px;
    font-size: 25px;
}

.login-error {
    min-height: 18px;
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #c0392b;
}

.back-link {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    color: #666;
    text-decoration: underline;
}

/* DASHBOARD */

.ba-dashboard {
    width: 100%;
    height: 100dvh;
    background: var(--bg);
    overflow: hidden;
}

.ba-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 285px;
    height: 100dvh;
    background: var(--navy);
    color: white;
    padding: 34px 22px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ba-sidebar-fixed-logo {
    flex: 0 0 auto;
    background: var(--navy);
    padding-bottom: 18px;
}

.ba-sidebar .ba-logo {
    margin: 0 auto 18px;
}

.ba-brand {
    font-size: 34px;
    line-height: 1;
    text-align: center;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 20px;
}

.ba-menu {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ba-menu-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 4px;
}

    .ba-menu-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .ba-menu-scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.25);
        border-radius: 99px;
    }

.ba-menu-item {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    background: var(--light-blue);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 13px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
}

    .ba-menu-item:hover,
    .ba-menu-item.active {
        background: var(--blue);
        color: white;
    }

.ba-main {
    margin-left: 285px;
    height: 100dvh;
    overflow-y: auto;
    padding: 26px 34px 44px;
    background:
        linear-gradient(180deg, #f8faff 0%, var(--bg) 260px),
        var(--bg);
}

.ba-back-btn {
    display: none;
    margin-bottom: 14px;
    min-height: 38px;
    border-radius: 10px;
    background: white;
    color: var(--navy);
    border: 1px solid var(--border);
    padding: 0 14px;
    font-weight: 800;
}

    .ba-back-btn.show {
        display: inline-flex;
        align-items: center;
    }

.ba-topbar {
    width: 100%;
    max-width: 1320px;
    min-height: 72px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 28px rgba(37, 56, 95, 0.07);
}

.ba-greeting-kicker {
    margin: 0 0 5px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.ba-greeting-title {
    margin: 0;
    color: var(--navy);
    font-size: 24px;
    font-weight: 900;
}

.ba-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ba-top-btn {
    min-height: 42px;
    border-radius: 12px;
    background: #f3f5f9;
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 14px;
    font-weight: 900;
    padding: 0 14px;
}

.ba-profile-circle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f5f9;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ba-profile-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.ba-page {
    display: none;
    max-width: 1320px;
    margin: 0 auto;
}

    .ba-page.active {
        display: block;
    }

.ba-header {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 26px 30px;
    margin-bottom: 20px;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 14px 32px rgba(37, 56, 95, 0.08);
}

.ba-kicker {
    font-size: 12px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 1.4px;
    margin: 0 0 8px;
}

.ba-header h1 {
    font-size: 38px;
    line-height: 1;
    color: var(--navy);
    font-weight: 900;
    margin: 0 0 12px;
}

.ba-subtitle {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--muted);
    margin: 0;
}

.ba-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.ba-metric-card {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 18px 16px;
    min-height: 142px;
    box-shadow: 0 10px 24px rgba(37, 56, 95, 0.06);
}

.ba-metric-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.ba-metric-trend {
    border-radius: 999px;
    background: #f4f7fc;
    color: #53617a;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.ba-metric-icon {
    width: 40px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

    .ba-metric-icon.blue {
        background: #dce8ff;
    }

    .ba-metric-icon.gold {
        background: #fff2c4;
    }

    .ba-metric-icon.red {
        background: #ffd9dc;
    }

    .ba-metric-icon.green {
        background: #dff5df;
    }

.ba-metric-card h3 {
    color: var(--navy);
    font-size: 32px;
    line-height: 1;
    margin: 0 0 8px;
}

.ba-metric-card p {
    margin: 0;
    color: #5f6b7d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.ba-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.ba-quick-btn {
    min-height: 54px;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(37, 56, 95, 0.08);
}

    .ba-quick-btn.blue {
        background: var(--blue);
    }

    .ba-quick-btn.red {
        background: var(--red);
    }

    .ba-quick-btn.gold {
        background: var(--gold);
    }

.ba-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 10px 28px rgba(37, 56, 95, 0.06);
}

.ba-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

    .ba-panel-head.compact {
        margin-bottom: 14px;
    }

.ba-panel-label {
    font-size: 11px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 1.3px;
    margin: 0 0 6px;
}

.ba-panel h2 {
    font-size: 25px;
    margin: 0;
    line-height: 1.1;
}

.ba-panel-subtext {
    max-width: 760px;
    margin: 10px 0 0;
    color: #4f5f73;
    font-size: 14px;
    line-height: 1.45;
}

.ba-dashboard-insights {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
    gap: 16px;
}

.ba-insight-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(37, 56, 95, 0.06);
}

.ba-chart-list {
    display: grid;
    gap: 16px;
}

.ba-chart-row {
    display: grid;
    gap: 8px;
}

.ba-chart-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

    .ba-chart-label strong {
        font-size: 14px;
    }

.ba-chart-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1f7;
}

    .ba-chart-track span {
        display: block;
        width: 0%;
        min-width: 8px;
        max-width: 100%;
        height: 100%;
        border-radius: inherit;
        transition: width 240ms ease;
    }

        .ba-chart-track span.blue {
            background: var(--blue);
        }

        .ba-chart-track span.green {
            background: var(--green);
        }

        .ba-chart-track span.gold {
            background: var(--gold);
        }

        .ba-chart-track span.red {
            background: var(--red);
        }

.ba-insight-summary {
    display: flex;
    flex-direction: column;
}

    .ba-insight-summary h2 {
        margin: 0 0 10px;
        color: var(--navy);
        font-size: 22px;
        line-height: 1.15;
    }

    .ba-insight-summary p:not(.ba-panel-label) {
        margin: 0;
        color: #4f5f73;
        font-size: 14px;
        line-height: 1.55;
    }

.ba-focus-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

    .ba-focus-grid span {
        border-radius: 999px;
        background: #eef4ff;
        color: var(--navy);
        padding: 7px 10px;
        font-size: 12px;
        font-weight: 900;
    }

.ba-chip {
    height: fit-content;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 900;
    background: #fff2c4;
    color: #9a7300;
}

    .ba-chip.blue {
        background: #dce8ff;
        color: #386ed6;
    }

    .ba-chip.green {
        background: #dff5df;
        color: #2c7b3d;
    }

    .ba-chip.red {
        background: #ffd9dc;
        color: #d74347;
    }

.ba-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.ba-form-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .ba-form-row.full {
        grid-column: 1 / -1;
    }

.ba-form label {
    font-size: 13px;
    font-weight: 800;
}

.ba-form input,
.ba-form select,
.ba-form textarea {
    width: 100%;
    min-height: 45px;
    border: 1px solid #d7dce7;
    border-radius: 11px;
    background: white;
    padding: 11px 13px;
    font-size: 14px;
    outline: none;
}

.ba-form textarea {
    min-height: 105px;
    resize: vertical;
}

    .ba-form input:focus,
    .ba-form select:focus,
    .ba-form textarea:focus {
        border-color: var(--blue);
    }

.ba-primary-btn {
    grid-column: 1 / -1;
    min-height: 47px;
    border-radius: 11px;
    background: var(--navy);
    color: white;
    font-size: 14px;
    font-weight: 900;
}

    .ba-primary-btn:hover {
        background: #1d2d4e;
    }

.ba-form-message {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 18px;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
}

.ba-form-hint {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.ba-filter-row {
    display: grid;
    grid-template-columns: 1fr 180px auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ba-filter-row-district {
    grid-template-columns: 1fr 180px 1fr auto;
}

.ba-report-filter-row {
    grid-template-columns: minmax(220px, 1fr) minmax(170px, 0.25fr) minmax(210px, 0.35fr) 140px;
}

.ba-report-filter-row-district {
    grid-template-columns: minmax(210px, 1fr) minmax(210px, 0.8fr) minmax(170px, 0.35fr) minmax(210px, 0.45fr) 140px;
}

.ba-report-maker {
    border: 1px solid #dce3f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 18px;
    margin: 0 0 18px;
}

.ba-report-maker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

    .ba-report-maker-head h3 {
        margin: 0;
        color: var(--navy);
        font-size: 19px;
    }

    .ba-report-maker-head p:not(.ba-panel-label) {
        max-width: 760px;
        margin: 8px 0 0;
        color: #4f5f73;
        font-size: 14px;
        line-height: 1.5;
    }

.ba-report-maker-controls {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(150px, 0.45fr) minmax(150px, 0.45fr) minmax(180px, auto);
    gap: 10px;
    align-items: center;
}

.ba-report-maker-controls.district {
    grid-template-columns: minmax(190px, 0.8fr) minmax(170px, 0.7fr) minmax(150px, 0.45fr) minmax(150px, 0.45fr) minmax(180px, auto);
}

    .ba-report-maker-controls select,
    .ba-report-maker-controls input {
        min-height: 42px;
        border: 1px solid #d7dce7;
        border-radius: 10px;
        padding: 0 12px;
        background: white;
    }

    .ba-report-maker-controls .ba-primary-btn {
        min-height: 42px;
        width: 100%;
    }

.ba-report-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.ba-report-preview-card {
    border: 1px solid #dce3f0;
    border-radius: 8px;
    background: white;
    padding: 12px;
    min-height: 88px;
}

    .ba-report-preview-card strong {
        display: block;
        margin-bottom: 8px;
        color: var(--navy);
        font-size: 14px;
    }

    .ba-report-preview-card span {
        color: #4f5f73;
        font-size: 13px;
        line-height: 1.45;
    }

.ba-filter-row select,
.ba-filter-row input {
    min-height: 42px;
    border: 1px solid #d7dce7;
    border-radius: 10px;
    padding: 0 12px;
}

.ba-filter-btn {
    min-height: 42px;
}

.ba-filter-row .ba-primary-btn {
    grid-column: auto;
    width: 100%;
}

.ba-status-filter-row {
    display: flex;
    justify-content: flex-end;
}

.ba-status-filter-row select {
    width: min(260px, 100%);
}

.ba-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.ba-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: white;
}

    .ba-table th {
        background: #f3f6fc;
        color: var(--navy);
        font-size: 13px;
        font-weight: 900;
        padding: 13px;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .ba-table td {
        padding: 13px;
        border-bottom: 1px solid #eeeeee;
        font-size: 14px;
    }

.ba-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

    .ba-status.active,
    .ba-status.approved,
    .ba-status.resolved,
    .ba-status.claimed,
    .ba-status.published {
        background: #dff5df;
        color: #2c7b3d;
    }

    .ba-status.inactive,
    .ba-status.rejected,
    .ba-status.dismissed,
    .ba-status.archived,
    .ba-status.deleted,
    .ba-status.needs_review {
        background: #ffd9dc;
        color: #d74347;
    }

    .ba-status.pending,
    .ba-status.open,
    .ba-status.completed {
        background: #fff2c4;
        color: #9a7300;
    }

    .ba-status.resident {
        background: #dbeafe;
        color: #1d4ed8;
    }

    .ba-status.business-owner {
        background: #fef3c7;
        color: #92400e;
    }

.ba-empty {
    text-align: center;
    color: #888 !important;
    font-weight: 700;
    padding: 25px !important;
}

.ba-action-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ba-small-btn {
    min-height: 31px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    background: #eef2fb;
    color: var(--navy);
}

    .ba-small-btn.danger {
        background: #ffd9dc;
        color: #b83035;
    }

    .ba-small-btn.success {
        background: #dff5df;
        color: #2c7b3d;
    }

.ba-image-link {
    font-weight: 800;
    color: var(--blue);
    text-decoration: underline;
}

/* OVERLAYS */

.ba-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.35);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
}

    .ba-overlay.show {
        display: flex;
    }

.ba-overlay-card {
    width: min(520px, 100%);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 20px;
}

.ba-overlay-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

    .ba-overlay-head h2 {
        margin: 0;
        color: var(--navy);
        font-size: 24px;
        font-weight: 900;
    }

.ba-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f3f5f9;
    color: var(--navy);
    font-weight: 900;
}

.ba-notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ba-notif-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px;
    background: #fafbfe;
}

    .ba-notif-item h4 {
        margin: 0 0 6px;
        color: var(--navy);
        font-size: 14px;
    }

    .ba-notif-item p {
        margin: 0;
        color: #555;
        font-size: 13px;
        line-height: 1.4;
    }

.ba-profile-view {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ba-profile-view-image-wrap {
    display: flex;
    justify-content: center;
}

.ba-profile-view-info p {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--text);
}

.ba-profile-view-actions {
    display: flex;
    justify-content: flex-end;
}

.ba-profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f5f9;
    border: 1px solid var(--border);
}

    .ba-profile-image.large {
        width: 120px;
        height: 120px;
    }

/* RESPONSIVE */

@media (max-width: 1050px) {

    .ba-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .ba-dashboard-insights {
        grid-template-columns: 1fr;
    }

    .ba-quick-actions {
        grid-template-columns: 1fr;
    }

    .ba-header h1 {
        font-size: 34px;
    }

    .ba-filter-row,
    .ba-filter-row-district {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {

    .ba-dashboard {
        height: auto;
        overflow: visible;
    }

    .ba-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .ba-sidebar-fixed-logo {
        padding-bottom: 8px;
    }

    .ba-main {
        margin-left: 0;
        height: auto;
        overflow: visible;
        padding: 20px 15px;
    }

    .ba-topbar,
    .ba-page {
        max-width: none;
    }

    .ba-header {
        padding: 22px 18px;
    }

    .ba-metrics {
        grid-template-columns: 1fr;
    }

    .ba-dashboard-insights {
        gap: 12px;
    }

    .ba-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .ba-menu-scroll {
        overflow: visible;
    }

    .ba-form {
        grid-template-columns: 1fr;
    }

    .ba-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .ba-overlay {
        padding: 12px;
    }

    .ba-profile-view-actions {
        justify-content: stretch;
    }

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-left {
        min-height: 420px;
        padding-top: 65px;
    }

        .login-left h1 {
            font-size: 52px;
        }

    .login-role-title {
        margin-top: 70px;
        font-size: 25px;
    }

    .choice-title {
        font-size: 50px;
        margin-bottom: 70px;
    }

    .choice-buttons {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}

@media (max-width: 1050px) {
    .ba-report-maker-controls,
    .ba-report-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ba-report-maker-head {
        flex-direction: column;
    }

    .ba-report-maker-controls,
    .ba-report-preview-grid {
        grid-template-columns: 1fr;
    }
}
.ba-notif-btn {
    position: relative;
}

.ba-notif-counter {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--red);
    color: white;
    font-size: 11px;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.ba-notif-item {
    position: relative;
    cursor: pointer;
}

    .ba-notif-item:hover {
        border-color: var(--blue);
    }

.ba-notif-x {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffd9dc;
    color: #b83035;
    font-weight: 900;
    line-height: 1;
}

.ba-notif-detail-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    margin-bottom: 14px;
}

.ba-notif-detail-title {
    color: var(--navy);
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
}

.ba-notif-detail-meta {
    color: #777;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ba-notif-detail-body {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.ba-notif-btn {
    position: relative;
}

.ba-notif-counter {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--red);
    color: white;
    font-size: 11px;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.ba-notif-item {
    position: relative;
    cursor: pointer;
    padding-right: 46px;
}

    .ba-notif-item:hover {
        border-color: var(--blue);
    }

.ba-notif-x {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffd9dc;
    color: #b83035;
    font-weight: 900;
    line-height: 1;
}

.ba-notif-detail-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    margin-bottom: 14px;
}

.ba-notif-detail-title {
    color: var(--navy);
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
}

.ba-notif-detail-meta {
    color: #777;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ba-notif-detail-body {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.ba-overlay-wide {
    width: min(900px, 100%);
}

.ba-verification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

    .ba-verification-grid h3 {
        margin: 0 0 10px;
        color: var(--navy);
        font-size: 16px;
        font-weight: 900;
    }

.ba-verification-img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f3f5f9;
}

@media (max-width: 850px) {

    .ba-verification-grid {
        grid-template-columns: 1fr;
    }
}

.ba-muted {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.ba-detail-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 18px;
    align-items: start;
}

.ba-detail-image {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f3f5f9;
}

.ba-detail-image-empty {
    width: 100%;
    min-height: 160px;
    border-radius: 14px;
    border: 1px dashed var(--border);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
}

.ba-detail-info h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 24px;
    font-weight: 900;
}

.ba-detail-info p {
    margin: 6px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.45;
}

.ba-detail-description {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.ba-detail-section-title {
    margin: 22px 0 10px;
    color: var(--navy);
    font-size: 18px;
    font-weight: 900;
}

.ba-discussion-list {
    display: grid;
    gap: 10px;
}

.ba-discussion-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px;
    background: #ffffff;
}

    .ba-discussion-item h4 {
        margin: 0 0 5px;
        color: var(--navy);
        font-size: 14px;
        font-weight: 900;
    }

    .ba-discussion-item p {
        margin: 0;
        color: #334155;
        font-size: 13px;
        line-height: 1.45;
    }

.ba-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

@media (max-width: 850px) {
    .ba-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Add this at the bottom of Content/Bayanihan/Bayanihan.css if these classes are missing. */

.ba-overlay-wide {
    width: min(980px, 100%);
}

.ba-muted {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.ba-detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 22px;
    align-items: start;
}

.ba-detail-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border, #dbe1ec);
    background: #f3f5f9;
}

.ba-detail-image-empty {
    width: 100%;
    min-height: 170px;
    border-radius: 14px;
    border: 1px dashed var(--border, #dbe1ec);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
}

.ba-detail-info h3 {
    margin: 0 0 8px;
    color: var(--navy, #25385f);
    font-size: 24px;
    font-weight: 900;
}

.ba-detail-info p {
    margin: 6px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.45;
}

.ba-detail-description {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border, #dbe1ec);
}

.ba-detail-section-title {
    margin: 22px 0 10px;
    color: var(--navy, #25385f);
    font-size: 18px;
    font-weight: 900;
}

.ba-discussion-list {
    display: grid;
    gap: 10px;
}

.ba-discussion-item {
    border: 1px solid var(--border, #dbe1ec);
    border-radius: 14px;
    padding: 13px;
    background: #ffffff;
}

    .ba-discussion-item h4 {
        margin: 0 0 5px;
        color: var(--navy, #25385f);
        font-size: 14px;
        font-weight: 900;
    }

    .ba-discussion-item p {
        margin: 0;
        color: #334155;
        font-size: 13px;
        line-height: 1.45;
    }

.ba-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

@media (max-width: 850px) {
    .ba-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Bayanihan_UniversalMedia_CSS_Patch.txt */
/* Add this at the bottom of Content/Bayanihan/Bayanihan.css */

.ba-muted {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.ba-detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

.ba-detail-image {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid var(--border, #dbe2ea);
    background: #f3f5f9;
}

.ba-detail-image-empty {
    width: 100%;
    min-height: 180px;
    border-radius: 14px;
    border: 1px dashed var(--border, #dbe2ea);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
    text-align: center;
    line-height: 1.5;
}

.ba-detail-info h3 {
    margin: 0 0 10px;
    color: var(--navy, #25385f);
    font-size: 26px;
    font-weight: 900;
}

.ba-detail-info p {
    margin: 7px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.45;
}

.ba-detail-description {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border, #dbe2ea);
}

.ba-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.ba-detail-section-title {
    margin: 24px 0 12px;
    color: var(--navy, #25385f);
    font-size: 18px;
    font-weight: 900;
}

.ba-discussion-list {
    display: grid;
    gap: 10px;
}

.ba-discussion-item {
    border: 1px solid var(--border, #dbe2ea);
    border-radius: 14px;
    padding: 13px;
    background: #ffffff;
}

    .ba-discussion-item h4 {
        margin: 0 0 5px;
        color: var(--navy, #25385f);
        font-size: 14px;
        font-weight: 900;
    }

    .ba-discussion-item p {
        margin: 0;
        color: #334155;
        font-size: 13px;
        line-height: 1.45;
    }

.ba-image-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #eef4ff;
    color: #25385f;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

@media (max-width: 850px) {
    .ba-detail-grid {
        grid-template-columns: 1fr;
    }
}

.ba-media-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ba-table-preview-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.ba-detail-image {
    width: 100%;
    max-width: 420px;
    max-height: 320px;
    object-fit: contain;
    border-radius: 14px;
    background: #f4f4f4;
}

.ba-verification-img {
    width: 100%;
    max-width: 360px;
    height: 260px;
    object-fit: contain;
    border-radius: 14px;
    background: #f4f4f4;
}

.ba-notif-detail-image {
    width: 100%;
    max-width: 420px;
    max-height: 280px;
    object-fit: contain;
    border-radius: 14px;
}
.ba-notif-item.unseen {
    background: #fff4f4;
    border-left: 5px solid #c0392b;
}

.ba-notif-item.seen {
    background: #ffffff;
    border-left: 5px solid transparent;
    opacity: 0.88;
}

.ba-location-map {
    margin-top: 16px;
    border: 1px solid var(--border, #dbe2ea);
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.ba-location-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    color: var(--navy, #25385f);
}

.ba-location-map iframe,
.ba-bounded-location-map {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    background: #eef2f7;
}

.ba-bounded-location-map {
    min-height: 260px;
}

.ba-location-coords {
    margin: 0;
    padding: 10px 12px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    border-top: 1px solid var(--border, #dbe2ea);
}

@media (max-width: 640px) {
    .ba-location-map-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ba-location-map iframe {
        height: 220px;
    }
}
