@media screen and (min-width: 800px) {
    .pt-top{
        padding-top: 9px !important;
    }

    .pt-smc{
        padding-top: 8px !important;
    }
}

.ramp-logo{
    max-height: 100px;
}

.d-none{
    display: none;
}

.pb-10px{
    padding-bottom: 10px !important;
}

.pb-20px{
    padding-bottom: 20px !important;
}

/*new css*/
.visit-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #0066cc;
    color: white;
    border-radius: 50px;
    border: 2px solid #005bb5;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.visit-btn:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.visit-btn:active {
    background-color: #004c99;
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.v-a-m{
    vertical-align: middle !important;
}

.m-b-5px{
    margin-bottom: 5px !important;
}

.m-b-15px{
    margin-bottom: 15px !important;
}

.m-b-20px{
    margin-bottom: 20px !important;
}

.m-r-10px{
    margin-right: 10px;
}

.mr-buttons{
    margin-right: 30px;
}

.w-90px{
    width: 90px;
}

.mw-90px{
    min-width: 90px;
}

.mw-100px{
    min-width: 100px;
}

.mw-120px{
    min-width: 120px;
}

.mw-160px{
    min-width: 160px;
}

.wrapper-container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
}

.wrapper .nav-tabs .nav-link.active {
    background-color: #fff;
    color: #007bff;
    border-color: #9a9da1 #9a9da1 #fff;
}

/* Hover effect */
.wrapper .nav-tabs .nav-link:hover {
    background-color: #e9f5ff;
    color: #007bff;
}

.rsf-box {
    border: 1px dashed #d0d0d0;
    border-radius: 8px;
    text-align: center;
    padding: 25px 10px;
    min-height: 120px;
    margin: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rsf-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 5px;
}
.rsf-box h2 span {
    font-size: 1.2rem;
    font-weight: 600;
}
.rsf-box p {
    font-weight: 600;
    color: #222;
    margin-bottom: 0;
}

.rsf-section {
    margin-bottom: 10px;
}

.bg-lightblue {
    background-color: #eaf6ff;
}

.bg-lightorange {
    background-color: #fff5eb;
}

/* Simple responsive grid */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.col-md-4, .col-sm-6 {
    flex: 1 1 calc(33.33% - 20px);
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .col-md-4, .col-sm-6 {
        flex: 1 1 calc(50% - 20px);
    }
}
@media (max-width: 500px) {
    .col-md-4, .col-sm-6 {
        flex: 1 1 100%;
    }
}

/* Tabs container */
.nav-tabs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #007bff;
    padding-left: 0;
}
.nav-tabs .nav-item {
    margin-right: 5px;
}
.nav-tabs .nav-link {
    display: block;
    padding: 10px 20px;
    border: 1px solid #9a9da1;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    background-color: #007bff;
    transition: all 0.3s;
}

