


body {
    margin: 0;
    background: #eef8ff;
    font-family: "Segoe UI",Arial,sans-serif;
    color: #073b5c;
}





/* ==========================
 HEADER
========================== */

/*
.phed-header {
    height: 74px;
    background: #FF9933;
}*/


.phed-header {
    width: 100%;
    background: #FF9933;
    min-height: 86px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 15px rgba(0,0,0,.10);
}


/*.header-container {
    height: 100%;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}*/



.header-container {
    width: 94%;
    max-width: 1944px;
    min-height: 86px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}



.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

    .brand-section:hover {
        color: white;
        text-decoration: none;
    }





.logo {
    width: 42px;
}





.brand-name {
    font-size: 16px;
    font-weight: 700;
}





.brand-subtitle {
    font-size: 12px;
}







/* ==========================
 NAVIGATION
========================== */

/*
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}
*/

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 1;
}

    /*  .nav-menu a {
        color: white;
        text-decoration: none;
        font-size: 14px;
    }*/


    .nav-menu a {
        color: white;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        padding: 10px 15px;
        border-radius: 24px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }


        .nav-menu a.active {
            background: white;
            color: #e6790a;
            box-shadow: 0 3px 12px rgba(0,0,0,.10);
        }

@media (max-width: 850px) {

    .header-container {
        width: 100%;
        max-width: 100%;
        padding: 12px 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav-menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

        .nav-menu a {
            width: 100%;
            padding: 9px 6px;
            font-size: 11px;
            white-space: normal;
            text-align: center;
        }
}

@media (max-width: 500px) {

    .header-container {
        padding: 10px 12px;
    }

    .brand-name {
        font-size: 13px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .nav-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

        .nav-menu a {
            font-size: 10px;
            min-height: 38px;
            padding: 7px 3px;
        }
}

/* ==========================
 HOME
========================== */


/*.home-container {
    width: 880px;
    margin: 25px auto;
}*/


.home-container {
    width: 97%;
    max-width: 1750px;
    margin: 35px auto;
    padding: 0 20px;
}






/* ==========================
 HERO
========================== */


.hero-card {
    background: white;
    padding: 25px;
    border-radius: 25px;
    display: flex;
    gap: 30px;
}





.hero-content {
    width: 58%;
}





.hero-label {
    color: #FF9933;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}





.hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 750;
}





.hero-content p {
    font-size: 14px;
    color: #587287;
    line-height: 1.6;
}







/* ==========================
 BUTTONS
========================== */


.button-area {
    margin-top: 20px;
}





.btn-primary-custom {
    background: #FF9933;
    color: white;
    border: 0;
    padding: 12px 20px;
    border-radius: 30px;
}





    .btn-primary-custom:hover {
        background: #d97800;
    }





.btn-secondary-custom {
    background: #edf7fc;
    border: 1px solid #FF9933;
    color: #073b5c;
    padding: 12px 20px;
    border-radius: 30px;
    margin-left: 6px;
}





    .btn-secondary-custom:hover {
        background: #FF9933;
        color: white;
    }







/* ==========================
 TAGS
========================== */


.tags span {
    display: inline-block;
    background: #fff3e6;
    border: 1px solid #ffd4aa;
    padding: 7px 14px;
    border-radius: 25px;
    font-size: 12px;
    margin-top: 15px;
}







/* ==========================
 SERVICE
========================== */


.service-box {
    width: 42%;
    background: #fff8f0;
    border-radius: 22px;
    padding: 22px;
}





    .service-box li {
        margin-bottom: 14px;
        color: #557287;
        font-size: 13px;
    }





.counter-box {
    display: flex;
    gap: 10px;
}





    .counter-box div {
        background: white;
        padding: 15px;
        border-radius: 14px;
        width: 50%;
        border: 1px solid #ffd4aa;
    }





    .counter-box strong {
        display: block;
        font-size: 18px;
        color: #FF9933;
    }





    .counter-box small {
        color: #668;
    }








/* ==========================
 SECTION
========================== */


.section-header {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
}





    .section-header h3 {
        font-size: 18px;
    }





    .section-header p {
        color: #66839a;
        font-size: 13px;
    }







/* ==========================
 FEATURES
========================== */


.feature-row {
    display: flex;
    gap: 18px;
}





.feature-card {
    background: white;
    padding: 22px;
    border-radius: 20px;
    flex: 1;
}





    .feature-card label {
        color: #FF9933;
        font-size: 12px;
    }





    .feature-card h3 {
        margin-top: 20px;
    }





    .feature-card p {
        color: #557287;
        font-size: 13px;
    }





    .feature-card a {
        color: #FF9933;
        font-size: 13px;
    }
/* ==========================
   BOTTOM SECTION
========================== */


.bottom-row {
    display: flex;
    gap: 18px;
    margin-top: 18px;
}





.bottom-card {
    background: white;
    padding: 22px;
    border-radius: 20px;
    flex: 1;
}





    .bottom-card p,
    .bottom-card li {
        color: #557287;
        font-size: 13px;
    }







/* ==========================
 LOGIN / REGISTER PAGE
========================== */


.login-wrapper {
    width: 880px;
    margin: 25px auto;
}




.login-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}





.login-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #dce8ef;
    padding-bottom: 5px;
    margin-bottom: 25px;
}




.tab-btn {
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    color: #46657b;
    font-size: 14px;
}





.active-tab {
    background: #FF9933;
    color: white !important;
    border: 1px solid #FF9933;
}





.login-card h3 {
    font-size: 18px;
    color: #073b5c;
}





.info-text {
    color: #67839a;
    font-size: 13px;
    margin-bottom: 25px;
}





.registration-form {
    display: flex;
    align-items: end;
    gap: 12px;
}





.form-group {
    flex: 1;
}





    .form-group label {
        display: block;
        font-size: 13px;
        margin-bottom: 8px;
        color: #173f58;
    }





.form-control {
    height: 38px;
    border: 1px solid #d7e5ee;
    border-radius: 8px;
    padding: 0 12px;
    width: 100%;
}





.three-input {
    display: flex;
    gap: 8px;
}





.search-btn {
    background: #FF9933;
    color: white;
    border: none;
    border-radius: 25px;
    height: 38px;
    padding: 0 22px;
    cursor: pointer;
}





    .search-btn:hover {
        background: #d97800;
    }








