@import url('variables.css');


body {
    background: #eef6fc !important; 
    font-family: Arial, "Segoe UI", Arial, sans-serif !important;
}



.nav-item .header {
    color: var(--color-gunian) !important;
    font-weight: bold;
}

.nav-link {
    padding: 0px !important;
}

/* Make FullCalendar blend with Bootstrap */
#calendar {
    width: 100%;
    margin: 0 auto;
}

.fc .fc-toolbar-title {
    font-size: 16px;
    color: var(--color-blue);
    font-weight: bold;
    position: absolute;
    top: 90px;
    width: 100%;
    margin-left: -33%;
}

.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number {
    text-decoration: none;
}

button.fc-today-button.fc-button.fc-button-primary {
    font-size: 12px;
}

.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child),
.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child) {
    font-size: 12px;
    height: 30px;
}

.fc-button-primary {
    background-color: var(--color-blue) !important;
    border-color: var(--color-blue) !important;
}

.fc-button-primary:hover {
    background-color: var(--color-3) !important;
    border-color: var(--color-3) !important;
}

.fc-daygrid-event {
    background-color: var(--color-3) !important;
    border: none;
    color: white;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.85rem;
}

.card {
    border-radius: 1rem;
}

.bg-primary {
    background-color: var(--color-3) !important;
}

.table-responsive {
    max-height: 80vh;
    overflow: auto;
}

.highlight-row td {
    background-color: var(--color-date) !important;
    /* light yellow background */
    border: 2px solid var(--color-date) !important;
    /* amber border */
    transition: background-color 0.5s, border 0.5s;
    animation: flash-bg 1s ease-in-out 3;
    color: #FFF;
}

.details-limiter {
    max-height: 93px;
    width: 150px;
    display: flex;
    overflow: hidden;
    align-items: flex-start;
}

.status-card {
    display: inline-block;
    width: 150px;
    padding: 12px;
    margin: 4px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.status-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.status-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-blue);
    /* Green-ish text like screenshot */
}

.status-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-3);
    /* Red count */
    margin-top: 4px;
}



button.fc-timeGridWeek-button.fc-button.fc-button-primary {
    height: 30px;
    width: 60px;
    font-size: 12px;
}

button.fc-timeGridDay-button.fc-button.fc-button-primary {
    height: 30px;
    width: 60px;
    font-size: 12px;
}

span.fc-icon.fc-icon-chevron-left {
    height: 30px;
    width: 30px;
    font-size: 12px;
}

span.fc-icon.fc-icon-chevron-right {
    height: 30px;
    width: 30px;
    font-size: 12px;
}

button.fc-today-button.fc-button.fc-button-primary {
    position: absolute;
    top: 6px;
    right: 6px;
}

#viewEventModalBody {
    color: var(--color-sang);
}

.calendar-title {
    font-size: 17px;
    font-weight: bold;
    line-height: 15px;
    color: var(--color-blue);
    text-transform: uppercase;
}

.calendar-details {
    color: var(--color-grey);
}

/* =========================================
MAYOR HERO
========================================= */