/* Tab content area */
.tab-content {
    border: 1px solid #9a9da1;
    border-radius: 0 5px 5px 5px;
    padding: 20px;
    margin-top: -1px;
}
.tab-pane {
    display: none;
    margin-left: 210px;
}
.tab-pane.active {
    display: block;
    margin-left: 210px;
}
.img-display{
    width: 29%;
    height: 50%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.tabledesign {
    border: 2px solid #000;
    background-color: #fff;
    border-collapse: collapse;
    width: 100%;
}

.tabledesign th,
.tabledesign td {
    border: none;
    padding: 8px 12px;
    background-color: #fff;
}

.tabledesign th {
    background: #fff !important;
    color: #000 !important;
    font-weight: bold;
}

.table thead th {
    background-color: #007bff;
    color: white;
}
.text-center {
    text-align: center;
}
.dropdown-fixed {
    width: 380px;
    height: 40px;
    font-size: 14px;
    border-radius: 6px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.custom-select {
    background-color: #fff;
    border: 1px solid #ced4da;
    box-shadow: none;
}

.btn-container{
    display:flex;
    gap:15px;
    margin-top:10px;
}

.overlay-new{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgb(255 255 255 / 50%);
    text-align: center;
    top: 42%;
}

.overlay-full-page {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
}

.swal2-popup {
    padding: 1.25em;
}

.swal2-container{
    z-index: 1050 !important;
}

.swal2-confirm{
    margin-right: 5px;
}

.swal2-close {
    padding: 1px !important;
}

.swal2-popup.swal2-toast.swal2-show {
    -webkit-animation: swal2-toast-show .5s;
    animation: swal2-toast-show .5s;
    padding: 10px 15px 10px 15px;
}

.swal2-html-container{
    margin: 0px !important;
}

.swal2-popup.swal2-toast .swal2-title {
    margin: 0.5em .3em !important;
    font-size: 15px !important;
}

.f-w-b{
    font-weight: bold !important;
}

.f-s-15px{
    font-size: 15px;
}

.card-header, .card-body, .card-footer  {
    padding: 10px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
}

.card-body.p-0 .table tbody>tr>td:first-of-type, .card-body.p-0 .table tbody>tr>th:first-of-type, .card-body.p-0 .table tfoot>tr>td:first-of-type, .card-body.p-0 .table tfoot>tr>th:first-of-type, .card-body.p-0 .table thead>tr>td:first-of-type, .card-body.p-0 .table thead>tr>th:first-of-type {
    padding-left: 0.8rem;
}

.btn-padding{
    padding: 4px 7px;
}

label {
    margin-bottom: 3px;
}

.form-control {
    font-size: 14px;
}

.form-group{
    margin-bottom: 10px;
    font-weight: bold;
}

.m-b-0, .m-b-0px{
    margin-bottom: 0px !important;
}

.color-nic-red{
    color: red !important;
}

.error-message{
    color: red;
}

.p-b-0px{
    padding-bottom: 0px !important;
}

.bb-2px-red{
    border-bottom: 2px solid red;
}

.select2-container {
    width: 100% !important;
}

.select2-selection--single {
    height: 38px !important;
    padding: 5px 10px !important;
    padding-left: 3px !important;
    border: 1px solid #ced4da !important;
}

.select2-selection__rendered {
    line-height: 30px !important;
}

.select2-selection__arrow {
    height: 36px !important;
}

.btn-nic-blue {
    background: #0E4D92 !important;
    border: #0E4D92 !important;
    color: white !important;
}

.btn-nic-blue:hover,
.btn-nic-blue:active,
.btn-nic-blue.hover {
    background-color: #367fa9;
    color: white;
}

.captcha-image{
    width: 85% !important;
}

@media (max-width: 1200px){
    .captcha-image{
        width: 80% !important;
    }
}

@media (max-width: 768px){
    .captcha-image{
        width: 75% !important;
    }
}

@media (max-width: 578px){
    .captcha-image{
        width: 82% !important;
    }
}

.captcha-code {
    text-align: center;
    font-size: 22px;
    letter-spacing: 3px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-weight: bold;
    background-color: #ffffff;
    background-image: url(../../images/captcha-bg-image.jpeg);
    color: black !important;
    border-color: white !important;
}

.custom-popup-width .swal2-popup {
    width: 45em !important;
}

#pan_number_for_enrollment,
#udyam_registration_number_for_sd {
    text-transform: uppercase;
}

#pan_number_for_enrollment::placeholder,
#udyam_registration_number_for_sd::placeholder {
    text-transform: none;
}

.w-40per{
    width: 40% !important;
}

.success-card {
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8fff1, #f5fffa);
    border-left: 6px solid #28a745;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: fadeSlide 0.5s ease;
    margin-bottom: 12px;
    text-align: center;
}

.success-icon i {
    font-size: 26px;
    color: #28a745;
}

.success-text p {
    margin: 2px 0 0;
    color: #155724;
    font-size: 18px;
    font-weight: bold;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    height: auto;
    margin-top: -3px;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    padding: 0;
    line-height: 1.5;
    color: #495057;
}

.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 36px;
    right: 6px;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    z-index: 1055;
}

.select2-container--default .select2-results__option {
    padding: 6px 12px;
}

.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #0074f0;
    color: #fff;
}

.select2-search--dropdown {
    padding: 6px;
}

.select2-search--dropdown .select2-search__field {
    width: 100% !important;
    height: 34px !important;
    padding: 6px 12px !important;
    border: 1px solid #ced4da !important;
    outline: none !important;
    box-shadow: none !important;
}

.select2-search__field.form-control {
    border: 1px solid #ced4da !important;
}

