/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    /* overflow-y: hidden !important; */
}

.f-outline {
    position: relative;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    position: relative !important;
    z-index: 0;
}

.input-group > .formlabel {
    position: absolute;
    top: 22px;
    left: 5px;
    background-color: white;
    padding: 0 5px;
    z-index: 1;
}

.forminput {
    background-color: transparent;
    font-size: 1.125rem !important;
    color: #000;
    height: 45px;
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    font-family: Arial, Helvetica, sans-serif !important;
    margin-bottom: 2.5rem;
}

/*
.formlabel {
    font-size: 1.125rem !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 600;
    position: absolute;
    left: 0.2rem;
    top: 50%;
    /* top: 53%; */
/* transform: translateY(-152%); */
/* transform: translateY(-57%); */
/* background-color: #fff;
    color: #0d1a80;
    padding: 0 0.5rem;
    cursor: text; */
/* transition: top 200ms ease-in,
        left 200ms ease-in,
        font-size 200ms ease-in; */
/* }  */

.formlabel {
    font-size: 1.125rem !important;
    font-family: Arial, Helvetica, sans-serif !important;
    /* font-weight: 600; */
    position: absolute;
    left: 0.2rem;
    top: 50%;
    transform: translateY(-152%);
    background-color: #fff;
    color: #0d1a80;
    padding: 0 0.5rem;
    cursor: text;
    z-index: 1;
    /* Ensure label is above the chosen select */
}

.chosen-select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
    /* border-radius: 4px; */
    border: 1px solid #ccc;
    position: relative;
    z-index: 0;
    /* Ensure chosen select stays behind the label */
}


input::placeholder {
    /* Muted Blue with 80% Opacity*/
    color: rgba(160, 174, 192, 0.8) !important;
}

.requiredField,
.single_field,
.optionalField {
    background-color: transparent;
    /* border-color: #28a745; */
    border-color: #ddd;
    border-width: 1px;
    box-shadow: none !important;
}

.forminput:focus {
    background-color: #fff;
    border-color: #0d1a80;
    border-width: 1px;
    box-shadow: none !important;
}

/* .forminput:focus ~ .form-label,
.forminput:not(:placeholder-shown).forminput:not(:focus) ~ .formlabel {
    top: -0.8rem;
    font-size: 0.8rem;
    left: 0.4rem;
    background-color: white !important;
    color: #ce1141;
} */

/* .forminput:focus~.formlabel,
.forminput:not(:placeholder-shown).forminput:not(:focus)~.formlabel {
    top: -0rem;
    font-size: 0.8rem;
    background-color: #fff;
    border-radius: 2px;
    color: #0d1a80;
    left: 0.4rem; 
} */

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input[data-autocompleted] {
    background-color: #fff !important;
}

input,
select {
    color: black;
    font-size: 1.125rem !important;
    border-color: #ccc;
    outline: none;
}


.chosen-container-single .chosen-single {
    font-size: 1.125rem !important;
    font-family: Arial, Helvetica, sans-serif !important;
    height: 45px;
    line-height: 45px;
    border: none !important;
    border: solid 1px #ccc !important;
}

.chosen-container .chosen-search input[type="text"] {
    height: 40px !important;
    font-size: 1.125rem !important;
}

.chosen-container .chosen-drop {
    font-size: 1.125rem !important;
}

.chosen-container-multi {
    font-size: 1.125rem !important;
    font-family: Arial, Helvetica, sans-serif !important;
    height: auto !important;
}

.chosen-single:hover,
.chosen-container-multi,
.chosen-container-active .chosen-choices,
.chosen-container-active .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single {
    border: 1px solid #0d1a80 !important;
    box-shadow: none !important;
}

.chosen-container {
    border-radius: 4px !important;
    height: auto !important;
}

.fa-circle-xmark {
    color: red;
}

.select-border {
    /* border: 1px solid; */
    border: none;
    /* border-radius: 0.375rem; */
    width: 101%;
    height: 36px;
    margin-left: -1px;
    margin-top: -34px;
}

.defaultInput {
    border: 1px solid #0d1a80;
}

#loading {
    color: #0d1a80;
    line-height: 35vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(192, 192, 192, 0.85);
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    user-select: none;
    cursor: wait;
}

a,
a:hover,
img,
thead,
.xD {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    text-decoration: none;
}

.w-95pc {
    width: 95%;
}

.w-95px {
    width: 95px !important;
}

.bp {
    background-color: #0d1a80 !important;
    border-color: #0d1a80 !important;
    color: white !important;
}