.mayor-hero {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 90 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 116px !important;
    padding: 18px 28px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 22px !important;
    align-items: center !important;
    background: radial-gradient(circle at 88% 8%, rgba(39, 171, 218, .32), transparent 34%), linear-gradient(115deg, #062f56 0%, #075185 48%, #0e7db7 100%) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .22) !important;
    box-shadow: 0 12px 30px rgba(6, 61, 107, .18) !important;
    overflow: hidden !important;
    background: linear-gradient(90deg, rgba(201, 164, 92, .88), rgba(45, 176, 231, .80)) left bottom / 100% 4px no-repeat, radial-gradient(circle at 78% -30%, rgba(73, 188, 236, .45), transparent 34%), linear-gradient(115deg, #071f3a 0%, #073f6f 44%, #0e87bc 100%) !important;
}

.hero-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    flex-shrink: 0;
}

.hero-top-text {
    font-size: 11px !important;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 1.4;
    opacity: .9;
    margin-bottom: 12px;
    color: #cceeff !important;
}

.hero-title {
    display: block !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: clamp(30px, 3.05vw, 48px) !important;
    line-height: 1.02 !important;
    color: #154f7f !important;
    -webkit-text-fill-color: #154f7f !important;
    font-weight: 680 !important;
    letter-spacing: -.035em !important;
    margin: 3px 0 4px !important;
}

.header-hero-title {
    display: block !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: clamp(24px, 2.50vw, 40px) !important;
    line-height: 1.02 !important;
    color: #FFF !important;
    -webkit-text-fill-color: #FFF !important;
    font-weight: 680 !important;
    letter-spacing: -.035em !important;
    margin: 3px 0 4px !important;
}

.header-hero-subtitle {
    font-size: 12px !important;
    letter-spacing: .14em !important;
    line-height: 1.35 !important;
    color: #FFF !important;
    -webkit-text-fill-color: #FFF !important;
    max-width: 100% !important;
    white-space: normal !important;
    font-weight: bold !important;
}

.hero-subtitle {
    font-size: 12px !important;
    letter-spacing: .14em !important;
    line-height: 1.35 !important;
    color: #e3f6ff !important;
    -webkit-text-fill-color: #e3f6ff !important;
    max-width: 100% !important;
    white-space: normal !important;
    font-weight: bold !important;
}

/* RIGHT BOXES */

.hero-right-boxes {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    height: 100%;
}

.hero-info-card {
    min-height: 48px !important;
    height: auto !important;
    border-radius: 18px !important;
    padding: 8px 14px !important;
    background: rgba(255, 255, 255, .14) !important;
    border: 1px solid rgba(225, 245, 255, .26) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20) !important;
    font-weigh: bold !important;
}

.hero-info-big {
    font-size: 14px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: bold;
}

.hero-info-small {
    font-size: 11px !important;
    color: #d8f0ff !important;
    -webkit-text-fill-color: #d8f0ff !important;
    font-weight: bold;
}

/* =========================================
LGU FOOTER
========================================= */

.lgu-footer {
    background:
        linear-gradient(90deg,
            #0b4f88 0%,
            #0f6aa7 50%,
            #1686c7 100%);
    padding: 28px 34px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* LOGO */

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    flex-shrink: 0;
}

/* TEXT */

.footer-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.footer-subtitle {
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
    opacity: .96;
}

.footer-description {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
    opacity: .9;
    max-width: 700px;
}

/* LINKS */

.footer-links {
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    height: 100%;
}

.footer-pill {
    text-decoration: none;
    color: #fff;
    background:
        rgba(255, 255, 255, .14);
    border:
        1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 14px;
    max-width: 300px;
    font-weight: 700;
    transition: .25s ease;
    text-align: center;
}

.footer-pill:hover {
    background:
        rgba(255, 255, 255, .22);
    color: #fff;
}

/* =========================================
CHECKIN PAGE
========================================= */

.checkin-system-wrapper {
    padding: 40px;
    border-radius: 40px;
    background:
        linear-gradient(135deg,
            #f9fcff,
            #edf5fc);
    border:
        1px solid #d8e7f5;
}

/* MAIN PANEL */

.checkin-main-panel {
    padding: 28px;
    border-radius: 38px;
    background:
        rgba(255, 255, 255, .55);
    border:
        1px solid #d8e7f5;
}

/* LEFT PANEL */

.checkin-left-panel {
    height: 100%;
    padding: 15px;
    border-radius: 32px;
    background: #fff;
    border:
        1px solid #dce8f5;
}

.checkin-badge {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 50px;
    background: #edf5ff;
    border:
        1px solid #cfe2f8;
    color: #1564a7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.checkin-title {
    font-size:
        clamp(30px, 4vw, 52px);
    line-height: .96;
    font-weight: 650;
    color: #0f5a92;
    margin-bottom: 26px;
}

.checkin-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: #587da3;
    max-width: 760px;
}

/* SEARCH */

.checkin-search-box {
    margin-top: 34px;
    padding: 22px;
    border-radius: 26px;
    border:
        1px solid #d7e5f4;
    background: #f8fbff;
}

.search-label {
    font-size: 15px;
    font-weight: 800;
    color: #185b95;
    margin-bottom: 16px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 22px;
    background: #fff;
    border:
        2px solid #d6e5f4;
}

.search-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f5a92;
    font-size: 22px;
}

