body, html {
    --bs-font-sans-serif : Arial, sans-serif !important;
}

::-webkit-scrollbar {
  width: 5px;
  position: absolute;
}
::-webkit-scrollbar-track {
  background: #fafafa;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #0056b3;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8db5e0;
}

.page-title {
    font-family: sans-serif;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
    color: black !important;
}

/* Headers */
.header-text h5 {
    font-size: 20px;
    font-weight: 600;
    color: #505050;
}
.header-text h6 {
    font-size: 16px;
    font-weight: 500;
    color: #949494;
}
.navbar {
    padding: 0.5rem !important;
}
.navbar .container {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}
.navbar-left .nav-item .navbar-img,
.navbar-right .nav-item .navbar-img {
    height: 75px;
}
.navbar-left, .navbar-right {
    display: flex;
    padding: 0;
    margin: 0;
}
.navbar-left .nav-item, .navbar-right .nav-item {
    list-style: none;
}
.nav-fill .nav-item,
.nav-fill > .nav-link {
  min-width: 10rem;
}

.brand-logo-wrapper .brand-logo {
    height: 50px;
}

.custom-breadcrumb {
    font-family: sans-serif;
    font-size: 11px;
    margin-top: -18px;
}

.custom-breadcrumb li {
    font-size: 11px;
    color: black; /* Set breadcrumb color */
}

.custom-breadcrumb li a {
    color: #858796; /* Link color */
    text-decoration: none;
}

.custom-breadcrumb li a:hover {
    text-decoration: underline;
}



.custom-label {
    font-family: sans-serif;
    font-size: 12px;
    /* font-weight: bold; */
    color: #343A40
}

.custom-input {
    font-family: sans-serif !important;
    font-size: 12px !important;
    border-radius: 4px; 
    padding: 0.375rem 0.75rem;
}

input.form-control.custom-input {
    border: 2px solid #747474 !important;
}

select.form-select.custom-input {
    border: 2px solid #747474 !important;
    border-radius: 4px !important;
    font-family: sans-serif !important;
    font-size: 12px !important;
    padding: 0.375rem 0.75rem !important;
    background-color: #fff; /* Optional: ensures it's not greyed out */
    color: #000; /* Optional: text color */
}

textarea.form-control.custom-input {
    border: 2px solid #747474 !important;
    border-radius: 4px !important;
    font-family: sans-serif !important;
    font-size: 12px !important;
    padding: 0.375rem 0.75rem !important;
}

.custom-select {
  border: 2px solid #747474 !important;
    border-radius: 4px !important;
    font-family: sans-serif !important;
    font-size: 12px !important;
    padding: 0.375rem 0.75rem !important;
    background-color: #fff; /* Optional: ensures it's not greyed out */
    color: #000; /* Optional: text color */
}

.form-check-input[type="radio"] {
    border: 2px solid #4CAF50; /* Change to your desired color */
}

input::placeholder {
    color: rgb(87, 85, 85);
}

input:focus,
input:not(:placeholder-shown) {
    color: black;
}


.custom-th {
    font-family: sans-serif;
    font-size: 12px;
}

.custom-td {
    font-family: sans-serif;
    font-size: 12px;
}

.custom-span {
    font-family: sans-serif;
    font-size: 12px;
    /* font-weight: bold !important; */
    color: #000;
}

.required-field {
    color: red !important;
}

.custom-label {
    font-family: sans-serif;
    font-size: 12px;
    /* font-weight: bold !important; */
}

.custom-plate {
    margin-top: 0;
    margin-left: 4px;
    padding-top: 0;
    font-family: sans-serif;
    font-size: 12px;
    color: #000;
}

.serial-label {
    font-family: sans-serif;
    font-size: 20px;
    font-weight: bold;
}

.serial-value {
    margin-left: 4px;
    font-family: sans-serif;
    font-size: 20px;
}


/* Shared icon button styling */
.icon-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease-in-out;
}

/* Edit icon */
.edit-icon svg {
    color: rgb(25, 145, 37);
    width: 14px;
    height: 20px;
}

/* Delete icon */
.delete-icon {
    color: rgb(234, 16, 16);
    /* margin-left: 16px; */
    font-size: 16px;
}

/* Optional: Add hover effect */
.edit-icon:hover svg,
.delete-icon:hover {
    opacity: 0.8;
}


/* DataTables Search box label and input */
.dataTables_filter label,
.dataTables_filter input {
    font-family: sans-serif !important;
    font-size: 10px !important;
}

/* DataTables page length dropdown label and select */
.dataTables_length label,
.dataTables_length select {
    font-family: sans-serif !important;
    font-size: 10px !important;
}