.text-default {
    color: #0d1a80 !important;
}

.bg-default,
.navbar {
    background-color: #0d1a80;
    color: white;
}

/* .btn:not(.btn-link){
    font-weight: bold !important;
    background-color: #343434 !important;
    border-color: #343434 !important;
    color: white !important;
}
.btn:not(.btn-link):hover{
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: white !important;    
}
*/
.btn.btn-link:hover {
    color: #0d1a80 !important;
}

.btn[disabled] {
    cursor: not-allowed;
    pointer-events: auto;

}

textarea {
    resize: none;
}

.close {
    zoom: 80%;
    color: white;
    opacity: 100%;
}

.out:hover {
    background-color: #343434 !important;
    color: white !important;
}

.swal2-confirm,
.swal2-deny,
.swal2-cancel {
    text-transform: uppercase;
}

.swal2-container {
    zoom: 80% !important;
}

.swal2-html-container {
    zoom: 120% !important;
}

.swal2-content {
    zoom: 120% !important;
}

.swal2-actions {
    zoom: 120% !important;
}

.swal-mid {
    width: 700px !important;
}

.swal-wide {
    width: 900px !important;
}

.card {
    border-color: #0d1a80;
}

.card-header {
    background-color: #0d1a80;
    border-color: #0d1a80;
    color: white;
    font-weight: bold;
    text-align: center;
}


@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 100%;
    }
}

.swal2-icon.swal2-warning {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    font-weight: bold !important;
}

.swal2-confirm,
.swal2-deny,
.swal2-cancel {
    text-transform: uppercase;
}

.swal2-container {
    zoom: 80% !important;
}

.swal2-html-container {
    zoom: 120% !important;
}

.swal2-content {
    zoom: 120% !important;
}

.swal2-actions {
    zoom: 120% !important;
}

.swal-mid {
    width: 700px !important;
}

.swal-wide {
    width: 900px !important;
}

.dt-button-collection {
    width: 220px !important;
}

.dt-buttons {
    margin-left: 10px !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 34px;
    user-select: none;
    zoom: 80%;
    margin-top: -5px;
    margin-bottom: -10px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: #ca2222; */
    background-color: #dc3545;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    /* background-color: #2ab934; */
    background-color: #28a745;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(75px);
    -ms-transform: translateX(75px);
    transform: translateX(75px);
}

.on {
    display: none;
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 40%;
    font-size: 1rem;
    font-weight: bold;
}

.off {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 60%;
    font-size: 1rem;
    font-weight: bold;
}

input:checked + .slider .on {
    display: block;
}

input:checked + .slider .off {
    display: none;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.spChar {
    text-transform: uppercase;
}

::-webkit-input-placeholder {
    text-transform: initial !important;
}

:-moz-placeholder {
    text-transform: initial !important;
}

::-moz-placeholder {
    text-transform: initial !important;
}

:-ms-input-placeholder {
    text-transform: initial !important;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 14px;
    width: 14px;
    display: block;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);
    background-repeat: no-repeat;
    background-size: 14px;
}

.buttons-csv,
.buttons-excel,
.buttons-pdf {
    display: none !important;
}

.validation {
    display: none;
    background-color: #dc3545;
    color: white;
    margin-top: 13px;
    margin-bottom: -2px;
    /* border-radius: 5px; */
    padding: 5px;
    position: relative;
    cursor: not-allowed;
    font-size: 0.938rem;
}

.validation:before {
    position: absolute;
    content: '';
    height: 15px;
    width: 15px;
    background-color: #dc3545;
    top: -6px;
    transform: rotate(45deg);
    border-bottom-right-radius: 20px;
}

.requiredValidation {
    zoom: 90% !important;
    display: inline;
    background-color: #dc3545;
    color: white;
    margin-top: 13px;
    margin-bottom: -2px;
    /* border-radius: 5px; */
    padding: 5px;
    position: relative;
    cursor: not-allowed;
    font-size: 1rem;
    z-index: 9999 !important;
}

.requiredValidation:before {
    position: absolute;
    content: '';
    height: 15px;
    width: 15px;
    background-color: #dc3545;
    top: -6px;
    transform: rotate(45deg);
    border-bottom-right-radius: 20px;
}

.toast {
    color: white;
    background-color: #dc3545;
    text-align: center;
    zoom: 120% !important;
    position: fixed !important;
    top: 5% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
    box-shadow: none !important;
    /* top: 20px !important;
    right: 20px !important; */
}

