/* ==================================================
   START : KMC-SHARP CONTACT SECTION STYLES
================================================== */


.kmcsharp-contact {
    background: #FFF3E0;
    padding: 40px 20px;
    border-top: 1px solid #FDC591;
}

.kmcsharp-contact-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 30px;
}

.kmcsharp-contact-info,
.kmcsharp-contact-form {
    background: #ffffff;
    border: 1px solid #FDC591;
    padding: 20px;
    flex: 1;
}

.kmcsharp-contact-info h3,
.kmcsharp-contact-form h3 {
    font-size: 18px;
    color: #BF360C;
    border-bottom: 2px solid #E65100;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.kmcsharp-contact-info p {
    font-size: 14px;
    line-height: 1.7;
    color: #5D4037;
    margin-bottom: 12px;
    text-align: justify;
}

.kmcsharp-contact-list {
    list-style: none;
    font-size: 13.5px;
    color: #5D4037;
}

.kmcsharp-contact-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.kmcsharp-contact-form label {
    display: block;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 4px;
    color: #BF360C;
    font-weight: bold;
}

.kmcsharp-contact-form input,
.kmcsharp-contact-form textarea {
    width: 100%;
    padding: 7px;
    border: 1px solid #FDC591;
    font-size: 13px;
    font-family: Arial, sans-serif;
    background: #FFFDF8;
}

.kmcsharp-contact-form button {
    margin-top: 12px;
    background: #E65100;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    font-size: 13px;
    cursor: pointer;
}

.kmcsharp-contact-form button:hover {
    background: #BF360C;
}

/* Responsive */
@media (max-width: 900px) {
    .kmcsharp-contact-inner {
        flex-direction: column;
    }
}



/* ============================================================
   KMC-SHARP SUPPORT SECTION
   COMPLETE RESPONSIVE CSS
============================================================ */


/* ==================== MAIN SECTION ==================== */

.kmc-support-section {

    display: block;

    width: 100%;

    max-width: 100%;

    margin: 20px 0 0;

    padding: 0;

    border: 1px solid #ed9a50;

    background: #fffaf1;

    box-sizing: border-box;

}


/* ==================== TAB NAVIGATION ==================== */

.kmc-support-tabs {

    display: flex;

    align-items: stretch;

    width: 100%;

    margin: 0;

    padding: 0;

    background: #f5f5f5;

    border-bottom: 1px solid #d8d8d8;

    box-sizing: border-box;

}


.kmc-support-tab {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    flex: 1 1 0;

    min-width: 0;

    margin: 0;

    padding: 16px 15px;

    border: none;

    border-right: 1px solid #d2d2d2;

    border-top: 3px solid transparent;

    border-radius: 0;

    background: #ed6c0b;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.4;

    text-align: center;

    cursor: pointer;

    box-sizing: border-box;

    transition: background 0.2s ease,
                color 0.2s ease;

}


.kmc-support-tab:hover {

    background: #cf5706;

}


.kmc-support-tab.active {

    background: #ffffff;

    color: #c54f0c;

    border-top-color: #ed6c0b;

}


.kmc-support-tab i {

    font-size: 15px;

    flex-shrink: 0;

}


/* ==================== TAB PANELS ==================== */