/* =========================================================
   SHOW BILL / BILL DETAILS PAGE
========================================================= */

.bill-page {
    width: 94%;
    max-width: 1450px;
    margin: 22px auto 35px;
    padding: 0 15px;
}

.bill-card {
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(7, 59, 92, 0.08);
}

/* TOP HEADER */
.bill-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e8eef2;
}

.bill-label {
    display: block;
    color: #FF9933;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 4px;
}

.bill-main-header h1 {
    margin: 0;
    color: #073b5c;
    font-size: 26px;
    font-weight: 800;
}

.bill-account-badge {
    min-width: 160px;
    padding: 11px 18px;
    border: 1px solid #ffd4aa;
    border-radius: 12px;
    background: #fff8f0;
}

    .bill-account-badge small {
        display: block;
        color: #71869a;
        font-size: 11px;
        margin-bottom: 2px;
    }

    .bill-account-badge strong {
        color: #073b5c;
        font-size: 17px;
        font-weight: 800;
    }

/* MAIN TWO-COLUMN GRID */
.bill-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

/* SECTION CARD */
.bill-section {
    width: 100%;
    border: 1px solid #e3ebf0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.bill-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    background: #fff8f0;
    border-bottom: 1px solid #ffdcb8;
}

    .bill-section-title span {
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 50%;
        background: #FF9933;
        color: white;
        font-size: 11px;
        font-weight: 800;
    }

    .bill-section-title h3 {
        margin: 0;
        color: #073b5c;
        font-size: 17px;
        font-weight: 750;
    }

/* BILL TABLE */
.bill-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

    .bill-info-table td {
        padding: 8px 12px;
        border-bottom: 1px solid #edf1f4;
        vertical-align: middle;
        font-size: 13px;
        line-height: 1.35;
    }

    .bill-info-table tr:last-child td {
        border-bottom: none;
    }

    .bill-info-table td:first-child {
        width: 43%;
        color: #60788b;
        font-weight: 600;
        background: #fbfdfe;
    }

    .bill-info-table td:last-child {
        color: #163f5d;
        font-weight: 600;
    }

/* HIGHLIGHTS */
.consumption-value {
    color: #FF8A00;
    font-size: 14px;
}

.bill-info-table .total-row td {
    background: #fff3e6;
    color: #073b5c;
    font-size: 15px;
    font-weight: 800;
    border-top: 2px solid #FF9933;
}

    .bill-info-table .total-row td:last-child {
        color: #e5790b;
        font-size: 17px;
    }

/* PAYMENT + ADJUSTMENT COLUMN */
.bill-side-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* BOTTOM ACTION AREA */
.bill-action-area {
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 14px;
    background: #fff8f0;
    border: 1px solid #ffd4aa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.bill-total-summary small {
    display: block;
    color: #71869a;
    font-size: 11px;
    margin-bottom: 2px;
}

.bill-total-summary strong {
    color: #073b5c;
    font-size: 24px;
    font-weight: 800;
}

.bill-print-btn {
    min-width: 145px;
    height: 42px;
    padding: 0 24px;
    border: none;
    border-radius: 25px;
    background: #FF9933;
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease;
}

    .bill-print-btn:hover {
        background: #df7f1f;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(255,153,51,.25);
    }

/* EXISTING BILL SEARCH PAGE SUPPORT */
.bill-description {
    color: #557287;
    font-size: 14px;
    margin-bottom: 25px;
}

.bill-form-row {
    display: flex;
    align-items: end;
    gap: 10px;
}

.bill-group {
    flex: 1;
}

    .bill-group label {
        display: block;
        color: #073b5c;
        font-size: 13px;
        margin-bottom: 8px;
    }

.bill-input {
    height: 38px;
    width: 100%;
    border: 1px solid #d8e5ed;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
}

.account-fields {
    display: flex;
    gap: 8px;
}

.bill-search-btn {
    min-height: 40px;
    background: #FF9933;
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 9px 25px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .bill-search-btn:hover {
        background: #d97800;
        color: white;
    }

/* TABLET */
@media (max-width: 1000px) {
    .bill-page {
        width: 96%;
        max-width: 100%;
        padding: 0 12px;
    }

    .bill-card {
        padding: 20px;
    }

    .bill-details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .bill-info-table td {
        padding: 8px 9px;
        font-size: 12px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .bill-page {
        width: 100%;
        padding: 0 12px;
        margin: 15px auto 25px;
    }

    .bill-card {
        padding: 15px;
        border-radius: 14px;
    }

    .bill-main-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .bill-account-badge {
        width: 100%;
    }

    .bill-main-header h1 {
        font-size: 23px;
    }

    .bill-details-grid {
        grid-template-columns: 1fr;
    }

    .bill-section-title h3 {
        font-size: 16px;
    }

    .bill-info-table td {
        padding: 8px 9px;
        font-size: 12px;
    }

        .bill-info-table td:first-child {
            width: 45%;
        }

    .bill-action-area {
        flex-direction: column;
        align-items: stretch;
    }

    .bill-print-btn,
    .bill-search-btn {
        width: 100%;
    }

    .bill-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bill-group {
        width: 100%;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .bill-card {
        padding: 12px;
    }

    .bill-info-table td {
        padding: 7px;
        font-size: 11px;
    }

        .bill-info-table td:first-child {
            width: 46%;
        }

    .bill-main-header h1 {
        font-size: 21px;
    }

    .bill-section-title {
        padding: 10px;
    }

        .bill-section-title span {
            width: 25px;
            height: 25px;
        }

    .bill-total-summary strong {
        font-size: 21px;
    }

    .account-fields {
        gap: 5px;
    }
}


/* ==========================
 PAYMENT PAGE
========================== */


.payment-page {
    width: 900px;
    margin: 25px auto;
}





.payment-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}





.payment-left {
    width: 55%;
    background: #fff7ef;
    padding: 18px;
    border-radius: 12px;
}





    .payment-left h1 {
        text-align: center;
        color: #073b5c;
        font-size: 28px;
        margin-bottom: 20px;
    }





.payment-input {
    width: 100%;
    height: 38px;
    border: 1px solid #ffd4aa;
    border-radius: 5px;
    padding-left: 12px;
    font-size: 14px;
}





.payment-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}





.payment-btn {
    background: #FF9933;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}





    .payment-btn:hover {
        background: #d97800;
    }





.clear-btn {
    background: #eee;
    border: 1px solid #ccc;
    padding: 10px 18px;
    border-radius: 5px;
}





.note-text {
    margin-top: 15px;
    color: #555;
    font-size: 14px;
}





.payment-right {
    width: 45%;
    background: #fff7ef;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 260px;
}





.bill-icon {
    font-size: 45px;
    margin-bottom: 15px;
}





.payment-right h3 {
    font-size: 18px;
    color: #073b5c;
    text-align: center;
}
/* ==========================
   SAVE WATER PAGE
========================== */


.water-page {
    width: 100%;
    padding: 0px 0;
}





.water-card {
    width: 1700px;
    margin: auto;
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}





.water-header {
    text-align: center;
    margin-bottom: 35px;
}





    .water-header span {
        color: #FF9933;
        font-size: 14px;
        letter-spacing: 2px;
        font-weight: 700;
    }





    .water-header h1 {
        color: #073b5c;
        font-size: 34px;
        font-weight: 800;
        margin: 12px 0;
    }





    .water-header p {
        width: 650px;
        margin: auto;
        color: #607896;
        font-size: 16px;
        line-height: 1.6;
    }





.section-title {
    color: #073b5c;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 1px solid #ffd4aa;
    padding-bottom: 12px;
    margin: 35px 0 20px;
}





.method-row {
    display: flex;
    gap: 18px;
}





.method-card {
    flex: 1;
    min-height: 290px;
    border: 1px solid #ffd4aa;
    border-radius: 12px;
    padding: 25px;
    background: white;
}





    .method-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(255,153,51,.20);
    }





    .method-card h4 {
        color: #073b5c;
        font-size: 18px;
    }





    .method-card li {
        color: #607896;
        font-size: 14px;
        line-height: 1.6;
    }





.resource-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}