.badge {
    font-weight: bolder;
}

/* Active Button Navbar */
.active-btn {
    background-color: #007bff !important;
    color: #fff !important;
}

/* Datatables Hover Color */
tbody tr:hover {
    background-color: #e6f5fc !important;
    border-color: #fff !important;
    color: #000 !important;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.table {
    border: 1px solid #ddd;
    /* width: 100%; */
    border-collapse: collapse;
}

table.dataTable thead th,
table.dataTable tfoot th {
    font-weight: 500 !important;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    text-align: center !important;
}

.dataTables_wrapper thead th {
    background-color: #e5f4fc !important;
    /* font-size: 1.111rem !important; */
    font-size: clamp(1.1875rem, 1.1875rem + 0.5vw, 1.1875rem) !important;
    color: #0d1a80 !important;
}

.table th,
.table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

/* Center text in the entire thead */
.dataTables_wrapper .dataTables_scrollHead th {
    text-align: left;
}

/* If thead is inside a scrollable container */
.dataTables_wrapper .dataTables_scrollHeadInner thead th {
    text-align: center !important;
}

/* Custom DataTables Pagination Color */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #007bff !important;
    background-color: #e9ecef !important;
    border: 1px solid #007bff !important;
    margin: 0 2px;
    border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #fff !important;
    background: #0056b3 !important;
    border: 1px solid #007bff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fff !important;
    background-color: #007bff !important;
    border: 1px solid #007bff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #007bff !important;
    background-color: #e9ecef !important;
    border: 1px solid #007bff !important;
}

/* Navbar background and font color */
.navbar {
    background-color: #0d1a80;
    font-size: clamp(1rem, 0.75rem + 1vw, 1.188rem);
    color: #fff;
}

.navbar .nav-link {
    font-weight: 500;
    color: #fff;
    /* border-radius: 3px; */
    transition: color 0.5s ease, background-color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.navactive i,
.navbar .nav-link:focus {
    color: #0d1a80;
    background: #fff;
}

.navactive {
    background-color: #fff;
    color: #0d1a80;
}

.navbar .nav-link.navactive i {
    color: #0d1a80;
}

.navbar .nav-link.navactive {
    color: #0d1a80;
}

.navbar .nav-item {
    margin-right: 0.188rem;
}

.navbar .nav-link i {
    margin-left: 0.5rem;
    transition: color 0.5s ease;
}

.navbar .nav-link:hover i,
.navbar .nav-link:focus i {
    color: #0d1a80;
    background-color: #fff;
}

.logout-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 7px;
    transition: color 0.3s ease, background-color 0.3s ease;
    /* border-radius: 3px; */
    font-weight: 500;
}

.logout-link:hover {
    background-color: #fff;
    color: #0d1a80 !important;
}

.logout-link:hover i {
    color: #0d1a80;
}


/* Custom class for extra large modal */

/* .modal-body {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9)) !important;
    padding: 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
} */

/* MODAL CSS */
.modal-xl {
    max-width: 100% !important;
    width: 90% !important;
}

.modal-lg {
    max-width: 100% !important;
    width: 65% !important;
}

.modal.modal-fullscreen .modal-dialog {
    max-width: 100% !important;
    height: 100% !important;
    /* margin: 0 !important; */
}

.modal.modal-fullscreen .modal-content {
    height: 100% !important;
    border-radius: 0 !important;
}

.duplicateInput,
.requiredInput,
.invalidInput,
.redBorder {
    border: 1px solid #dc3545 !important;
}

.select-active1 {
    border: 1px solid #0d1a80;
    /* border-radius: 0.375rem; */
    width: 102%;
    height: 38px;
    margin-left: -2px;
    margin-top: -36px;
}

.select-active0 {
    border: 1px solid red;
    /* border-radius: 0.375rem; */
    width: 102%;
    height: 38px;
    margin-left: -2px;
    margin-top: -36px;
}

.form-container h2 {
    margin-bottom: 2rem;
    font-size: 2.3rem;
    text-align: center;
}

.form-container label {
    display: block;
    margin-bottom: 0.8rem;
}

.form-container input {
    width: 100%;
    padding: 0.5rem;
    font-size: 1.125rem !important;
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    /* border-radius: 4px; */
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-size: 14px;
}

.checkbox-container input[type="checkbox"] {
    margin-left: 0px;
    margin-top: 0px;
    cursor: pointer;
    width: auto;
}

.auth-container label {
    margin-left: 22px;
    font-size: 1rem;
    margin-top: -10px;
}