.select2-container--default.select2-container--focus
.select2-selection--single,
.select2-container--default.select2-container--open
.select2-selection--single {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.select2-container--default
.select2-selection--single:focus {
    outline: none !important;
}

/* High Contrast Code Start */

.d-none-new {
    display: none;
}

.high-contrast-mode .d-none-new {
    display: inline-block;
}

.high-contrast-mode .d-new {
    display: none;
}

body.high-contrast .card,
body.high-contrast .card-body
{
    background-color: #000000 !important;
    border-color: #ffffff !important;
}

body.high-contrast label,
body.high-contrast .form-label {
    color: #ffffff !important;
}

body.high-contrast .form-control,
body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

body.high-contrast .form-control::placeholder,
body.high-contrast input::placeholder {
    color: #cccccc !important;
    opacity: 1 !important;
}

body.high-contrast table {
    background-color: #000 !important;
    color: #fff !important;
    border-collapse: collapse;
}

body.high-contrast table tbody td {
    background-color: #000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

body.high-contrast table tbody tr:nth-child(even) td {
    background-color: #111 !important;
}

body.high-contrast table tbody tr:hover td {
    background-color: #222 !important;
}

body.high-contrast .card-header,
body.high-contrast .card-footer,
body.high-contrast .card-title
{
    background-color: #000 !important;
    color: #ffff00 !important;
    border-color: #fff !important;
}

body.high-contrast .btn{
    background-color: #000000 !important;
    color: #ffff00 !important;
    font-weight: bold;
    border: 1px solid #ffffff !important;
}

body.high-contrast .select2-container--default .select2-selection--single {
    background-color: #000 !important;
    border: 1px solid #777 !important;
}

body.high-contrast .select2-container--default
.select2-selection--single
.select2-selection__rendered {
    color: #ffffff !important;
}

body.high-contrast .select2-dropdown {
    background-color: #000 !important;
    border: 1px solid #777 !important;
}

body.high-contrast .select2-results__option {
    background-color: #000 !important;
    color: #ffffff !important;
}

body.high-contrast
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #333 !important;
    color: #ffeb3b !important;
}

body.high-contrast .success-card,
body.high-contrast .alert-success
{
    background: #000000 !important;
    background-color: #000000 !important;
    border-left: 6px solid #ffff00;
}

body.high-contrast .success-icon,
body.high-contrast .fa-check-circle {
    color: #ffff00 !important;
    background: transparent !important;
}

body.high-contrast .main-menu .sub-nav {
    background-color: #3a3a3a !important;
}

body.high-contrast .main-menu ul.nav-menu li .sub-nav ul.sub-nav-group li a {
    color: #ffff00 !important;
}

body.high-contrast a,
body.high-contrast a:link,
body.high-contrast a:visited,
body.high-contrast a:hover,
body.high-contrast a:active,
body.high-contrast a:focus {
    color: #ffff00 !important;
    font-weight: 600;
    outline: none;
}

/* High Contrast Code End */

.mt-common{
    margin-top: 20px;
}

/* Premium Search Form Styles */
.search-page-premium {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    padding: 20px 0px 30px 0px;
    min-height: 400px;
}

.search-hero-content {
    text-align: center;
}

.search-hero-content h3 {
    font-size: 28px;
    color: #0e4d92;
    font-weight: 800;
    margin-bottom: 0px;
    letter-spacing: -0.5px;
}

.search-hero-content h3 i {
    margin-right: 10px;
    opacity: 0.8;
}

.search-hero-content p {
    color: #5a6b82;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.premium-card-design {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.premium-card-design::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #0e4d92, #1d72d2);
}

.premium-form-group {
    margin-bottom: 0;
}

.premium-form-group label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #334155;
    margin-bottom: 5px;
    letter-spacing: 0.8px;
}

.premium-form-group label i {
    color: #0e4d92;
    margin-right: 8px;
    font-size: 14px;
}

.premium-input-wrap {
    position: relative;
}

.premium-select, .premium-input {
    width: 100%;
    height: 40px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    box-shadow: none !important;
}

.premium-select:hover, .premium-input:hover {
    border-color: #cbd5e1 !important;
    background: #fff !important;
}

.select2-container--default .select2-selection--single{
    padding-left: 15px !important;
    padding-top: 6px !important;
    background: #f8fafc !important;
}

.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0e4d92 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(14, 77, 146, 0.1) !important;
    outline: none !important;
}

.premium-select:focus, .premium-input:focus {
    border-color: #0e4d92 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(14, 77, 146, 0.1) !important;
    outline: none !important;
}