.search-input-wrap input {
    flex: 1;
    border: 1px solid #d6e5f4;
    outline: none;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #184f8c;
}

.search-input-wrap button {
    min-width: 130px;
    height: 46px;
    border: none;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background:
        linear-gradient(135deg,
            #1886e8,
            #0b5cb6);
    margin-right: 10px;
}

/* QUICK BOX */

.quick-box {
    height: 140px;
    padding: 14px;
    border-radius: 24px;
    background: #fff;
    border:
        1px solid #d8e7f5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .25s ease;
}

.quick-box:hover {
    transform: translateY(-4px);
}

.quick-box i {
    font-size: 34px;
    color: #0f5a92;
}

.quick-box span {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    color: #0f5a92;
}

/* RIGHT PANEL */

.queue-panel {
    height: 100%;
    padding: 38px 18px;
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(180deg, #0c4f81, #1498c8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.queue-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.queue-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.queue-bottom {
    margin-top: 40px;
}

.queue-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.queue-badge {
    padding: 7px 20px;
    border-radius: 50px;
    display: inline-block;
    background:
        rgba(255, 255, 255, .14);
    border:
        1px solid rgba(255, 255, 255, .18);
    font-size: 15px;
    font-weight: 800;
    max-width: 290px;
}

.queue-number {
    font-size:
        clamp(32px, 4vw, 70px);
    line-height: 1;
    font-weight: 900;
}

.queue-text {
    font-size: 17px;
    line-height: 1.8;
    opacity: .94;
}

.queue-stats {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.queue-stat-box {
    flex: 1;
    padding: 5px 18px;
    border-radius: 12px;
    background:
        rgba(255, 255, 255, .12);
    border:
        1px solid rgba(255, 255, 255, .16);
    line-height: 1.2;
}

.queue-stat-box strong {
    display: block;
    font-size: 18px;
}

.queue-stat-box span {
    font-size: 15px;
    opacity: .95;
}

/* STEPS */

.step-card {
    min-height: 90px;
    border-radius: 24px;
    padding: 20px;
    background: #fff;
    border:
        1px solid #d8e7f5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-no {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0f5a92;
}

.step-card span {
    font-size: 16px;
    font-weight: 800;
    color: #0f5a92;
}

/* RESPONSIVE */

@media(max-width:991px) {
    .checkin-system-wrapper {
        padding: 18px;
        border-radius: 24px;
    }

    .checkin-main-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .checkin-left-panel,
    .queue-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .checkin-title {
        font-size: 52px;
    }

    .search-input-wrap {
        flex-direction: column;
    }

    .search-input-wrap button {
        width: 100%;
    }

    .queue-stats {
        margin-top: 34px;
    }
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:991px) {
    .lgu-footer {
        padding: 24px 20px;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-pill {
        font-size: 12px !important;
        width: 100%;
    }

}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:991px) {
    .mayor-hero {
        position: relative !important;
        padding: 26px 22px;
        width: 100% !important;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-right-boxes {
        justify-content: center;
    }

    .hero-info-card {
        width: 100%;
        text-align: center;
        max-width: 200px;
    }

}

.kiosk-hero {
    width: 100%;
    background: #eef5fb;
    border: 1px solid #cfe0ef;
    border-radius: 34px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 28px;
}

.kiosk-left {
    flex: 1;
}

.kiosk-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: #ddebf8;
    border: 1px solid #c6dbef;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    color: #5f7d9f;
    margin-bottom: 18px;
}

.kiosk-title {
    font-size: clamp(30px, 4vw, 54px);
    line-height: .95;
    font-weight: 700;
    color: #0d4f81;
    margin-bottom: 28px;
    max-width: 620px;
}

.kiosk-description {
    font-size: 20px;
    line-height: 1.8;
    color: #184a79;
    max-width: 760px;
}

.kiosk-help {
    width: 450px;
    background: #fff;
    border: 1px solid #cfe0ef;
    border-radius: 34px;
    padding: 46px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kiosk-help h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0d4f81;
    margin-bottom: 22px;
}

.kiosk-help p {
    font-size: 21px;
    line-height: 1.8;
    color: #184a79;
    margin: 0;
}

@media(max-width:1200px) {

    .kiosk-title {
        font-size: 62px;
    }

    .kiosk-help {
        width: 390px;
    }
}

@media(max-width:991px) {

    .kiosk-hero {
        flex-direction: column;
    }

    .kiosk-help {
        width: 100%;
    }

    .kiosk-title {
        font-size: 52px;
    }

    .kiosk-description {
        font-size: 18px;
    }
}

@media(max-width:576px) {

    .kiosk-hero {
        padding: 24px;
        border-radius: 24px;
    }

    .kiosk-help {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .kiosk-title {
        font-size: 42px;
    }

    .kiosk-description {
        line-height: 1.6;
    }
}

.assistance-search-box {
    width: 100%;
    background: #fdfdfd;
    border: 1px solid #d7e5f2;
    border-radius: 34px;
    padding: 30px;
    margin-bottom: 28px;
}

.assistance-search-title {
    font-size: 28px;
    font-weight: 800;
    color: #164d7f;
    margin-bottom: 22px;
}

.assistance-search-wrapper {
    width: 100%;
    border: 2px solid #9ec6e9;
    border-radius: 28px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.assistance-search-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #0e5488;
    flex-shrink: 0;
}

.assistance-search-input {
    width: 100%;
    height: 62px;
    border: 1px solid #c8dced;
    border-radius: 18px;
    padding: 0 22px;
    font-size: 18px;
    color: #164d7f;
    outline: none;
    background: #f8fbfe;
}

.assistance-search-input::placeholder {
    color: #35658f;
    opacity: 1;
}

.assistance-clear-btn {
    width: 138px;
    height: 62px;
    border: none;
    border-radius: 18px;
    background: #1881be;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    transition: .2s ease;
}

.assistance-clear-btn:hover {
    background: #0f6fa8;
}

.assistance-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.assistance-tag {
    padding: 16px 30px;
    border-radius: 18px;
    border: 1px solid #c7dced;
    background: #f5f9fd;
    font-size: 19px;
    font-weight: 700;
    color: #1261a1;
    transition: .2s ease;
    cursor: pointer;
}

.assistance-tag:hover {
    background: #1881be;
    color: #fff;
    border-color: #1881be;
}

.service-section {
    width: 100%;
    margin-bottom: 30px;
}

.service-section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.service-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #154d7e;
}

.service-section-subtitle {
    font-size: 18px;
    color: #1d4f7e;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-card {
    background: #fff;
    border: 1px solid #d4e4f1;
    border-radius: 34px;
    padding: 26px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-top {
    display: flex;
    gap: 24px;
}

.service-logo {
    width: 170px;
    height: 120px;
    object-fit: contain;
}

.service-info {
    flex: 1;
}

.service-id {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #164d7f;
    margin-bottom: 10px;
}

.service-name {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f4f81;
    margin-bottom: 14px;
}

.service-office {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #184a79;
}

.service-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    margin-top: 30px;
}

.service-details-btn {
    width: 168px;
    height: 54px;
    border: 1px solid #9fcaeb;
    border-radius: 18px;
    background: #fff;
    color: #0f4f81;
    font-size: 18px;
    font-weight: 700;
}

.service-request-btn {
    width: 195px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #1177b5, #1fb7e4);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: .2s ease;
}

.service-request-btn i {
    font-size: 22px;
}

@media(max-width:991px) {

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-section-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media(max-width:576px) {

    .service-card {
        padding: 22px;
        border-radius: 24px;
    }

    .service-card-top {
        flex-direction: column;
    }

    .service-logo {
        width: 140px;
    }

    .service-name {
        font-size: 24px;
    }

    .service-office {
        font-size: 16px;
    }

    .service-details-btn,
    .service-request-btn {
        width: 100%;
    }

    .service-actions {
        align-items: stretch;
    }
}

@media(max-width:991px) {

    .assistance-search-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .assistance-clear-btn {
        width: 100%;
    }
}

@media(max-width:576px) {

    .assistance-search-box {
        padding: 22px;
        border-radius: 24px;
    }

    .assistance-search-title {
        font-size: 22px;
    }

    .assistance-search-input {
        font-size: 15px;
        height: 56px;
    }

    .assistance-clear-btn {
        height: 56px;
    }

    .assistance-tag {
        width: 100%;
        text-align: center;
    }
}

.service-section {
    width: 100%;
    margin-bottom: 30px;
}

.service-section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.service-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #154d7e;
}

.service-section-subtitle {
    font-size: 18px;
    color: #1d4f7e;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-card {
    background: #fdfefe;
    border: 1px solid #d4e4f1;
    border-radius: 34px;
    padding: 26px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-top {
    display: flex;
    gap: 24px;
}

.service-logo {
    width: 170px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.service-info {
    flex: 1;
}

.service-id {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #164d7f;
    margin-bottom: 10px;
}

.service-name {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 600;
    color: #0f4f81;
    margin-bottom: 14px;
}

.service-office {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #184a79;
    max-width: 340px;
}

.service-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    margin-top: 30px;
}

.service-details-btn {
    width: 145px;
    height: 42px;
    border: 1px solid #9fcaeb;
    border-radius: 10px;
    background: #fff;
    color: #0f4f81;
    font-size: 15px;
    font-weight: 700;
    transition: .2s ease;
}

.service-details-btn:hover {
    background: #edf7ff;
}

.service-request-btn {
    width: 195px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #1177b5, #1fb7e4);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: .2s ease;
}

.service-request-btn:hover {
    transform: translateY(-2px);
}

.service-request-btn i {
    font-size: 22px;
}

@media(max-width:1200px) {

    .service-card-top {
        flex-direction: column;
    }

    .service-logo {
        width: 150px;
    }
}

@media(max-width:991px) {

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-section-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media(max-width:576px) {

    .service-card {
        padding: 22px;
        border-radius: 24px;
    }

    .service-name {
        font-size: 24px;
    }

    .service-office {
        font-size: 16px;
    }

    .service-details-btn,
    .service-request-btn {
        width: 100%;
    }

    .service-actions {
        align-items: stretch;
    }

    .header-hero-subtitle,
    .hero-right-boxes {
        display: none;
    }
}

@keyframes flash-bg {

    0%,
    100% {
        background-color: #fff3cd;
    }

    50% {
        background-color: #f3c941ff;
    }
}

@media (min-width: 992px) {
    .custom-margin-left-for-container {
        margin-left: 255px !important;
        width: calc(100% - 255px) !important;
    }

    @media (max-width: 992px) {
        .custom-margin-left-for-container {
            margin-left: 255px !important;
            width: calc(100% - 255px) !important;
        }
    }

    /* =========================================
CONSTRUCTION ROLE WORKSPACES
========================================= */

    .construction-workspace {
        color: #163b56;
    }

    .workspace-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px;
        align-items: stretch;
        padding: 30px;
        border: 1px solid #d2e2ee;
        border-radius: 18px;
        background: linear-gradient(135deg, #ffffff 0%, #edf7fb 100%);
        box-shadow: 0 14px 34px rgba(29, 78, 116, .08);
        margin-bottom: 20px;
    }

    .engineer-workspace .workspace-hero {
        background: linear-gradient(135deg, #ffffff 0%, #eff8f2 100%);
    }

    .workspace-kicker {
        color: #1778a8;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .18em;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .engineer-workspace .workspace-kicker {
        color: #28764b;
    }

    .workspace-hero h1 {
        margin: 0 0 12px;
        color: #0d446b;
        font-size: clamp(28px, 3vw, 44px);
        font-weight: 800;
        line-height: 1.05;
    }

    .workspace-hero p {
        margin: 0;
        max-width: 720px;
        color: #496a7f;
        font-size: 16px;
        line-height: 1.65;
        font-weight: 600;
    }

    .workspace-hero-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        padding: 24px;
        border-radius: 16px;
        background: #0f5f8b;
        color: #fff;
    }

    .workspace-hero-panel.engineer-panel {
        background: #246d46;
    }

    .workspace-status-label {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
        opacity: .82;
    }

    .workspace-hero-panel strong {
        font-size: 22px;
        line-height: 1.15;
    }

    .workspace-hero-panel small {
        font-size: 13px;
        opacity: .9;
    }

    .workspace-stats-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
        margin-bottom: 20px;
    }

    .workspace-stat {
        min-height: 128px;
        padding: 20px;
        border: 1px solid #d5e4ef;
        border-radius: 14px;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .workspace-stat i {
        color: #1778a8;
        font-size: 24px;
    }

    .engineer-workspace .workspace-stat i {
        color: #28764b;
    }

    .workspace-stat span {
        color: #5b7585;
        font-size: 13px;
        font-weight: 800;
    }

    .workspace-stat strong {
        color: #102f45;
        font-size: 30px;
        line-height: 1;
    }

    .workspace-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 20px;
    }

    .workspace-panel {
        border: 1px solid #d5e4ef;
        border-radius: 16px;
        background: #fff;
        padding: 22px;
        box-shadow: 0 12px 28px rgba(29, 78, 116, .06);
    }

    .workspace-main-panel {
        min-height: 360px;
    }

    .workspace-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
        margin-bottom: 18px;
    }

    .workspace-panel-header span {
        color: #6c8799;
        display: block;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .workspace-panel-header h2 {
        color: #123b58;
        font-size: 22px;
        font-weight: 800;
        margin: 4px 0 0;
    }

    .workspace-icon-btn {
        width: 44px;
        height: 44px;
        border: 1px solid #c9dbe8;
        border-radius: 12px;
        background: #f7fbfe;
        color: #155f8f;
    }

    .workspace-task-list {
        display: grid;
        gap: 12px;
    }

    .workspace-task {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 18px;
        border: 1px solid #d9e6ef;
        border-left-width: 6px;
        border-radius: 12px;
        background: #fbfdff;
    }

    .workspace-task strong,
    .workspace-review-row span {
        display: block;
        color: #173c55;
        font-weight: 800;
    }

    .workspace-task span,
    .workspace-task em {
        color: #607c8f;
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
    }

    .priority-high {
        border-left-color: #c94f4f;
    }

    .priority-medium {
        border-left-color: #d9a52d;
    }

    .priority-low {
        border-left-color: #2e8f62;
    }

    .workspace-actions-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .workspace-actions-grid button {
        min-height: 104px;
        border: 1px solid #d4e3ee;
        border-radius: 14px;
        background: #f8fcff;
        color: #164765;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: 800;
    }

    .workspace-actions-grid button:hover {
        background: #eaf6fc;
    }

    .engineer-workspace .workspace-actions-grid button:hover {
        background: #edf8f1;
    }

    .workspace-actions-grid i {
        font-size: 24px;
    }

    .workspace-review-table {
        border: 1px solid #dce8ef;
        border-radius: 12px;
        overflow: hidden;
    }

    .workspace-review-row {
        display: grid;
        grid-template-columns: 1.1fr 1fr 160px;
        gap: 14px;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid #e4edf4;
    }

    .workspace-review-row:last-child {
        border-bottom: 0;
    }

    .workspace-review-head {
        background: #f4f9fc;
    }

    .workspace-review-head span {
        color: #6f8795;
        font-size: 12px;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .workspace-review-row strong {
        color: #216743;
        font-size: 13px;
        text-align: right;
    }

    @media(max-width:1200px) {
        .workspace-stats-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .workspace-layout,
        .workspace-hero {
            grid-template-columns: 1fr;
        }
    }

    @media(max-width:576px) {

        .workspace-hero,
        .workspace-panel {
            padding: 18px;
            border-radius: 14px;
        }

        .workspace-stats-grid,
        .workspace-actions-grid {
            grid-template-columns: 1fr;
        }

        .workspace-task,
        .workspace-review-row {
            grid-template-columns: 1fr;
        }

        .workspace-task {
            flex-direction: column;
        }

        .workspace-review-row strong {
            text-align: left;
        }
    }