.forgot-password {
    margin-bottom: 13px;
    margin-top: -10px;
    text-align: right
}

.forgot-password a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    text-decoration: underline;
    color: #182ed8;
}

.form-container button {
    width: 100%;
    padding: 0.75rem;
    background-color: #0d1a80;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-container button:hover {
    background-color: #182ed8;
}


.forLogin a {
    text-decoration: none;
    color: #333;
}

.forLogin a:hover {
    text-decoration: underline;
    color: #007BFF;
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);

}

.auth-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Adjust width as needed */
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.forgot-password {
    margin-left: auto;

}

/* USER TABLES*/
.user-accounts-title {
    font-size: 4.5vh;
    font-weight: 700;
    color: #0d1a80;
}

#btnAddUser {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .user-accounts-title {
        font-size: 4vh;
    }

    #tblUsers th {
        font-size: 1.2rem;
    }

    #btnAddUser {
        font-size: 1rem;
    }
}

.form-row {
    display: inline-block;
    margin-bottom: 40px;
    width: 100%;
}

/* Login Form */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    max-width: 400px;
    width: 100%;
}

.card {
    border: 1px solid #ddd;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 8px;
}

/* Success Buttons */
.success-button {
    background-color: #28a745 !important;
    color: white !important;
    border: 1px solid #28a745 !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.success-button:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    color: white !important;
}

/* LOGIN & RESET PASSWORD */

