/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    width: 100%;
    position: relative;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background-color: #ebebeb;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #00477b;
    border-radius: 10px;
}


/* =========================================================
   FEEDBACK PAGE
========================================================= */

.feedback {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 0;
    background-image: url("../images/Feedback-16-X-9.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.feedback-form {
    position: absolute;
    top: 71%;
    left: 50%;
    width: 80%;
    font-family: 'Open Sans', sans-serif;
    transform: translate(-50%, -50%);
}

.feedback-form table tr th,
.feedback-form table tr td {
    padding: 10px;
    text-align: center;
    font-size: 13px;
}

.feedback-form table tr th {
    color: #fff;
    text-align: center;
}

.feedback-form table tr th:nth-child(1),
.feedback-form table tr th:nth-child(2) {
    background: #3d61ad;
}

.feedback-form table tr th:nth-child(3),
.feedback-form table tr th:nth-child(4),
.feedback-form table tr th:nth-child(5) {
    background: #d4ecfb;
    color: #3d61ad;
}

.form-control2 {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #00afeb;
    background: transparent;
    color: #3d61ad;
    font-size: 14px;
}

.btn-submit {
    margin-top: 10px;
    padding: 5px 25px;
    border: none;
    border-radius: 3px;
    background: #3d61ad;
    color: #fff;
    font-size: 14px;
}

.ratings {
    color: #ec4343;
    text-align: center;
    font-size: 12px;
}

.bottom-que {
    display: flex;
    padding: 5px 10px 0;
    font-size: 13px;
}

.bottom-que li:first-child {
    width: 40%;
}

.bottom-feedback {
    border: 1px solid #d4ecfb;
    background: #d4ecfb;
    color: #ec4343;
}

.radio-table {
    width: 100%;
    margin: 0 auto;
}

.radio-table tr td {
    padding: 0 !important;
}

.radio-td {
    width: 20%;
}


/* =========================================================
   COMMON TABLE / DOWNLOAD
========================================================= */

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table_data {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.data_table {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #ededed;
}

.data_table tr th,
.data_table tr td {
    padding: 10px;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    text-align: left;
}

.data_table tr th {
    color: #7b7b7b;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.data_table tr td {
    font-size: 12px;
}

.down_csv {
    float: right;
    margin: 10px 5px;
    padding: 5px 10px;
    border-radius: 4px;
    background: green;
    color: #fff;
    font-size: 14px;
}

.down_csv:hover {
    color: #fff;
}


/* =========================================================
   MODAL / CLOSE BUTTON
========================================================= */

button.close,
#myModal button.close {
    padding: 1px 5px;
    border: 1px solid #000;
    border-radius: 50%;
    background: #fff;
    opacity: 1;
    font-size: 18px;
}

.close,
#myModal .close {
    position: absolute;
    top: -20px;
    right: -20px;
}

#myModal .modal-dialog {
    width: 420px;
}

#myModal .modal-body {
    padding: 0;
}


/* =========================================================
   TABLET RESPONSIVE (FEEDBACK)
========================================================= */

@media (min-width: 501px) and (max-width: 900px) {
    .feedback-form {
        top: 107%;
        width: 96%;
    }

    .feedback-form table tr th,
    .feedback-form table tr td {
        padding: 5px;
        font-size: 11px;
    }

    .btn-submit {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .bottom-que {
        font-size: 12px;
    }
}


/* =========================================================
   MOBILE RESPONSIVE (FEEDBACK)
========================================================= */

@media (max-width: 500px) {
    .feedback-form {
        width: 94%;
    }
}


/* =========================================================
   SHARED DASHBOARD & DATATABLES COMPONENT STYLES
========================================================= */

.dashboard-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 18px 40px;
}

.page-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.page-title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
    color: #17325c;
}

.page-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #5d6f8b;
}

.meta-chip {
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dde6f2;
    color: #35507a;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(20, 43, 77, 0.06);
}

.data-card {
    background: #ffffff;
    border: 1px solid #e2eaf5;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(20, 43, 77, 0.08);
    overflow: hidden;
    padding: 24px;
}

.card-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.toolbar-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #17325c;
}

.toolbar-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6b7c96;
}

.refresh-btn {
    background: linear-gradient(135deg, #2454a6 0%, #17325c 100%);
    color: #ffffff;
    border: 0;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(36, 84, 166, 0.18);
}

.refresh-btn:hover {
    opacity: 0.95;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.name-cell strong {
    display: block;
    font-size: 14px;
    color: #17325c;
}

/* DataTables Styling */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
    outline: none;
    margin-left: 8px;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 6px;
    outline: none;
}

.dataTables_wrapper .dataTables_info {
    color: #6b7280;
    font-size: 13px;
    padding-top: 16px;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 12px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    margin: 0 3px;
    padding: 8px 13px !important;
    color: #334155 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #eef4ff !important;
    color: #1d4ed8 !important;
    border-color: #93c5fd !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #2454a6 !important;
    color: #ffffff !important;
    border-color: #2454a6 !important;
}

.dt-buttons {
    margin-bottom: 14px;
}

.dt-button {
    background: #2454a6 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 8px 13px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-right: 6px !important;
    box-shadow: 0 6px 15px rgba(36, 84, 166, 0.22);
}

.dt-button:hover {
    background: #17325c !important;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 768px) {
    .dashboard-shell {
        padding: 22px 12px 28px;
    }

    .page-title {
        font-size: 26px;
    }

    .data-card {
        padding: 16px;
        border-radius: 18px;
    }

    .refresh-btn {
        width: 100%;
    }

    .dt-button {
        margin-bottom: 6px !important;
    }
}