/* DataTables info text (e.g. "Showing 1 to 10 of 50 entries") */
.dataTables_info {
    font-family: sans-serif !important;
    font-size: 10px !important;
}

table.dataTable_wrapper .dataTables_paginate ul.pagination li.page-item a.page-link,
table.dataTable_wrapper .dataTables_paginate ul.pagination li.page-item span.page-link {
    font-family: sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    padding: 0.3rem 0.7rem !important;
}

/* Apply font changes to most DataTables elements */
.dataTables_filter label,
.dataTables_filter input,
.dataTables_length label,
.dataTables_length select,
.dataTables_info,
.dataTables_paginate .pagination,
.dataTables_wrapper {
    font-family: sans-serif !important;
    font-size: 12px !important;
}

/* Exclude FontAwesome icons */
.dataTables_wrapper i {
    font-family: "Font Awesome 5 Free" !important; /* or your FontAwesome font-family */
    font-weight: 900; /* adjust if you use solid, regular, or light */
}

/* Exclude inline SVG icons inside links with class icon-btn */
.dataTables_wrapper a.icon-btn svg {
    font-family: initial !important; /* resets font-family for SVG */
    font-size: initial !important;   /* resets font-size for SVG */
}


/* Modal Content Styling */
.custom-modal-content {
    font-family: sans-serif;
    border-radius: 8px;
    overflow: hidden;
}

/* Modal Header */
.custom-modal-header {
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-header .modal-title {
font-size: 16px;
font-weight: 700;
color: rgb(215, 79, 71); /* Red-ish */
margin: 0;
}

/* Modal Body */
.custom-modal-body {
padding: 1rem 1.5rem;
font-size: 12px;
color: #000;
}

/* Modal Footer */
.custom-modal-footer {
background-color: #fff;
padding: 0.75rem 1.5rem;
border-top: 1px solid #dee2e6;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
}

.custom-modal-footer .btn-light {
font-size: 12px;
font-family: sans-serif;
}

.custom-modal-footer .btn-danger {
font-size: 12px;
font-family: sans-serif;
border-color: rgb(215, 79, 71);
background-color: rgb(215, 79, 71);
transition: background-color 0.3s ease;
}

.custom-modal-footer .btn-danger:hover {
background-color: #d24e44;
border-color: #d24e44;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.icon-link svg {
    width: 15px;  /* <- Change size here */
    height: 20px;
    color: rgb(16, 106, 36); /* Default icon color */
}

.icon-link:hover {
    background-color: rgba(16, 106, 36, 0.1);
    transform: scale(1.05);
}

/* Override color for edit icon */
.icon-link.edit svg {
    color: rgb(16,106,36);
}

/* Override color for renew icon */
.icon-link.renew svg {
    color: #4E73DF;
}



.divider-line {
    height: 1px;
    background-color: #ddd7d7;
    margin-top: 0;
    margin-bottom: 16px;
}


.custom-eye-icon {
        color: #50535a;
        font-size: 13px !important;
        margin-right: 10px;
    }

.custom-pencil-icon {
    color: #18663f;
    font-size: 13px !important;
    margin-right: 5px;
}

.custom-renew-icon {
    color: #3045c0;
    font-size: 13px !important;
    margin-right: 10px
}

.custom-calender-icon {
    color: #FFA500;
    font-size: 13px !important;
    margin-right: 10px
}

.custom-add-vehicle-icon {
    color: #228844;
    font-size: 13px !important;
    margin-right: 10px
}

.badge-bg-returned {
    background-color: #FFF1E2;   
    color: #ec6868 !important;              
    border: 2px solid #ec6868;   
    font-weight: bold;
    border-radius: 999px !important; 
    width: 80px;
    font-size: 10px !important;
}

.badge-bg-draft {
    background-color: #e0f0ff;   
    color: #4897cc !important;              
    border: 2px solid #4897cc;   
    font-weight: bold;
    border-radius: 999px !important; 
    width: 90px;
    font-size: 10px !important;
}

.badge-bg-approve {
    background-color: #F0FFF2;   
    color: #02CA3A !important;              
    border: 2px solid #02CA3A;   
    font-weight: bold;
    border-radius: 999px !important; 
    width: 80px;
    font-size: 10px !important;
}

.badge-bg-evaluation {
    background-color: #fff8e1;   
    color: #FFC107 !important;              
    border: 2px solid #FFC107;   
    font-weight: bold;
    border-radius: 999px !important; 
    width: 130px;
    font-size: 10px !important;
}

/* Color for selected text and input */
.ts-wrapper.custom-font .ts-control {
    color: #96a4b8 !important;
}

/* Color for dropdown items */
.ts-wrapper.custom-font .ts-dropdown .ts-dropdown-content .option {
    color: #96a4b8 !important;
}

select.custom-font + .ts-wrapper .ts-control {
    color: #96a4b8 !important;
}

.tom-select-dropdown {
    max-height: 200px !important;
    overflow-y: auto !important;
}

#saveDocumentsBtn:disabled {
    background-color: #999 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Font style for the displayed selected value */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: sans-serif;  /* Change to your desired font */
    font-size: 12px;                   /* Change size as needed */
}