.resource-card {
    min-height: 150px;
    border: 1px solid #ffd4aa;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}





    .resource-card h5 {
        color: #FF9933;
        font-size: 16px;
    }





    .resource-card p {
        color: #607896;
        font-size: 13px;
    }





    .resource-card a {
        color: #FF9933;
        font-weight: 600;
        text-decoration: none;
    }









/* ==========================
   WATER TARIFF PAGE
========================== */


.tariff-page {
    width: 100%;
    padding-top: 25px;
}





.tariff-card {
    width: 1700px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
}





    .tariff-card h1 {
        color: #073b5c;
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 20px;
    }





.tariff-desc {
    color: #516b86;
    font-size: 15px;
}





.tariff-box {
    border: 1px solid #ffd4aa;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
}





    .tariff-box h3 {
        color: #FF9933;
        font-size: 18px;
    }





    .tariff-box p {
        color: #163f5d;
        font-size: 15px;
    }









/* ==========================
   LINKS PAGE
========================== */


.links-page {
    width: 100%;
    padding-top: 25px;
}





.links-card {
    width: 980px;
    margin: auto;
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
}





    .links-card h1 {
        font-size: 26px;
        color: #073b5c;
        font-weight: 800;
        margin-bottom: 25px;
    }





.department-link {
    display: flex;
    flex-direction: column;
    gap: 18px;
}





    .department-link a {
        color: #FF9933;
        font-size: 16px;
        text-decoration: none;
    }





        .department-link a:hover {
            color: #d97800;
            text-decoration: underline;
        }








/* ==========================
 FOOTER
========================== */


.footer {
    text-align: center;
    padding: 30px;
    color: #66839a;
}





.portal-footer {
    text-align: center;
    margin-top: 60px;
    color: #667;
    font-size: 13px;
}


* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
}





/* ==========================
 RESPONSIVE
========================== */


@media(max-width:1000px) {


    .home-container,
    .login-wrapper,
    .payment-page,
    .water-card,
    .tariff-card,
    .links-card {
        width: 90%;
    }



    .hero-card,
    .feature-row,
    .bottom-row,
    .payment-card,
    .method-row {
        flex-direction: column;
    }





    .hero-content,
    .service-box,
    .payment-left,
    .payment-right {
        width: 100%;
    }





    .registration-form {
        flex-direction: column;
    }





    .resource-row {
        grid-template-columns: 1fr;
    }





    .nav-menu {
        gap: 10px;
    }
}

/* =====================================================
   REGISTRATION STEPS
===================================================== */

.registration-step {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}


.registration-message {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 6px;
}


.success-message {
    background: #eaf8ee;
    color: #167334;
}


.error-message {
    background: #fff0f0;
    color: #b42318;
}


.otp-note {
    margin-bottom: 15px;
    color: #666;
}


.otp-success {
    padding: 10px 12px;
    margin-bottom: 15px;
    background: #eaf8ee;
    color: #167334;
    border-radius: 7px;
    font-weight: 600;
}


.otp-input {
    letter-spacing: 7px;
    text-align: center;
    font-size: 20px;
}



/* =====================================================
   SUCCESS PROFILE MODAL
===================================================== */

.profile-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}


.profile-modal-card {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .20);
}


.profile-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: none;
    background: transparent;
    font-size: 32px;
    cursor: pointer;
}


.profile-success-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #28a745;
    color: white;
    font-size: 32px;
    font-weight: bold;
}


.profile-modal-card h2 {
    text-align: center;
    margin-bottom: 8px;
}


.profile-success-text {
    text-align: center;
    color: #666;
    margin-bottom: 22px;
}


.profile-info {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}


.profile-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 14px;
    border-bottom: 1px solid #eee;
}


    .profile-row:last-child {
        border-bottom: 0;
    }


    .profile-row span {
        color: #666;
    }


    .profile-row strong {
        text-align: right;
    }


.profile-login-btn {
    display: block;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
}

/* ============================================================
   OFFICER PORTAL
   COMMON DESIGN FOR:
   1. METER READING ENTRY
   2. BILL CORRECTION

   THEME:
   Orange    #FF9933
   Dark Blue #073b5c
   Light BG  #eef8ff
============================================================ */