.form-control.is-invalid {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.form-control {
    padding: 0.375rem 0.75rem;
    border-radius: 0 !important;
}

.chosen-container-single .chosen-single {
    border-radius: 0px !important;
}

/*  NAVBAR DROPDOWN MENU CSS */
.nav-item a {
    color: white;
    font-size: clamp(1rem, 0.75rem + 1vw, 1.188rem);
    ;
    text-decoration: none;
    padding: 10px 10px;
    display: block;
}

.nav-item a:hover {
    background-color: #fff;
    color: #0d1a80;
    /* border-radius: 4px; */
}

.dropdown-menu {
    /* display: none; */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d1a80;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 20rem;
    border: 1px solid #ddd;
    /* border-radius: 4px; */
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.dropdown-menu li {
    border-bottom: 1px solid #ddd;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #575757;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

/* FOOTER CSS */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 1.125rem;
}

footer p {
    margin: 0;
}

.login .footer {
    display: none;
}

/* Style para sa footer text */
.footer-text {
    position: relative;
    cursor: pointer;
}

/* FOOTER INFO */
.developer-info {
    font-size: 0.889rem;
    display: none;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    /* background-color: #d4edda;  */
    /* color: #155724;  */
    color: #708090;
    padding: 5px;
    /* border: 1px solid #c3e6cb;  */
    /* border-radius: 4px; */
    z-index: 10;
    white-space: nowrap;
}

/* Style para sa hover effect */
.footer-text:hover .developer-info {
    display: block;
}

/* USER STATUS CSS */
.bg-green,
.bg-red {
    background-color: white;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    font-weight: bolder;
    line-height: 1.2;
    white-space: nowrap;
}

.bg-green {
    background-color: #28a745;
}

.bg-red {
    background-color: #dc3545;
    ;
}

/* GLOBAL BUTTON CLEAR*/
.btn-clear {
    /* background-color: #69b18f !important;
    border: 1px solid #69b18f !important; */
    background-color: #198754;
    border: 1px solid #198754;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-clear:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn-clear i {
    margin-right: 5px;
}


/* TOAST MESSAGE */
#toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f8d7da;
    /* Background color for error */
    color: #721c24;
    /* Text color for error */
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

/* Modals Error Message Container */
.error-container {
    margin-bottom: 1.8rem;

}

/* Medium Devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .nav-item a {
        font-size: clamp(0.625rem, 2vw, 0.625rem) !important;
    }

    .logout-link {
        font-size: clamp(0.625rem, 2vw, 0.625rem) !important;
    }

    .formlabel {
        font-size: clamp(0.625rem, 2vw, 0.625rem) !important;
    }

    .forminput {
        height: clamp(38px, 4vw, 40px) !important;
        font-size: clamp(0.625rem, 2vw, 0.625rem) !important;
    }

    .chosen-container-single .chosen-single {
        font-size: clamp(0.625rem, 2vw, 0.625rem) !important;
        height: clamp(38px, 4vw, 40px) !important;
        line-height: 38px !important;
    }

    .btn {
        font-size: clamp(0.48rem, 1.5vw, 0.48rem) !important;
        padding: clamp(0.67rem, 1.5vw, 0.67rem) !important;
    }

    .dataTables_wrapper thead th {
        font-size: clamp(0.625rem, 2vw, 0.625rem) !important;
    }

    table.dataTable tbody th,
    table.dataTable tbody td {
        font-size: clamp(0.625rem, 2vw, 0.625rem) !important;
    }

    #titleHeader {
        display: flex !important;
        justify-content: center !important;
        flex-grow: 1 !important;
    }

    .title-header-text {
        font-size: clamp(1.5rem, 4vw, 2.8rem) !important;
        color: #0d1a80 !important;
    }

    .dropdown-menu {
        width: 13rem;
        position: static;
    }
}

/* Large Devices (desktops, 1024px and up) */
@media only screen and (min-width: 1024px) and (max-width: 1152px) {
    .nav-item a {
        font-size: clamp(0.813rem, 1.8vw, 0.875rem) !important;
    }

    .logout-link {
        font-size: clamp(0.813rem, 1.8vw, 0.875rem) !important;
    }

    .formlabel {
        font-size: clamp(0.813rem, 1.8vw, 0.875rem) !important;
    }

    .forminput {
        height: clamp(38px, 4vw, 40px) !important;
        font-size: clamp(0.813rem, 1.8vw, 0.875rem) !important;
    }

    .chosen-container-single .chosen-single {
        font-size: clamp(0.813rem, 1.8vw, 0.875rem) !important;
        height: clamp(38px, 4vw, 40px) !important;
        line-height: 38px !important;
    }

    .btn {
        font-size: clamp(0.68rem, 1.3vw, 0.68rem) !important;
        padding: clamp(0.67rem, 1vw, 0.67rem) !important;
    }

    .dataTables_wrapper thead th {
        font-size: clamp(0.813rem, 1.8vw, 0.875rem) !important;
    }

    table.dataTable tbody th,
    table.dataTable tbody td {
        font-size: clamp(0.813rem, 1.8vw, 0.875rem) !important;
    }

    #titleHeader {
        display: flex !important;
        justify-content: center !important;
        flex-grow: 1 !important;
    }

    .title-header-text {
        font-size: clamp(1.5rem, 4vw, 2.8rem) !important;
        color: #0d1a80 !important;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1152px) and (max-width: 1280px) {
    .nav-item a {
        font-size: clamp(0.875rem, 2vw, 1.063rem) !important;
    }

    .logout-link {
        font-size: clamp(0.875rem, 2vw, 1.063rem) !important;
    }

    .formlabel {
        font-size: clamp(0.875rem, 2vw, 1rem) !important;
    }

    .forminput {
        height: clamp(38px, 4vw, 40px) !important;
        font-size: clamp(0.875rem, 2vw, 1rem) !important;
    }

    .chosen-container-single .chosen-single {
        font-size: clamp(0.875rem, 2vw, 1rem) !important;
        height: clamp(38px, 4vw, 40px) !important;
        line-height: 38px !important;
    }

    .btn {
        font-size: clamp(0.75rem, 2vw, 0.67rem) !important;
        padding: clamp(0.5rem, 1vw, 0.70rem) !important;
    }

    .dataTables_wrapper thead th {
        font-size: clamp(0.875rem, 2vw, 1rem) !important;
    }

    table.dataTable tbody th,
    table.dataTable tbody td {
        font-size: clamp(0.875rem, 1.054vw, 1rem) !important;
    }

    #titleHeader {
        display: flex !important;
        justify-content: center !important;
        flex-grow: 1 !important;
    }

    .title-header-text {
        font-size: clamp(1.5rem, 4vw, 2.8rem) !important;
        color: #0d1a80 !important;
    }
}

/* OPEN LINK INPUT CSS */
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: 0 !important;
}

/* CLOSE BUTTON */
.btn-close {
    /* Default styles for the close button */
    width: 30px;
    height: 30px;
    background-color: transpaent !important;
    border: none;
    border-radius: 50%;
    /* Ensures the button is round */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.btn-close:hover {
    background-color: #9ba1c9 !important;
    color: whitesmoke !important;
    cursor: pointer;
}

/* DELETE BUTTON */
.deleteBtn {
    margin-right: 10px;
    background-color: transparent;
    color: #ff4d4d;
    font-size: 1rem;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.deleteBtn:hover {
    transform: scale(1.5);
    color: #ff1a1a;
}

#tblAddContactPersons th {
    text-align: center;
    vertical-align: middle;
}