.kmc-support-panel {

    display: block;

    width: 100%;

    max-width: 100%;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


.kmc-support-panel[hidden] {

    display: none !important;

}


/* ============================================================
   CONTACT SECTION
   ORIGINAL LAYOUT MAINTAINED
============================================================ */

.kmc-support-panel .kmcsharp-contact {

    display: block;

    width: 100%;

    max-width: 100%;

    margin: 0;

    padding: 30px 20px;

    border-top: none;

    background: #fff3e0;

    box-sizing: border-box;

}


.kmc-support-panel .kmcsharp-contact-inner {

    display: flex;

    align-items: stretch;

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0;

    gap: 30px;

    box-sizing: border-box;

}


.kmc-support-panel .kmcsharp-contact-info,

.kmc-support-panel .kmcsharp-contact-form {

    display: block;

    flex: 1 1 0;

    min-width: 0;

    width: auto;

    max-width: none;

    margin: 0;

    padding: 24px;

    border: 1px solid #fdc591;

    background: #ffffff;

    box-sizing: border-box;

}


/* ==================== CONTACT HEADINGS ==================== */

.kmc-support-panel .kmcsharp-contact-info h3,

.kmc-support-panel .kmcsharp-contact-form h3 {

    margin: 0 0 16px;

    padding: 0 0 10px;

    border-bottom: 2px solid #e65100;

    color: #bf360c;

    font-size: 21px;

    font-weight: 700;

    line-height: 1.45;

}


/* ==================== CONTACT INFORMATION ==================== */

.kmc-support-panel .kmcsharp-contact-info > p {

    margin: 0 0 18px;

    color: #5d4037;

    font-size: 15px;

    line-height: 1.7;

    text-align: left;

}


.kmc-support-panel .kmcsharp-contact-list {

    margin: 0;

    padding: 0;

    list-style: none;

    color: #5d4037;

    font-size: 14px;

}


.kmc-support-panel .kmcsharp-contact-list li {

    margin: 0 0 16px;

    padding: 0;

    line-height: 1.65;

}


.kmc-support-panel .kmcsharp-contact-list strong {

    color: #59351f;

    font-weight: 700;

}


.kmc-support-panel .kmcsharp-contact-list a {

    color: #7b4427;

    text-decoration: none;

    overflow-wrap: anywhere;

}


.kmc-support-panel .kmcsharp-contact-list a:hover {

    color: #e65100;

    text-decoration: underline;

}


/* ==================== CONTACT FORM ==================== */

.kmc-support-panel .kmcsharp-contact-form form {

    display: flex;

    flex-direction: column;

    width: 100%;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


.kmc-support-panel .kmcsharp-contact-form label {

    display: block;

    margin: 0 0 6px;

    color: #bf360c;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.4;

}


.kmc-support-panel .kmcsharp-contact-form input,

.kmc-support-panel .kmcsharp-contact-form textarea {

    display: block;

    width: 100%;

    max-width: 100%;

    margin: 0 0 15px;

    padding: 10px;

    border: 1px solid #fdc591;

    border-radius: 0;

    background: #fffdf8;

    color: #5d4037;

    font-family: Arial, sans-serif;

    font-size: 13px;

    line-height: 1.5;

    box-sizing: border-box;

    outline: none;

}


.kmc-support-panel .kmcsharp-contact-form input:focus,

.kmc-support-panel .kmcsharp-contact-form textarea:focus {

    border-color: #e65100;

    box-shadow: 0 0 0 2px rgba(230, 81, 0, 0.12);

}


.kmc-support-panel .kmcsharp-contact-form textarea {

    min-height: 105px;

    resize: vertical;

}


.kmc-support-panel .kmcsharp-contact-form button {

    align-self: flex-start;

    margin: 5px 0 0;

    padding: 11px 24px;

    border: none;

    border-radius: 0;

    background: #e65100;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.4;

    cursor: pointer;

    transition: background 0.2s ease;

}


.kmc-support-panel .kmcsharp-contact-form button:hover {

    background: #bf360c;

}


/* ============================================================
   GRIEVANCE SECTION
============================================================ */

.kmc-grievance-section {

    width: 100%;

    max-width: 100%;

    margin: 0;

    padding: 0 30px 30px;

    background: #fffaf1;

    box-sizing: border-box;

}


.kmc-grievance-header {

    margin: 0 -30px;

    padding: 26px 20px;

    background: #ed7410;

    color: #ffffff;

    text-align: center;

}


.kmc-grievance-header h2 {

    margin: 0 0 6px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.4;

}


.kmc-grievance-header p {

    margin: 0;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.6;

}


/* ==================== GRIEVANCE CARDS ==================== */

.kmc-grievance-cards {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    align-items: stretch;

    gap: 18px;

    width: 100%;

    margin: 30px 0 0;

    padding: 0;

    box-sizing: border-box;

}


.kmc-grievance-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    min-width: 0;

    min-height: 255px;

    padding: 28px 18px 22px;

    border: 1px solid #e4c7ac;

    border-bottom: 4px solid;

    background: #ffffff;

    text-align: center;

    box-sizing: border-box;

}


.kmc-grievance-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 auto;

    width: 65px;

    height: 65px;

    margin: 0 0 20px;

    border: 4px solid #ffffff;

    border-radius: 50%;

    color: #ffffff;

    font-size: 25px;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);

    box-sizing: border-box;

}


.kmc-grievance-card h3 {

    margin: 0 0 12px;

    color: #60391f;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.4;

}


.kmc-grievance-card p {

    margin: 0 0 18px;

    color: #796b5e;

    font-size: 13px;

    line-height: 1.7;

}