/* ============================================================
   MAIN PAGE
============================================================ */

.officer-module-page {
    width: 96%;
    max-width: 1550px;
    margin: 25px auto 40px !important;
    padding: 0 18px;
    color: #073b5c;
}


    /* ============================================================
   PAGE TOP HEADER
============================================================ */

    .officer-module-page > .d-flex:first-child {
        background: #ffffff;
        border-radius: 18px;
        padding: 20px 24px;
        margin-bottom: 20px !important;
        box-shadow: 0 8px 28px rgba(7, 59, 92, 0.08);
        border: 1px solid #e4edf3;
    }


        /* PAGE TITLE */

        .officer-module-page > .d-flex:first-child h3 {
            margin: 0 0 5px;
            color: #073b5c;
            font-size: 26px;
            font-weight: 800;
        }


            /* TITLE ICON */

            .officer-module-page > .d-flex:first-child h3 i {
                color: #FF9933 !important;
                margin-right: 7px;
            }


        /* SUB TITLE */

        .officer-module-page > .d-flex:first-child small {
            color: #60788b !important;
            font-size: 13px;
        }


    /* ============================================================
   COMMON CARDS
============================================================ */

    .officer-module-page .card {
        background: #ffffff;
        border: 1px solid #e3ebf0 !important;
        border-radius: 18px !important;
        overflow: hidden;
        margin-bottom: 20px;
        box-shadow: 0 8px 28px rgba(7, 59, 92, 0.07) !important;
    }


    /* ============================================================
   CARD HEADER
============================================================ */

    .officer-module-page .card-header {
        min-height: 52px;
        padding: 13px 20px;
        display: flex;
        align-items: center;
        background: #fff8f0 !important;
        border: none !important;
        border-bottom: 1px solid #ffd4aa !important;
        color: #073b5c !important;
    }


        /* HEADER TITLE */

        .officer-module-page .card-header h5,
        .officer-module-page .card-header strong {
            margin: 0;
            color: #073b5c !important;
            font-size: 17px;
            font-weight: 750;
        }


        /* HEADER ICON */

        .officer-module-page .card-header i {
            color: #FF9933 !important;
            margin-right: 7px;
        }


        /* REMOVE BOOTSTRAP BLUE HEADER */

        .officer-module-page .card-header.bg-primary {
            background: #fff8f0 !important;
            color: #073b5c !important;
        }


    /* ============================================================
   CARD BODY
============================================================ */

    .officer-module-page .card-body {
        padding: 22px;
    }


    /* ============================================================
   LABELS
============================================================ */

    .officer-module-page .form-label,
    .officer-module-page label {
        color: #173f58;
        font-size: 13px;
        font-weight: 650;
        margin-bottom: 7px;
    }


    /* REQUIRED STAR */

    .officer-module-page .text-danger {
        color: #d9534f !important;
    }


    /* ============================================================
   INPUTS / SELECT / TEXTAREA
============================================================ */

    .officer-module-page .form-control,
    .officer-module-page .form-select {
        width: 100%;
        min-height: 42px;
        border: 1px solid #d7e5ee;
        border-radius: 9px;
        background: #ffffff;
        color: #073b5c;
        font-size: 13px;
        padding: 8px 12px;
        box-shadow: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }


        /* INPUT FOCUS */

        .officer-module-page .form-control:focus,
        .officer-module-page .form-select:focus {
            border-color: #FF9933;
            box-shadow: 0 0 0 3px rgba(255, 153, 51, .14);
            outline: none;
        }


        /* READ ONLY */

        .officer-module-page .form-control[readonly] {
            background: #f7fbfd;
            color: #45697f;
        }


    /* COMPANY READ ONLY */

    .officer-module-page input[value="Company 12"] {
        background: #fff8f0 !important;
        border-color: #ffd4aa !important;
        color: #e5790b !important;
        font-weight: 700;
    }


    /* TEXTAREA */

    .officer-module-page textarea.form-control {
        min-height: 85px;
        resize: vertical;
    }


    /* ============================================================
   INPUT GROUP
============================================================ */

    .officer-module-page .input-group .form-control {
        border-radius: 9px 0 0 9px;
    }


    .officer-module-page .input-group .btn {
        border-radius: 0 25px 25px 0 !important;
    }


    /* ============================================================
   BUTTON BASE
============================================================ */

    .officer-module-page .btn {
        min-height: 40px;
        padding: 9px 21px;
        border-radius: 25px;
        border: none;
        font-size: 13px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all .2s ease;
        text-decoration: none;
    }


    /* ============================================================
   PRIMARY BUTTON
============================================================ */

    .officer-module-page .btn-primary {
        background: #FF9933 !important;
        color: #ffffff !important;
    }


        .officer-module-page .btn-primary:hover {
            background: #d97800 !important;
            color: #ffffff !important;
            transform: translateY(-1px);
            box-shadow: 0 5px 14px rgba(255, 153, 51, .25);
        }


    /* ============================================================
   SUCCESS BUTTON
============================================================ */

    .officer-module-page .btn-success {
        background: #FF9933 !important;
        color: #ffffff !important;
    }


        .officer-module-page .btn-success:hover {
            background: #d97800 !important;
            color: #ffffff !important;
            transform: translateY(-1px);
            box-shadow: 0 5px 14px rgba(255, 153, 51, .25);
        }


    /* ============================================================
   SECONDARY / BACK BUTTON
============================================================ */

    .officer-module-page .btn-secondary {
        background: #edf7fc !important;
        color: #073b5c !important;
        border: 1px solid #FF9933 !important;
    }


        .officer-module-page .btn-secondary:hover {
            background: #FF9933 !important;
            color: #ffffff !important;
        }


    /* ============================================================
   LOGOUT / DANGER
============================================================ */

    .officer-module-page .btn-danger {
        background: #ffffff !important;
        color: #d9534f !important;
        border: 1px solid #efb4b4 !important;
    }


        .officer-module-page .btn-danger:hover {
            background: #d9534f !important;
            color: #ffffff !important;
        }


    /* ============================================================
   LARGE SAVE BUTTON
============================================================ */

    .officer-module-page .btn-lg {
        min-width: 150px;
        min-height: 43px;
        padding: 10px 25px;
        font-size: 14px;
    }


    /* ============================================================
   TABLES
============================================================ */

    .officer-module-page .table {
        width: 100%;
        margin-bottom: 0;
        background: #ffffff;
        border-color: #e3ebf0;
    }


        /* TABLE CELLS */

        .officer-module-page .table th,
        .officer-module-page .table td {
            padding: 9px 12px;
            vertical-align: middle;
            border-color: #e7eef3;
            font-size: 13px;
        }


        /* TABLE LABEL */

        .officer-module-page .table th {
            background: #fbfdfe;
            color: #60788b;
            font-weight: 650;
        }


        /* TABLE VALUE */

        .officer-module-page .table td {
            color: #163f5d;
            font-weight: 600;
        }