.premium-action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.premium-search-btn {
    background: linear-gradient(135deg, #0e4d92 0%, #1a5caf 100%) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(14, 77, 146, 0.25) !important;
}

.premium-search-btn-new {
    display: inline-block;
    padding: 6px 15px 8px 15px !important;
}

.premium-search-btn:hover {
    box-shadow: 0 15px 30px rgba(14, 77, 146, 0.35) !important;
    filter: brightness(1.1);
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.custom-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.custom-col-66 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Responsive Polish */
@media (max-width: 991px) {
    .custom-col, .custom-col-66 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }

    .premium-search-btn {
        padding: 10px 30px !important;
    }
}

@media (max-width: 767px) {
    .custom-col, .custom-col-66 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .premium-search-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px !important;
    }
    .search-hero-content h3 {
        font-size: 24px;
    }
}

.overlay-full-page {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
}

.mt-20per{
    margin-top: 20%;
}

.text-white {
    color: white;
}

/* DataTable Premium Styling */
.dataTables_wrapper {
    padding-top: 20px;
    font-family: inherit;
}

.dataTables_wrapper .dataTables_length {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    float: left;
}

.dataTables_wrapper .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    color: #475569;
}

.dataTables_wrapper .dataTables_length select {
    border: 2px solid #e2e8f0 !important;
    padding: 6px 12px !important;
    background: #f8fafc !important;
    color: #0e4d92 !important;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: #0e4d92 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(14, 77, 146, 0.1) !important;
}

.dataTables_wrapper .dataTables_info {
    padding: 20px 0;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    float: left;
}

.dataTables_wrapper .dataTables_paginate {
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
    flex-wrap: wrap;
    float: right;
}

.dataTables_wrapper .dataTables_paginate span {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Clearfix for DataTable Wrapper */
.dataTables_wrapper:after {
    content: "";
    clear: both;
    display: table;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 10px 0 !important;
        margin-bottom: 10px !important;
    }
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 5px 10px !important;
    margin: 0 2px !important;
    border: 2px solid #e2e8f0 !important;
    background: #fff !important;
    color: #0e4d92 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f8fafc !important;
    border-color: #0e4d92 !important;
    color: #0e4d92 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #0e4d92 0%, #1a5caf 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 15px rgba(14, 77, 146, 0.2) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 25px;
    float: right;
}

.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e2e8f0 !important;
    padding: 8px 15px !important;
    background: #f8fafc !important;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #0e4d92 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(14, 77, 146, 0.1) !important;
    outline: none !important;
}

.premium-table {
    border: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    width: 100% !important;
    font-size: 12px;
}

.premium-table thead th {
    background: #0e4d92 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: center;
    vertical-align: middle !important;
}

.premium-table tbody td {
    padding: 5px !important;
    vertical-align: middle !important;
    border-color: #f1f5f9 !important;
    color: #475569 !important;
}

.premium-table tbody tr:hover {
    background-color: #f8fafc !important;
}

@media screen and (max-width: 767px) {
    .table-responsive {
        border: none;
    }
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 1px solid #ddd !important;
}

/* Premium Captcha Styles */
.premium-captcha-img-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    height: 40px;
    transition: all 0.3s ease;
}

.premium-captcha-img-wrap:hover {
    border-color: #cbd5e1;
}

.premium-captcha-code {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #1e293b;
    background: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../../images/captcha-bg-image.jpeg);
    background-size: cover;
}

.premium-captcha-code canvas,
.captcha-code canvas {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.premium-captcha-refresh {
    background: #0e4d92;
    color: #fff;
    border: none;
    width: 45px;
    height: 100%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.premium-captcha-refresh:hover {
    background: linear-gradient(135deg, #0e4d92 0%, #1a5caf 100%);
    filter: brightness(1.2);
}

.premium-captcha-refresh i {
    transition: transform 0.5s ease;
}

.premium-captcha-refresh:hover i {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .premium-captcha-img-wrap {
        margin-bottom: 5px;
    }
}

.dataTables_empty {
    text-align: center;
}

.mh-banner{
    max-height: 560px;
}

.sd-buttons{
    margin: 3px 3px;
    padding: 5px 13px 5px 13px !important;
    line-height: 1.42857143;
}

.mw-100px{
    min-width: 100px;
}

.mw-110px{
    min-width: 110px;
}

.mw-120px{
    min-width: 120px;
}

.mw-130px{
    min-width: 130px;
}

.mw-150px{
    min-width: 150px;
}

.mw-200px{
    min-width: 200px;
}

.app-status {
    padding: 5px !important;
    font-size: 11px !important;
    white-space: normal !important;
    line-height: 14px !important;
}

.bg-nic-blue {
    background-color: #0E4D92 !important;
    color: white;
}

.text-left {
    text-align: left !important;
}

.badge {
    display: inline-block;
    font-weight: 700;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

hr {
    margin: 3px 0px;
}

/* Premium Modal Styles */
.modal-open-no-scroll {
    overflow: hidden !important;
}

.egazette-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: egazetteFadeIn 0.3s ease-out;
}

.egazette-modal-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 650px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: egazetteSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.egazette-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #0e4d92, #1d72d2);
    z-index: 2;
}

.egazette-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
}

.egazette-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0e4d92;
    margin: 0;
}