.kmc-grievance-card a {

    display: inline-block;

    margin-top: auto;

    color: #c34f0c;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

    text-decoration: none;

    overflow-wrap: anywhere;

}


.kmc-grievance-card a:hover {

    color: #8f3510;

    text-decoration: underline;

}


/* ==================== DIFFERENT COLORS ==================== */

.grievance-one {

    border-bottom-color: #d85b24;

    background: #fffaf4;

}


.grievance-one .kmc-grievance-icon {

    background: #c75b1b;

}


.grievance-two {

    border-bottom-color: #b2a340;

    background: #fffdf3;

}


.grievance-two .kmc-grievance-icon {

    background: #8c8b2c;

}


.grievance-three {

    border-bottom-color: #378b89;

    background: #f5fcfa;

}


.grievance-three .kmc-grievance-icon {

    background: #287c7d;

}


/* ============================================================
   RESPONSIVE DESIGN
============================================================ */


/* ==================== TABLET ==================== */

@media (max-width: 900px) {

    .kmc-support-panel .kmcsharp-contact-inner {

        flex-direction: column;

        gap: 20px;

    }


    .kmc-support-panel .kmcsharp-contact-info,

    .kmc-support-panel .kmcsharp-contact-form {

        flex: 1 1 auto;

        width: 100%;

    }


    .kmc-grievance-cards {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}


/* ==================== MOBILE ==================== */

@media (max-width: 600px) {

    .kmc-support-tab {

        gap: 6px;

        padding: 14px 8px;

        font-size: 12px;

    }


    .kmc-support-tab i {

        font-size: 13px;

    }


    .kmc-support-panel .kmcsharp-contact {

        padding: 20px 12px;

    }


    .kmc-support-panel .kmcsharp-contact-info,

    .kmc-support-panel .kmcsharp-contact-form {

        padding: 18px 15px;

    }


    .kmc-support-panel .kmcsharp-contact-info h3,

    .kmc-support-panel .kmcsharp-contact-form h3 {

        font-size: 19px;

    }


    .kmc-grievance-section {

        padding: 0 14px 24px;

    }


    .kmc-grievance-header {

        margin: 0 -14px;

        padding: 24px 14px;

    }


    .kmc-grievance-header h2 {

        font-size: 21px;

    }


    .kmc-grievance-cards {

        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 24px;

    }


    .kmc-grievance-card {

        min-height: 240px;

    }

}


/* ==================== SMALL MOBILE ==================== */

@media (max-width: 400px) {

    .kmc-support-tab {

        padding: 13px 5px;

        font-size: 11px;

    }


    .kmc-support-panel .kmcsharp-contact {

        padding: 16px 10px;

    }


    .kmc-support-panel .kmcsharp-contact-info,

    .kmc-support-panel .kmcsharp-contact-form {

        padding: 16px 12px;

    }

}

/* ==================================================
   END : KMC-SHARP CONTACT SECTION STYLES
================================================== */



/* =====================================
   FRONTEND AUTHORITY TABLE
===================================== */

.kmc-frontend-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
}

.kmc-frontend-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 14px;
    border: 1px solid #BF360C;
}

/* Header */
.kmc-frontend-table thead {
    background: #E65100;
    color: #ffffff;
}

.kmc-frontend-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Body cells */
.kmc-frontend-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #D97A3A;
    color: #5D4037;
}

/* Zebra striping */
.kmc-frontend-table tbody tr:nth-child(even) {
    background: #FFF3E0;
}



/* Hover */
.kmc-frontend-table tbody tr:hover {
    background: #FFE0B2;
    transition: 0.2s ease;
}

/* Status styles */
.kmc-status-active {
    color: #2E7D32;
    font-weight: 600;
}

.kmc-status-deactive {
    color: #C62828;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {

    .kmc-frontend-table {
        font-size: 13px;
    }

    .kmc-frontend-table th,
    .kmc-frontend-table td {
        padding: 10px;
    }

}





#kmcGalleryPagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0 60px 0;
    flex-wrap: wrap;
}

/* Common pagination buttons */
#kmcGalleryPagination span {
    padding: 8px 14px;
    border: 1px solid #E65100;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
    background: #ffffff;
    color: #BF360C;
}

/* Hover */
#kmcGalleryPagination span:hover {
    background: #E65100;
    color: #ffffff;
}

/* Active page */
#kmcGalleryPagination span.active {
    background: #E65100;
    color: #ffffff;
    font-weight: 600;
}

/* Disabled button */
#kmcGalleryPagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #FDC591;
    color: #999;
}