/* Font style for dropdown options */
.select2-container--default .select2-results__option {
    font-family: sans-serif;
    font-size: 12px;
}

.custom-dw{
    color: #000000;
}


.multisteps-form__progress {
    display: flex;
    flex-wrap: wrap; /* Wrap buttons on small screens */
    justify-content: center; /* Center buttons horizontally */
    gap: 0.5rem; /* space between buttons */
    padding: 0.5rem 1rem;
    border-radius: 8px; /* optional */
}

.multisteps-form__progress-btn {
    flex: 1 1 140px; /* flexible, min width 140px */
    min-width: 120px; /* prevents too narrow buttons */
    max-width: 100%; /* don't exceed container */
    white-space: normal; /* allow text wrapping */
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    background-color: #ddd;
    transition: background-color 0.3s ease;
}

.multisteps-form__progress-btn.js-active {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .navbar .container {
    justify-content: center !important;
    flex-direction: column;
    gap: 0.3rem;
  }
  .users-splash .content {
    width: 80%;
  }
  .cards .container .content .card-header .header-group {
    flex-direction: column;
    gap: 1rem;
  }
  section.registration-form form {
    padding: 10px;
    margin-top: 20px;
  }
  .navbar-img {
    height: 50px !important;
  }
  footer .about-govph {
    padding: 3rem 1rem;
  }
  footer .about-us {
    padding: 0 1rem 2rem 1rem;
  }
  footer .about-govph .govph-img {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
  }
  footer .about-govph .govph-img .republika-logo {
    height: 200px;
    opacity: 0.2;
    z-index: -2;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
  }
  footer > .container > .about-us,
  footer > .container > .about-us,
  footer > .container > .about-us {
    padding: 0 2rem 2rem 2rem;
  }
  .overlay .overlay-text-wrapper .overlay-header-label {
    font-size: 2.2rem;
    padding: 2rem 3rem 0.5rem 3rem;
  }
  .overlay .overlay-text-wrapper .overlay-paragraph-label {
    font-size: 1rem;
    padding: 0.5rem 3rem 1rem 3rem;
  }
  .multisteps-form__progress-btn {
    flex-basis: 100%; /* full width on very small screens */
    font-size: 0.85rem;
    padding: 0.6rem 0.5rem;
  }
}
/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .navbar-right,
    .navbar-left {
        display: none;
    };
  footer > .container > .about-us,
  footer > .container > .about-us,
  footer > .container > .about-us {
    padding: 0 2rem 2rem 2rem;
  }
  .navbar-img {
    height: 50px !important;
  }
}

@media (max-width: 992px) {
  .users-splash .content {
    width: 80%;
  }
  footer .about-govph .govph-img {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
  }
  footer .about-govph .govph-img .republika-logo {
    height: 200px;
    opacity: 0.2;
    z-index: -2;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .navbar.navbar-expand-lg .container {
    max-width: 100%;
  } 
  .users-splash .content {
    width: 80%;
  }
  .header-text {
    margin: 0.5rem 0;
  }
  .overlay .overlay-text-wrapper .overlay-header-label {
    font-size: 2.2rem;
  }
  .overlay .overlay-text-wrapper .overlay-paragraph-label {
    font-size: 1rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .users-splash .content {
    width: 70%;
  }
  .navbar.navbar-expand-lg .container {
    max-width: 1600px !important;
  }
  .navbar-right {
    justify-content: end !important;
  }
  .brand-logo.navbar-left {
    justify-content: start !important;
  }
  .overlay .overlay-text-wrapper .overlay-header-label {
    font-size: 2.6rem;
  }
  .overlay .overlay-text-wrapper .overlay-paragraph-label {
    font-size: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .users-splash .content {
    width: 80%;
  }
  .overlay .overlay-text-wrapper .overlay-header-label {
    font-size: 3.2rem;
  }
  .overlay .overlay-text-wrapper .overlay-paragraph-label {
    font-size: 1.2rem;
  }
}


/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .users-splash .content {
    width: 70%;
  }
}

/* XX-Large devices larger desktops, 1400px and up */
@media (min-width: 1400px) {
  .users-splash .content {
    width: 40%;
  }

}