.egazette-modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: color 0.2s;
}

.egazette-modal-close-btn:hover {
    color: #0f172a;
}

.egazette-modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.egazette-modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 576px) {
    .egazette-modal-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.egazette-info-row {
    background-color: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Span the subject and department across full width on desktop grid */
.egazette-info-row:first-child,
.egazette-info-row:nth-child(2) {
    grid-column: span 2;
}

@media (max-width: 576px) {
    .egazette-info-row:first-child,
    .egazette-info-row:nth-child(2) {
        grid-column: span 1;
    }
}

.egazette-info-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.egazette-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
}

/* Highlight HR line inside department value rendered by deptIdsRenderer */
.egazette-info-value hr {
    margin: 6px 0;
    border: 0;
    border-top: 1px solid #cbd5e1;
}

.egazette-modal-files-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.egazette-files-title {
    font-size: 14px;
    font-weight: 700;
    color: #0e4d92;
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.egazette-file-info-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.egazette-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
    gap: 16px;
}

.egazette-file-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.egazette-file-icon {
    font-size: 20px;
    color: #e11d48;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.egazette-file-name {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.egazette-file-item .premium-search-btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    gap: 8px !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 10px rgba(14, 77, 146, 0.2) !important;
    align-self: center;
}

.egazette-file-item .premium-search-btn:hover {
    box-shadow: 0 6px 15px rgba(14, 77, 146, 0.3) !important;
}

.egazette-modal-footer .premium-search-btn {
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    gap: 8px !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 10px rgba(14, 77, 146, 0.2) !important;
}

#egazette_modal_close_footer_btn {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25) !important;
}

#egazette_modal_close_footer_btn:hover {
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.35) !important;
}

@media (max-width: 768px) {
    .egazette-file-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
    }

    .egazette-file-info-group {
        width: 100%;
        margin-bottom: 4px;
    }

    .egazette-file-item .premium-search-btn {
        width: 100%;
        justify-content: center;
    }
}

.egazette-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
    display: flex;
    justify-content: flex-end;
}

@keyframes egazetteFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes egazetteSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High Contrast Mode Overrides */
body.high-contrast .egazette-modal-card {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
}

body.high-contrast .egazette-modal-card::before {
    background: #ffffff !important;
}

body.high-contrast .egazette-modal-header,
body.high-contrast .egazette-modal-footer {
    background-color: #000000 !important;
    border-color: #ffffff !important;
}

body.high-contrast .egazette-modal-title {
    color: #ffff00 !important;
}

body.high-contrast .egazette-info-row,
body.high-contrast .egazette-file-item {
    background-color: #000000 !important;
    border: 1px solid #ffffff !important;
}

body.high-contrast .egazette-info-label {
    color: #ffffff !important;
}

body.high-contrast .egazette-info-value,
body.high-contrast .egazette-file-name {
    color: #ffff00 !important;
}

body.high-contrast .egazette-info-value hr {
    border-top-color: #ffffff !important;
}

body.high-contrast .premium-search-btn {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}

body.high-contrast .premium-search-btn:hover {
    background: #111111 !important;
    color: #ffff00 !important;
}

body.high-contrast #egazette_modal_close_footer_btn {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffffff !important;
    box-shadow: none !important;
}

body.high-contrast #egazette_modal_close_footer_btn:hover {
    background: #111111 !important;
    color: #ffff00 !important;
}

/* Responsive Tabs */

.resp-tab-content {
    display: none;
}

.resp-tab-content-active {
    display: block;
}

.resp-accordion-closed {
    display: none;
}

.resp-tab-item {
    cursor: pointer;
}

.resp-tab-active {
    background: #fff;
}

.resp-tabs-container {
    width: 100%;
}

.resp-easy-accordion .resp-tabs-list {
    display: none;
}

.resp-accordion {
    cursor: pointer;
}

.resp-vtabs {
    width: 100%;
}