/* ============================================================
   BILL CORRECTION TABLE HEADER
============================================================ */

.bill-correction-page #tblBillCorrection thead th {
    background: #fff8f0;
    color: #073b5c;
    border-bottom: 2px solid #FF9933;
    font-size: 13px;
    font-weight: 750;
    padding: 12px;
}


/* TABLE BODY */

.bill-correction-page #tblBillCorrection tbody td {
    padding: 11px 12px;
    background: #ffffff;
    color: #173f58;
}


/* STRIPED ROW */

.bill-correction-page
#tblBillCorrection.table-striped
tbody tr:nth-of-type(odd) td {
    background: #fbfdfe;
}


/* HOVER */

.bill-correction-page
#tblBillCorrection tbody tr:hover td {
    background: #fff8f0;
}


/* AMOUNT */

.bill-correction-page
#tblBillCorrection td.text-end {
    color: #e5790b;
    font-weight: 750;
}


/* ============================================================
   BILL CORRECTION GET DATA BUTTON
============================================================ */

.bill-correction-page #BtnGetData {
    min-width: 125px;
    background: #FF9933 !important;
}


/* ============================================================
   BILL CORRECTION ACTION BUTTON
============================================================ */

.bill-correction-page #btnBillCorrection {
    min-width: 160px;
    background: #FF9933 !important;
    margin-top: 12px;
}


/* ============================================================
   METER READING - CONSUMER INFORMATION
============================================================ */

.meter-reading-page #lblAccountNo,
.meter-reading-page #lblConsumerName,
.meter-reading-page #lblPreviousReading {
    color: #e5790b !important;
    font-weight: 750;
}


/* ============================================================
   CURRENT CYCLE INFORMATION
============================================================ */

.meter-reading-page #txtAlreadySaved,
.meter-reading-page #txtMode {
    background: #fff8f0;
    color: #e5790b !important;
    border-color: #ffd4aa;
    font-weight: 750;
}


/* ============================================================
   CONSUMPTION
============================================================ */

.meter-reading-page #Consumption {
    background: #fff8f0;
    border-color: #ffd4aa;
    color: #e5790b !important;
    font-size: 15px;
    font-weight: 800;
}


/* ============================================================
   READING PROGRESS CARD
============================================================ */

.meter-reading-page
.card:last-of-type .card-body {
    background: #ffffff;
}


/* PROGRESS ITEMS */

.meter-reading-page
.card:last-of-type
.col-md-3 {
    position: relative;
    padding: 18px 12px;
    border-right: 1px solid #edf1f4;
}


    .meter-reading-page
    .card:last-of-type
    .col-md-3:last-child {
        border-right: none;
    }


/* NUMBER */

.meter-reading-page
.card:last-of-type h4 {
    margin-bottom: 4px;
    color: #073b5c;
    font-size: 26px;
    font-weight: 800;
}


/* COMPLETED */

.meter-reading-page #lblCompleted {
    color: #2d8a58 !important;
}


/* PENDING */

.meter-reading-page #lblPending {
    color: #d9534f !important;
}


/* NEXT */

.meter-reading-page #lblNextAccount {
    color: #e5790b !important;
}


/* LABEL */

.meter-reading-page
.card:last-of-type small {
    color: #71869a !important;
    font-size: 12px;
}


/* ============================================================
   HR
============================================================ */

.officer-module-page hr {
    border: 0;
    border-top: 1px solid #e6eef3;
    opacity: 1;
    margin: 20px 0;
}


/* ============================================================
   ALERTS
============================================================ */

.officer-module-page .alert {
    border: none;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(7, 59, 92, .05);
}


/* SUCCESS ALERT */

.officer-module-page .alert-success {
    background: #edf9f1;
    color: #236c45;
}


/* ERROR ALERT */

.officer-module-page .alert-danger {
    background: #fff0f0;
    color: #b93b3b;
}


/* ============================================================
   LOADING BUTTON
============================================================ */

.officer-module-page
.btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none !important;
}


/* ============================================================
   DESKTOP BILL CORRECTION FORM
============================================================ */

.bill-correction-page
.card-body > .row.g-3 {
    align-items: end;
}


/* OLD BALANCE */

.bill-correction-page #txtOldBal {
    color: #e5790b;
    font-weight: 700;
}


/* ============================================================
   SELECT ARROW
============================================================ */

.officer-module-page select.form-select {
    cursor: pointer;
}


/* ============================================================
   RESPONSIVE - TABLET
============================================================ */

@media (max-width: 992px) {

    .officer-module-page {
        width: 98%;
        padding: 0 12px;
        margin-top: 18px !important;
    }


        .officer-module-page > .d-flex:first-child {
            padding: 18px;
        }


        .officer-module-page .card-body {
            padding: 18px;
        }


    .meter-reading-page
    .card:last-of-type
    .col-md-3 {
        border-right: none;
        border-bottom: 1px solid #edf1f4;
    }
}


/* ============================================================
   RESPONSIVE - MOBILE
============================================================ */

