/* =========================================================
   BBSR SERVICES
   COMPLAINT & GRIEVANCE PAGE
========================================================= */

.grievance-page {
    padding: 35px 0 55px;
    background: #ffffff;
    font-family: 'Poppins', Arial, sans-serif;
}

.grievance-container {
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.grievance-header {
    text-align: center;
    margin-bottom: 30px;
}

.grievance-header h1 {
    margin: 0 0 12px;
    color: #003366;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
}

.grievance-header p {
    max-width: 900px;
    margin: 0 auto;
    color: #666666;
    font-size: 15px;
    line-height: 27px;
}

.grievance-updated {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 15px;
    background: #f1f6fa;
    border-radius: 4px;
    color: #555555;
    font-size: 13px;
}


/* =========================================================
   SECTIONS
========================================================= */

.grievance-section {
    margin-bottom: 28px;
}

.grievance-section h2 {
    margin: 0 0 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    color: #003366;
    font-size: 23px;
    line-height: 32px;
    font-weight: 600;
}

.grievance-section h3 {
    margin: 0 0 8px;
    color: #333333;
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
}

.grievance-section p {
    margin: 0 0 13px;
    color: #555555;
    font-size: 16px;
    line-height: 30px;
    text-align: justify;
}


/* =========================================================
   LIST
========================================================= */

.grievance-section ul {
    margin: 8px 0 15px;
    padding-left: 23px;
}

.grievance-section li {
    margin-bottom: 8px;
    color: #555555;
    font-size: 15px;
    line-height: 27px;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.grievance-highlight {
    padding: 18px 20px;
    margin: 18px 0;
    background: #f7f9fc;
    border-left: 4px solid #0066a1;
    border-radius: 5px;
}

.grievance-highlight p {
    margin: 0;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.grievance-card {
    min-height: 210px;
    margin-bottom: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e7ec;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
}

.grievance-card h3 {
    color: #003366;
}

.grievance-card ul {
    margin-bottom: 0;
}


/* =========================================================
   PROCESS
========================================================= */

.grievance-process {
    margin-top: 20px;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e4e8ed;
    border-radius: 6px;
}

.process-number {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: #0066a1;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.process-item h3 {
    margin: 0 0 5px;
    color: #003366;
}

.process-item p {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 24px;
}


/* =========================================================
   FORM BOX
========================================================= */

.grievance-form-box {
    margin: 35px 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e1e6eb;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
}

.form-heading {
    margin-bottom: 25px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.form-heading h2 {
    margin: 0 0 7px;
    color: #003366;
    font-size: 25px;
    line-height: 32px;
}

.form-heading p {
    margin: 0;
    color: #777777;
    font-size: 14px;
    line-height: 24px;
}


/* =========================================================
   FORM GROUP
========================================================= */

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

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

.form-group label span {
    color: #dc3545;
}


/* =========================================================
   INPUTS
========================================================= */

.grievance-input {
    width: 100%;
    min-height: 45px;
    padding: 9px 13px;
    box-sizing: border-box;
    border: 1px solid #d7dde3;
    border-radius: 5px;
    background: #ffffff;
    color: #333333;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    outline: none;
    transition: all .2s ease;
}

textarea.grievance-input {
    min-height: 115px;
    resize: vertical;
}

.grievance-input:focus {
    border-color: #0066a1;
    box-shadow: 0 0 0 3px rgba(0, 102, 161, .08);
}


/* =========================================================
   VALIDATION
========================================================= */

.grievance-error {
    display: block;
    margin-top: 5px;
    color: #dc3545;
    font-size: 12px;
    line-height: 18px;
}


/* =========================================================
   DECLARATION
========================================================= */

.grievance-declaration {
    margin: 15px 0 22px;
    padding: 16px;
    background: #f7f9fc;
    border: 1px solid #e2e7ec;
    border-radius: 6px;
}

.grievance-declaration label {
    margin-left: 7px;
    color: #555555;
    font-size: 13px;
    line-height: 23px;
}


/* =========================================================
   BUTTONS
========================================================= */

.grievance-submit-area {
    margin-top: 10px;
}

.grievance-submit {
    display: inline-block;
    min-height: 48px;
    padding: 11px 28px;
    border: none;
    border-radius: 5px;
    background: #0066a1;
    color: #ffffff !important;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.grievance-submit:hover {
    background: #004d7a;
}

.grievance-whatsapp {
    display: inline-block;
    min-height: 48px;
    margin-left: 8px;
    padding: 11px 24px;
    box-sizing: border-box;
    border-radius: 5px;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
}

.grievance-whatsapp:hover {
    background: #1da851;
}


/* =========================================================
   SUCCESS / ERROR MESSAGE
========================================================= */

.grievance-success {
    display: block;
    margin: 20px 0;
    padding: 15px 18px;
    background: #eaf8ef;
    border: 1px solid #b8e5c7;
    border-radius: 6px;
    color: #176b35;
    font-size: 14px;
    line-height: 24px;
}

.grievance-failure {
    display: block;
    margin: 20px 0;
    padding: 15px 18px;
    background: #fff0f0;
    border: 1px solid #efb8b8;
    border-radius: 6px;
    color: #a52222;
    font-size: 14px;
    line-height: 24px;
}


/* =========================================================
   CONTACT
========================================================= */

.grievance-contact {
    margin-top: 35px;
    padding: 25px;
    background: #003366;
    border-radius: 8px;
    color: #ffffff;
}

.grievance-contact h2 {
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255,255,255,.25);
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

.grievance-contact > p {
    color: #ffffff;
    font-size: 15px;
    line-height: 27px;
}

.contact-item {
    min-height: 110px;
    margin-top: 15px;
    padding: 18px;
    background: rgba(255,255,255,.08);
    border-radius: 6px;
    text-align: center;
}

.contact-item i {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 25px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 14px;
}

.contact-item a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: underline;
}

.contact-address {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   FOOTER NOTE
========================================================= */

.grievance-footer-note {
    margin-top: 30px;
    padding: 18px 20px;
    background: #f7f9fc;
    border: 1px solid #e5e9ee;
    border-radius: 6px;
    text-align: center;
}

.grievance-footer-note p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 23px;
}


/* =========================================================
   MOBILE
========================================================= */

@media only screen and (max-width: 767px) {

    .grievance-page {
        padding: 25px 12px 40px;
    }

    .grievance-header h1 {
        font-size: 27px;
        line-height: 36px;
    }

    .grievance-header p {
        font-size: 14px;
        line-height: 24px;
        text-align: justify;
    }

    .grievance-section {
        margin-bottom: 22px;
    }

    .grievance-section h2 {
        font-size: 21px;
        line-height: 30px;
    }

    .grievance-section p {
        font-size: 14px;
        line-height: 25px;
    }

    .grievance-section li {
        font-size: 14px;
        line-height: 24px;
    }

    .grievance-card {
        min-height: auto;
        padding: 17px;
    }

    .process-item {
        padding: 15px;
    }

    .grievance-form-box {
        margin-top: 25px;
        padding: 20px 15px;
    }

    .form-heading h2 {
        font-size: 21px;
    }

    .grievance-contact {
        padding: 18px 15px;
    }

    .grievance-submit,
    .grievance-whatsapp {
        display: block;
        width: 100%;
        margin: 0 0 10px;
        text-align: center;
    }

}