@media (max-width: 768px) {

    .officer-module-page {
        width: 100%;
        padding: 0 10px;
        margin: 15px auto 25px !important;
    }


        /* TOP HEADER */

        .officer-module-page > .d-flex:first-child {
            align-items: flex-start !important;
            flex-direction: column;
            padding: 16px;
        }


            .officer-module-page > .d-flex:first-child h3 {
                font-size: 22px;
            }


            /* BACK / LOGOUT */

            .officer-module-page > .d-flex:first-child > div:last-child {
                width: 100%;
                display: flex;
                gap: 8px;
            }


            .officer-module-page > .d-flex:first-child
            .btn {
                flex: 1;
                margin: 0 !important;
            }


        /* CARDS */

        .officer-module-page .card {
            border-radius: 14px !important;
        }


        .officer-module-page
        .card-header {
            padding: 12px 14px;
        }


        .officer-module-page
        .card-body {
            padding: 15px;
        }


        /* FORM */

        .officer-module-page
        .form-control,
        .officer-module-page
        .form-select {
            min-height: 41px;
        }


        /* TABLE */

        .officer-module-page
        .table th,
        .officer-module-page
        .table td {
            padding: 8px;
            font-size: 12px;
        }


        /* BUTTON */

        .officer-module-page
        .btn-lg {
            width: 100%;
        }


    /* BILL CORRECTION BUTTON */

    .bill-correction-page
    #BtnGetData,
    .bill-correction-page
    #btnBillCorrection {
        width: 100%;
    }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .officer-module-page {
        padding: 0 7px;
    }


        .officer-module-page > .d-flex:first-child h3 {
            font-size: 20px;
        }


        .officer-module-page
        .card-body {
            padding: 12px;
        }


        .officer-module-page
        .table th,
        .officer-module-page
        .table td {
            padding: 7px;
            font-size: 11px;
        }
}

/* =========================================================
   COMPLAINT POPUP
========================================================= */

.complaint-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(7, 59, 92, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.complaint-popup-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}


.complaint-popup-close {
    position: absolute;
    right: 18px;
    top: 15px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff3e6;
    color: #e6790a;
    font-size: 25px;
    cursor: pointer;
}


.complaint-popup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}


    .complaint-popup-header h2 {
        margin: 0;
        color: #073b5c;
    }


    .complaint-popup-header p {
        margin: 4px 0 0;
        color: #66839a;
    }


.complaint-popup-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: #fff3e6;
    color: #FF9933;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}


.complaint-form-container .form-group {
    margin-bottom: 17px;
}


.complaint-form-container label {
    display: block;
    margin-bottom: 7px;
    font-weight: 650;
    color: #073b5c;
}


.complaint-form-container textarea {
    resize: vertical;
    min-height: 115px;
}


.complaint-success-box {
    padding: 13px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #e8f7ed;
    color: #157347;
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.complaint-error-box {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fdeaea;
    color: #c62828;
}


/* =========================================================
   MY COMPLAINTS
========================================================= */

.consumer-complaint-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.consumer-complaint-card {
    border: 1px solid #dce8ef;
    padding: 18px;
    border-radius: 15px;
    background: #fbfdff;
}


.complaint-card-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}


.complaint-token {
    color: #FF9933;
    font-size: 13px;
}


.complaint-card-top h4 {
    margin: 5px 0;
    color: #073b5c;
}


.complaint-card-description {
    color: #557287;
    line-height: 1.6;
}


.complaint-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 12px;
    color: #66839a;
}


.complaint-chat-btn {
    border: 1px solid #FF9933;
    background: white;
    color: #e6790a;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
}


.complaint-status {
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}


.status-new {
    background: #e0efff;
    color: #1769aa;
}


.status-inprocess {
    background: #fff3cd;
    color: #856404;
}


.status-replied {
    background: #d9f5ff;
    color: #08778d;
}


.status-resolved {
    background: #d9f5df;
    color: #157347;
}


.status-closed {
    background: #e3e5e7;
    color: #444;
}


/* =========================================================
   CHAT
========================================================= */

.chat-popup-card {
    max-width: 850px;
}


.chat-popup-header {
    border-bottom: 1px solid #dce8ef;
    padding-bottom: 15px;
    margin-bottom: 15px;
}


    .chat-popup-header h3 {
        margin: 0;
        color: #073b5c;
    }


#chatComplaintToken {
    display: block;
    margin-top: 5px;
    color: #FF9933;
    font-weight: 700;
}


.complaint-chat-messages {
    height: 400px;
    overflow-y: auto;
    background: #f4f9fc;
    padding: 18px;
    border-radius: 14px;
}


.complaint-message-row {
    display: flex;
    margin-bottom: 14px;
}


.consumer-message-row {
    justify-content: flex-end;
}


.officer-message-row {
    justify-content: flex-start;
}


.complaint-message-bubble {
    max-width: 75%;
    padding: 11px 14px;
    border-radius: 15px;
}


.consumer-message {
    background: #FF9933;
    color: white;
    border-bottom-right-radius: 4px;
}


.officer-message {
    background: white;
    color: #073b5c;
    border: 1px solid #dce8ef;
    border-bottom-left-radius: 4px;
}


.complaint-message-bubble small {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}


.complaint-message-bubble span {
    display: block;
    font-size: 10px;
    opacity: .75;
    margin-top: 5px;
    text-align: right;
}


.consumer-chat-footer {
    margin-top: 15px;
}


    .consumer-chat-footer textarea {
        margin-bottom: 10px;
    }


.complaint-closed-message {
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    background: #fff3cd;
    color: #856404;
    text-align: center;
}

/* ============================================================
   CONSUMER COMPLAINT ADMIN PAGE
   PHED PORTAL THEME
============================================================ */

.admin-complaint-page {
    width: 94%;
    max-width: 1500px;
    margin: 30px auto 45px;
    padding: 0 15px;
    color: #073b5c;
}


/* ============================================================
   PAGE HEADER
============================================================ */

.admin-complaint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}


.admin-complaint-label {
    display: block;
    color: #FF9933;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 7px;
}


.admin-complaint-header h2 {
    margin: 0 0 5px;
    color: #073b5c;
    font-size: 30px;
    font-weight: 800;
}


.admin-complaint-header p {
    margin: 0;
    color: #60788b;
    font-size: 14px;
}



/* ============================================================
   BACK BUTTON
============================================================ */

.admin-complaint-header .btn-outline-secondary {
    min-height: 42px;
    padding: 9px 19px;
    border-radius: 25px;
    background: #ffffff;
    border: 1px solid #FF9933;
    color: #073b5c;
    font-size: 13px;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all .2s ease;
}


    .admin-complaint-header .btn-outline-secondary:hover {
        background: #FF9933;
        border-color: #FF9933;
        color: #ffffff;
        transform: translateY(-1px);
    }



/* ============================================================
   CARDS
============================================================ */

.admin-complaint-page .card {
    background: #ffffff;
    border: 1px solid #e3ebf0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(7, 59, 92, .07) !important;
}


.admin-complaint-page .card-body {
    padding: 20px;
}


.admin-complaint-page .card-header {
    background: #fff8f0 !important;
    border: none;
    border-bottom: 1px solid #ffd4aa !important;
    padding: 15px 20px;
}


    .admin-complaint-page .card-header h5 {
        margin: 0;
        color: #073b5c;
        font-size: 18px;
        font-weight: 750;
    }


        .admin-complaint-page .card-header h5 i {
            color: #FF9933;
        }



/* ============================================================
   SEARCH FORM
============================================================ */

.admin-complaint-page .form-label {
    color: #173f58;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 7px;
}


.admin-complaint-page .form-control,
.admin-complaint-page .form-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d7e5ee;
    border-radius: 9px;
    background: #ffffff;
    color: #073b5c;
    font-size: 13px;
    padding: 8px 12px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}


    .admin-complaint-page .form-control:focus,
    .admin-complaint-page .form-select:focus {
        border-color: #FF9933;
        box-shadow: 0 0 0 3px rgba(255, 153, 51, .13);
        outline: none;
    }


    .admin-complaint-page .form-control::placeholder {
        color: #90a2af;
    }



/* ============================================================
   SEARCH BUTTON
============================================================ */

.admin-complaint-page .btn-primary {
    min-height: 42px;
    border: none;
    border-radius: 25px;
    background: #FF9933 !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    transition: all .2s ease;
}


    .admin-complaint-page .btn-primary:hover {
        background: #d97800 !important;
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(255, 153, 51, .25);
    }



/* ============================================================
   CLEAR BUTTON
============================================================ */

.admin-complaint-page .btn-outline-secondary {
    min-height: 42px;
    border-radius: 25px;
    border: 1px solid #FF9933;
    background: #ffffff;
    color: #073b5c;
    font-size: 13px;
    font-weight: 650;
}


    .admin-complaint-page .btn-outline-secondary:hover {
        background: #FF9933;
        color: #ffffff;
        border-color: #FF9933;
    }



/* ============================================================
   TOTAL BADGE
============================================================ */

.admin-complaint-page .badge.bg-primary {
    background: #FF9933 !important;
    color: #ffffff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 750;
    padding: 7px 13px !important;
}



/* ============================================================
   TABLE
============================================================ */

.admin-complaint-page .table {
    width: 100%;
    margin-bottom: 0;
    background: #ffffff;
}


    .admin-complaint-page .table thead th {
        background: #fff8f0;
        color: #073b5c;
        font-size: 12px;
        font-weight: 750;
        padding: 12px 10px;
        white-space: nowrap;
        border-bottom: 2px solid #FF9933;
    }


    .admin-complaint-page .table tbody td {
        padding: 11px 10px;
        color: #173f58;
        font-size: 12px;
        vertical-align: middle;
        border-color: #e8eef2;
    }


    .admin-complaint-page .table tbody tr:nth-child(even) td {
        background: #fbfdfe;
    }


    .admin-complaint-page .table tbody tr:hover td {
        background: #fff8f0;
    }



    /* ============================================================
   TOKEN
============================================================ */

    .admin-complaint-page .table td .text-primary {
        color: #e5790b !important;
        font-weight: 800;
    }



/* ============================================================
   SMALL TEXT
============================================================ */

.admin-complaint-page .text-muted {
    color: #71869a !important;
    font-size: 11px;
}



/* ============================================================
   PRIORITY BADGES
============================================================ */

.admin-complaint-page .badge.bg-danger {
    background: #dc3545 !important;
}


.admin-complaint-page .badge.bg-warning {
    background: #ffc107 !important;
    color: #302600 !important;
}


.admin-complaint-page .badge.bg-light {
    background: #eef4f7 !important;
    color: #45697f !important;
}



/* ============================================================
   STATUS BADGES
============================================================ */

.admin-complaint-page .badge.bg-secondary {
    background: #6c757d !important;
    color: #ffffff !important;
}


.admin-complaint-page .badge.bg-success {
    background: #23935a !important;
}


.admin-complaint-page .badge.bg-info {
    background: #d9f5ff !important;
    color: #08778d !important;
}


.admin-complaint-page .badge {
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 750;
}



/* ============================================================
   OPEN BUTTON
============================================================ */

.admin-complaint-page .btn-sm.btn-outline-primary {
    min-width: 72px;
    min-height: 34px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #FF9933;
    color: #e5790b;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


    .admin-complaint-page .btn-sm.btn-outline-primary:hover {
        background: #FF9933;
        color: #ffffff;
        border-color: #FF9933;
    }



/* ============================================================
   EMPTY TABLE
============================================================ */

.admin-complaint-page .table tbody td.text-center {
    padding: 45px 20px !important;
    color: #71869a !important;
}


    .admin-complaint-page .table tbody td.text-center i {
        color: #FF9933;
        opacity: .75;
    }



/* ============================================================
   COMPLAINT CHAT MODAL
============================================================ */

.admin-complaint-page +
.complaint-popup-overlay {
    font-family: "Segoe UI", Arial, sans-serif;
}


.complaint-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba( 7, 59, 92, .55 );
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.complaint-popup-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .24);
}



/* ============================================================
   MODAL CLOSE
============================================================ */

.complaint-popup-close {
    position: absolute;
    right: 16px;
    top: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff3e6;
    color: #e6790a;
    font-size: 24px;
    cursor: pointer;
    transition: all .2s ease;
}


    .complaint-popup-close:hover {
        background: #FF9933;
        color: white;
    }



/* ============================================================
   CHAT HEADER
============================================================ */

.chat-popup-header {
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #dce8ef;
}


    .chat-popup-header h3 {
        margin: 0;
        color: #073b5c;
        font-size: 22px;
        font-weight: 800;
    }


#adminComplaintToken {
    display: block;
    margin-top: 5px;
    color: #FF9933;
    font-size: 13px;
    font-weight: 750;
}



/* ============================================================
   CHAT MESSAGE BOX
============================================================ */

.complaint-chat-messages {
    height: 380px;
    overflow-y: auto;
    padding: 18px;
    background: #f5fafd;
    border: 1px solid #dce8ef;
    border-radius: 14px;
}



/* ============================================================
   CHAT MESSAGE ROW
============================================================ */

.complaint-message-row {
    display: flex;
    margin-bottom: 13px;
}


.consumer-chat-row {
    justify-content: flex-start;
}


.officer-chat-row {
    justify-content: flex-end;
}



/* ============================================================
   CHAT BUBBLE
============================================================ */

.complaint-message-bubble {
    max-width: 72%;
    padding: 11px 14px;
    border-radius: 15px;
    line-height: 1.45;
    word-break: break-word;
}


.consumer-chat-bubble {
    background: #ffffff;
    color: #073b5c;
    border: 1px solid #dce8ef;
    border-bottom-left-radius: 4px;
}


.officer-chat-bubble {
    background: #FF9933;
    color: white;
    border-bottom-right-radius: 4px;
}


.complaint-message-sender {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 750;
}


.complaint-message-date {
    display: block;
    margin-top: 6px;
    font-size: 9px;
    opacity: .75;
    text-align: right;
}



/* ============================================================
   REPLY AREA
============================================================ */

.admin-reply-area {
    margin-top: 16px;
}


    .admin-reply-area textarea {
        min-height: 90px;
        border: 1px solid #d7e5ee;
        border-radius: 10px;
        resize: vertical;
    }


        .admin-reply-area textarea:focus {
            border-color: #FF9933;
            box-shadow: 0 0 0 3px rgba(255, 153, 51, .13);
        }



/* ============================================================
   CLOSE COMPLAINT BUTTON
============================================================ */

#btnCloseComplaint {
    background: #ffffff !important;
    color: #d9534f !important;
    border: 1px solid #efb4b4 !important;
    border-radius: 25px;
}


    #btnCloseComplaint:hover {
        background: #d9534f !important;
        color: #ffffff !important;
    }



/* ============================================================
   CLOSED MESSAGE
============================================================ */

#adminClosedMessage {
    background: #fff8f0;
    border: 1px solid #ffd4aa;
    color: #9a5b14;
    border-radius: 12px;
    padding: 14px;
}



/* ============================================================
   TABLET
============================================================ */

@media (max-width: 992px) {

    .admin-complaint-page {
        width: 97%;
        padding: 0 10px;
    }


    .admin-complaint-header h2 {
        font-size: 26px;
    }


    .admin-complaint-page .table th,
    .admin-complaint-page .table td {
        font-size: 11px;
    }
}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    .admin-complaint-page {
        width: 100%;
        margin-top: 18px;
        padding: 0 10px;
    }


    .admin-complaint-header {
        flex-direction: column;
        align-items: stretch;
    }


        .admin-complaint-header h2 {
            font-size: 23px;
        }


        .admin-complaint-header
        .btn-outline-secondary {
            width: 100%;
            justify-content: center;
        }


    .admin-complaint-page .card-body {
        padding: 15px;
    }


    .complaint-popup-overlay {
        padding: 10px;
    }


    .complaint-popup-card {
        padding: 18px;
        border-radius: 15px;
    }


    .complaint-chat-messages {
        height: 320px;
    }


    .complaint-message-bubble {
        max-width: 88%;
    }
}



/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .admin-complaint-page {
        padding: 0 7px;
    }


    .admin-complaint-header h2 {
        font-size: 21px;
    }


    .admin-complaint-page .card-header {
        padding: 12px 14px;
    }


    .admin-complaint-page .card-body {
        padding: 12px;
    }


    .admin-complaint-page .table th,
    .admin-complaint-page .table td {
        padding: 8px;
    }


    .complaint-message-bubble {
        max-width: 94%;
    }
}


/* ============================================================
   OFFICER LOGIN FORM ONLY
============================================================ */

.officer-login-header-simple {
    margin-bottom: 24px;
}


    .officer-login-header-simple h2 {
        margin: 0 0 6px;
        color: #073b5c;
        font-size: 28px;
        font-weight: 800;
    }


    .officer-login-header-simple p {
        margin: 0;
        color: #60788b;
        font-size: 14px;
    }



/* ============================================================
   FORM
============================================================ */

.officer-login-form-simple {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


    .officer-login-form-simple .form-group {
        width: 100%;
    }


    .officer-login-form-simple label {
        display: block;
        margin-bottom: 7px;
        color: #173f58;
        font-size: 13px;
        font-weight: 650;
    }


    .officer-login-form-simple .form-control {
        width: 100%;
        height: 44px;
        padding: 0 13px;
        border: 1px solid #d7e5ee;
        border-radius: 9px;
        background: #ffffff;
        color: #073b5c;
        font-size: 13px;
        box-shadow: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }


        .officer-login-form-simple .form-control:focus {
            border-color: #FF9933;
            box-shadow: 0 0 0 3px rgba( 255, 153, 51, .13 );
            outline: none;
        }


        .officer-login-form-simple
        .form-control::placeholder {
            color: #94a7b4;
        }



/* ============================================================
   LOGIN BUTTON
============================================================ */

.officer-login-submit {
    min-width: 125px;
    min-height: 42px;
    align-self: flex-start;
    padding: 9px 24px;
    border: none;
    border-radius: 25px;
    background: #FF9933;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}


    .officer-login-submit:hover {
        background: #d97800;
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba( 255, 153, 51, .25 );
    }


    .officer-login-submit:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
    }



/* ============================================================
   LOGIN MESSAGE
============================================================ */

.officer-login-form-simple
.login-message {
    display: none;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
}


    .officer-login-form-simple
    .login-message.error {
        display: block;
        background: #fff0f0;
        border: 1px solid #ffd0d0;
        color: #b42318;
    }


    .officer-login-form-simple
    .login-message.success {
        display: block;
        background: #edf9f1;
        border: 1px solid #c8ecd6;
        color: #236c45;
    }



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    .officer-login-header-simple h2 {
        font-size: 23px;
    }


    .officer-login-submit {
        width: 100%;
        align-self: stretch;
    }
}