﻿@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&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");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&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");

body {
    font-family: "Inter", sans-serif !important;
    background-color: var(--bg-body) !important;
    height: 100%;
    font-weight: 400 !important;
}

#content {
    transition: all 0.3s;
    min-height: 100vh;
}

.main-content {
    padding: 0px 29px 50px 5px;
}

/* FONT WEIGHT */
.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}
/* END FONT WEIGHT */

/* FONT SIZE */
.font-size-11 {
    font-size: 11px;
}

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

.font-size-13 {
    font-size: 13px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-24 {
    font-size: 24px;
}

.font-size-40 {
    font-size: 40px;
}
/* END FONT SIZE */

/* LINE HEIGHT */
.line-height-100 {
    line-height: 100%;
}

.line-height-21 {
    line-height: 21px;
}

.line-height-32 {
    line-height: 32px;
}

/* END LINE HEIGHT */

/* COLORS */
:root {
    --bg-body: #f2f2f2;
    --dark-black: #1e1e1e;
    --dark-green: #43545b;
    --dark-grey: #292d32;
    --green-text: #1caa9a;
    --grey-text: #a5acaf;
    --white-text: #fff;
    --border-color: #eeeeee;
    --bg-card1: #1caa9a3d;
    --bg-card2: #28c76f3d;
    --bg-card3: #88db593d;
    --bg-card4: #ff9f433d;
    --bg-success: #28c76f;
    --border-input-card: #dddddd;
    --bg-upload-image: #1caa9a29;
    --failed-text: #ea5455;
    --bg-badge: #2cb28a;
    --bg-gray: #f9f9f9;
    --pending-text: #ff9f43;
    --dot-small: #88db59;
}

.failed-text {
    color: var(--failed-text);
}

.white-text {
    color: var(--white-text);
}

.dark-text {
    color: var(--dark-black);
}

.dark-green {
    color: var(--dark-green);
}

.dark-grey {
    color: var(--dark-grey);
}

.green-text {
    color: var(--green-text);
}

.grey-text {
    color: var(--grey-text);
}
/* END COLORS */

/* CARDS */
.card {
    background-color: var(--white-text);
    border-radius: 6px;
    padding: 24px;
    gap: 16px;
    border: none;
}

.total-cards {
    padding: 25px;
    border-radius: 5px;
    gap: 20px;
}

.total-cards.card1 {
    background-color: var(--bg-card1);
}

.total-cards.card2 {
    background-color: var(--bg-card2);
}

.total-cards.card3 {
    background-color: var(--bg-card3);
}

.total-cards.card4 {
    background-color: var(--bg-card4);
}

.icons-total-cards {
    width: 48px;
    height: 48px;
    margin-right: 11.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* END CARDS */

/* TABLE */
.table thead th {
    color: var(--dark-black) !important;
    font-weight: 700;
    font-family: "Manrope";
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0%;
    vertical-align: middle;
    border-bottom: 3px solid var(--dark-black);
    border-bottom-width: 3px !important;
}

.table tr td {
    color: var(--dark-green) !important;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    border-bottom: 1px solid transparent;
    background-color: transparent;
}

.table tr {
    vertical-align: middle !important;
}

.table th {
    padding: 8px 8px 16px !important;
}

.table td {
    padding: 20px 8px !important;
}

.table tr:last-child td {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.table tr td:first-child,
.table tr th:first-child {
    padding-left: 0 !important;
}

.table-row-animate {
    animation: rowFadeUp 0.45s ease forwards;
}

.table-row-animate.table-row-border td {
    border-color: var(--border-color);
    transition: border-color 0.02s ease;
}

@keyframes rowFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table tbody tr:last-child td {
    border-bottom: none !important;
}

.table {
    min-width: 700px;
}

.table.small-table {
    min-width: 500px;
}

/* .table-responsive {
    overflow-x: auto;
    overflow-y: visible;
} */

/* END TABLE */

/* DROPDOWN */
.smart-dropdown {
    position: relative;
}

.label-success {
    position: relative;
    z-index: 1;
}

.smart-dropdown .dropdown-menu {
    position: absolute;
    z-index: 9999;
    top: 0 !important;
    right: 35px !important;
    transform: translateX(-4px) !important;
    left: auto !important;
    border-radius: 10px;
    min-width: 165px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08) !important;
    padding: 0;
    animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-weight: 400 !important;
    font-size: 12px;
    color: var(--dark-black);
    line-height: 17px;
    transition: background-color 0.2s ease;
    padding-bottom: 12px !important;
    padding-right: 15px;
    padding-left: 17px;
    padding-top: 12px;
    cursor: pointer;
    z-index: 1055;
    border-bottom: 0.5px solid var(--border-color);
}

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

.custom-dropdown .dropdown-item:hover {
    background-color: #f1f1f1;
    color: #000;
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--bs-dropdown-link-hover-color) !important;
    background-color: var(--bs-dropdown-link-hover-bg) !important;
}
/* END DROPDOWN*/

/* INPUT FIELDS */
.input-square {
    border: 1px solid var(--border-color) !important;
    height: 48px;
    border-radius: 8px !important;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 400;
}

/*.input-search {
    border: 1px solid var(--border-input-card) !important;
    height: 40px;
    border-radius: 180px !important;
    width: 100%;
    padding: 5px 19px;
}*/

.filter-status {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    background-color: #fff;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-green) !important;
    appearance: none;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("/assets/Images/svg/arrow-down.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 10px !important;
    padding-right: 16px !important;
    cursor: pointer;
}

.filter-status:has(option:checked:not([value=""])) {
    color: var(--dark-black) !important;
}

.form-control::placeholder {
    color: var(--dark-green) !important;
    font-size: 14px;
    font-weight: 400;
}

.form-control::-moz-placeholder {
    color: var(--dark-green) !important;
    opacity: 1;
    font-size: 14px;
    font-weight: 400;
}

.form-control:-ms-input-placeholder {
    color: var(--dark-green) !important;
    font-size: 14px;
    font-weight: 400;
}

.form-select:focus {
    border-color: var(--border-color);
    outline: 0;
    box-shadow: none;
}

textarea {
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    width: 100%;
}

.search-input-card {
    justify-content: space-between;
    padding-top: 5px;
    padding-right: 19px;
    padding-bottom: 5px;
    padding-left: 19px;
    border-radius: 180px;
    background-color: transparent;
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-input-card);
}

.sort-select {
    border: 1px solid var(--border-input-card);
    border-radius: 180px;
    padding: 5px 0 5px 19px;
    height: 40px;
}

/* Label */
.sort-label {
    font-size: 14px;
    color: #000;
    font-weight: 300;
    white-space: nowrap;
}

.sort-dropdown {
    border: none !important;
    padding: 0 42px 0 0 !important;
    font-size: 14px !important;
    color: #000 !important;
    font-weight: 500 !important;
    background-color: transparent !important;
    width: auto !important;
    box-shadow: none !important;
    cursor: pointer;
}

.sort-dropdown:focus {
    box-shadow: none;
}

input[type="date"].custom-date-input::-webkit-calendar-picker-indicator {
    opacity: 0 !important;
    display: none !important;
    -webkit-appearance: none;
    width: 100%;
}

input[type="date"].custom-date-input::-webkit-inner-spin-button,
input[type="date"].custom-date-input::-webkit-clear-button {
    display: none !important;
}

.custom-date-input {
    background-color: transparent;
    padding-right: 40px;
    position: relative;
    z-index: 2;
}

.custom-date-wrapper {
    position: relative;
}

.custom-date-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    cursor: pointer;
    z-index: 3;
}

.flatpickr-calendar
    .flatpickr-current-month
    .numInputWrapper
    input.numInput.cur-year {
    border-radius: 7px !important;
    margin-left: 5px !important;
    font-size: 14px !important;
}

/* Chrome, Edge, Safari */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single:focus-visible {
    background-color: #fff;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    margin-bottom: 18px !important;
    outline: 0 !important;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    height: 48px !important;
    user-select: none;
    -webkit-user-select: none;
    align-items: center;
    padding: 6px 12px;
}

.select2-dropdown {
    background-color: white;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.select2-search--dropdown .select2-search__field {
    padding: 4px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px !important;
    border-color: var(--border-color) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: 0 !important;
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--grey-text) !important;
    color: white;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 3px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 11px !important;
    right: 12px !important;
}

.select2-container--open .select2-selection__arrow {
    transform: rotate(180deg);
}

.select2-selection__arrow b {
    display: none !important;
}

.select2-selection__arrow {
    background: url("/assets/Images/svg/arrow-down.svg") center center no-repeat !important;
    background-size: 10px 10px; /* adjust size */
}

.select2-selection__rendered {
    line-height: 24px;
}

.select2-selection__arrow {
    height: 38px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: var(--dark-green) !important;
    font-size: 14px !important;
}

.selection:focus-visible {
    outline: 0 !important;
}

.iti {
    width: 100%;
    margin-bottom: 15px;
}

.iti__flag-container {
    border-right: 0 !important;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent !important;
    padding: 6px 12px;
}

.iti__selected-dial-code {
    margin-left: 6px;
    font-weight: 500;
}

.iti__arrow {
    display: none !important;
}

.iti__selected-flag {
    position: relative;
    padding: 6px 12px !important;
}

.iti__selected-flag::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: url("/assets/Images/svg/arrow-down.svg") no-repeat center;
    background-size: contain;
    pointer-events: none;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type="text"],
.iti--allow-dropdown input[type="tel"],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type="text"],
.iti--separate-dial-code input[type="tel"] {
    padding-right: 6px;
    padding-left: 52px;
    margin-left: 0;
    padding-left: 105px !important;
}
/* END INPUT */

/* BUTTONS */
.main-btn {
    background-color: var(--green-text) !important;
    color: white !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    padding: 14px 28px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    border-color: transparent !important;
    height: 45px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 36px !important;
    text-decoration: none !important;
    cursor: pointer;
}

.main-btn::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    z-index: 1 !important;
}

.main-btn:hover {
    color: #fff !important;
}

.main-btn:hover::before {
    left: 100% !important;
}

.secondary-btn {
    background-color: var(--white-text) !important;
    color: var(--green-text) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    padding: 14px 28px !important;
    border: 3px solid var(--green-text) !important;
    transition: all 0.3s ease !important;
    height: 45px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 36px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.secondary-btn:hover {
    background-color: var(--green-text) !important;
    color: #fff !important;
}

.btn-transparent {
    border: none !important;
    background: transparent;
    color: var(--green-text);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.action-btn {
    border: none !important;
    background: transparent;
    width: 24px;
    height: 24px;
    justify-content: center;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.back-btn {
    border: none !important;
    background: transparent;
    width: 24px;
    height: 24px;
    justify-content: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 24px;
}

/* Filter button */
.filter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-input-card);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-btn:hover {
    background: #f3f4f6;
}

.filter-btn i {
    font-size: 16px;
    color: #374151;
}
/* END BUTTONS */

a {
    text-decoration: none !important;
}

.label-success {
    color: var(--white-text);
    width: max-content;
    height: 25px;
    padding-right: 10px;
    padding-left: 10px;
    gap: 5px;
    border-radius: 5px;
    background-color: var(--bg-success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-failed {
    color: var(--white-text);
    width: max-content;
    height: 25px;
    padding-right: 10px;
    padding-left: 10px;
    gap: 5px;
    border-radius: 5px;
    background-color: var(--failed-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-grey {
    color: var(--white-text);
    width: max-content;
    height: 25px;
    padding-right: 10px;
    padding-left: 10px;
    gap: 5px;
    border-radius: 5px;
    background-color: var(--grey-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-pending,
.label-warning {
    color: var(--white-text);
    width: max-content;
    height: 25px;
    padding-right: 10px;
    padding-left: 10px;
    gap: 5px;
    border-radius: 5px;
    background-color: var(--pending-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* EMPTY STATE */
.empty-row td {
    border-bottom: 0 !important;
    background: transparent !important;
}

.empty-state {
    padding: 3rem 0;
    text-align: center;
}

.empty-state h6 {
    font-weight: 600;
    color: var(--dark-green);
}

.empty-state p {
    font-size: 13px;
    color: var(--grey-text);
}
/* END EMPTY STATE */

/* PAGINATION */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease;
}

.pagination {
    gap: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease;
}

.page-item {
    list-style: none;
}

.page-item .page-link {
    border-radius: 6px !important;
    border: none !important;
    background: #4b465c14 !important;
    color: var(--dark-green) !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
    padding: 10px 15px !important;
}

.page-item.active .page-link,
.page-item:hover .page-link {
    background: var(--green-text) !important;
    color: #fff !important;
}

.page-item.disabled .page-link {
    opacity: 0.9;
    pointer-events: none;
}

.page-numbers {
    display: contents;
}
/* END PAGINATION */

/* FILTER SIDEBAR */
.filter-sidebar {
    width: 380px;
    background-color: #fff;
    border-left: 1px solid #eee;
    position: fixed;
    top: 0;
    right: -380px;
    height: 100vh;
    transition: right 0.6s ease;
    z-index: 1050;
    overflow-y: auto;
    padding: 25px 40px;
}

.filter-sidebar.is-open {
    right: 0;
}

.filter-sidebar.is-open {
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
}

.btn-close.filter-close {
    --bs-btn-close-color: #1e1e1e;
    opacity: 1;
    width: 15px;
    height: 15px;
    margin-bottom: 24px;
}

button:focus:not(:focus-visible),
.btn-close:focus {
    outline: 0;
    box-shadow: none;
}
/* END FILTER SIDEBAR */

/* LOADER BUTTON */
.btn-loader {
    gap: 10px;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* END LOADER BUTTON */

/* TOAST */
.toast-wrapper {
    position: relative;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    pointer-events: none;
}

.toast-box {
    min-width: 320px;
    max-width: 380px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px 18px;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: auto;
}

.toast-box.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon img {
    width: 20px;
    height: 20px;
}

.toast-content h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.toast-content p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.85;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.5;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 0 0 14px 14px;
}

.toast-progress span {
    display: block;
    height: 100%;
    width: 100%;
    animation: toastProgress linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.toast-success .toast-icon {
    background: rgba(25, 135, 84, 0.15);
}

.toast-success .toast-icon img {
    filter: invert(36%) sepia(77%) saturate(419%) hue-rotate(93deg);
}

.toast-success .toast-progress span {
    background: #198754;
}

.toast-error .toast-icon {
    background: rgba(220, 53, 69, 0.15);
}

.toast-error .toast-icon img {
    filter: invert(27%) sepia(51%) saturate(2237%) hue-rotate(354deg);
}

.toast-error .toast-progress span {
    background: #dc3545;
}

.toast-info .toast-icon {
    background: rgba(13, 202, 240, 0.15);
}

.toast-info .toast-icon img {
    filter: invert(73%) sepia(81%) saturate(389%) hue-rotate(184deg);
}

.toast-info .toast-progress span {
    background: #0dcaf0;
}

.toast-warning .toast-icon {
    background: rgba(255, 193, 7, 0.2);
}

.toast-warning .toast-icon img {
    filter: invert(77%) sepia(42%) saturate(2207%) hue-rotate(6deg);
}

.toast-warning .toast-progress span {
    background: #ffc107;
}
/* END TOAST */

@media (max-width: 992px) {
    .filter-sidebar {
        width: 100%;
        right: -100%;
    }
}

.step-error {
    font-size: 14px;
}

/* COMPANY PROFILE */
.company-header-card {
    background-color: var(--white-text);
    gap: 16px;
    border-radius: 6px;
    padding: 24px;
}

.company-logo {
    width: 96px;
    height: 96px;
    border-radius: 50px;
    border: 3px solid #fff;
}

.small-company-logo {
    width: 38px;
    height: 38px;
    border-radius: 50px;
}

.status-badge {
    gap: 4px;
    border-radius: 4px;
    padding-top: 2px;
    padding-right: 4px;
    padding-bottom: 2px;
    padding-left: 4px;
    color: var(--white-text);
    font-size: 12px;
    font-weight: 400;
}

.status-badge-active {
    gap: 4px;
    border-radius: 4px;
    padding-top: 2px;
    padding-right: 4px;
    padding-bottom: 2px;
    padding-left: 4px;
    background: var(--bg-success);
    color: var(--white-text);
    font-size: 12px;
    font-weight: 400;
}

.label-pending,
.label-warning {
    background-color: var(--pending-text);
    color: var(--white-text);
}

.status-badge-grey {
    gap: 4px;
    border-radius: 4px;
    padding-top: 2px;
    padding-right: 4px;
    padding-bottom: 2px;
    padding-left: 4px;
    background: var(--grey-text);
    color: var(--white-text);
    font-size: 12px;
    font-weight: 400;
}

/* ===== Base tabs ===== */
.nav-tabs {
    border-bottom: 0.5px solid var(--grey-text) !important;
    display: inline-flex;
    flex-wrap: nowrap;
    opacity: 1;
    width: 100%;
}

.nav-tabs .nav-link {
    position: relative;
    padding: 10px 20px;
    background: transparent !important;
    border: 0 !important;
    color: inherit;
    white-space: nowrap;
}

/* underline animation */
.nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--green-text);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: var(--green-text);
    font-weight: 500;
}

.nav-tabs .nav-link:hover::after,
.nav-tabs .nav-link.active::after {
    width: 100%;
}

.tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tabs-wrapper.dragging {
    cursor: grabbing;
}

.file-company {
    background-color: var(--bg-card2);
    height: 95px;
    opacity: 1;
    gap: 10px;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.company-file-preview {
    background-color: var(--white-text);
    height: 95px;
    opacity: 1;
    gap: 10px;
    border-radius: 5px;
    padding: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
}

.company-file-preview img {
    height: 95px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.company-file-preview embed {
    height: 95px;
    width: 100%;
    border: none;
    overflow: hidden;
}

.company-file-preview img {
    height: 60px;
    width: auto;
}

.buses-card .card {
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.green-card {
    opacity: 1;
    gap: 24px;
    padding: 16px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    background-color: var(--green-text);
}

.buses-card {
    box-shadow: 0px 0px 24px 0px #00000014;
    border-radius: 12px;
}

.file-company.has-file .company-file-placeholder {
    display: none;
}

.info-card-body {
    background: var(--bg-gray);
    border-radius: 10px;
}

.info-row {
    padding: 10px 12px;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

#ridesPeriodSelect,
#areaChart {
    border-radius: 8px !important;
}

.live-map-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f5;
}

.details-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.green-row:not(:last-child) {
    border-bottom: 1px solid var(--white-text);
}

.green-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.green-card-body {
    background: var(--green-text);
    border-radius: 10px;
    padding: 8px 16px;
}

.orange-card-body {
    background: var(--pending-text);
    border-radius: 10px;
    padding: 8px 16px;
}

.success-card-body {
    background: var(--bg-success);
    border-radius: 10px;
    padding: 8px 16px;
}

.report-icon {
    background-color: var(--bg-card2);
    padding: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.route-map-card {
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
}

.route-map {
    width: 100%;
    height: 220px;
}

.company-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    z-index: 5;
}

.company-badge img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-item {
    position: relative;
}

.timeline {
    position: relative;
    margin-right: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline .dot {
    width: 8px;
    height: 8px;
    background: var(--green-text);
    border-radius: 50%;
    z-index: 2;
}

.space-line-wrapper {
    margin-left: 4px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 6px;
}

.dot.big {
    width: 3px;
    height: 3px;
    background: var(--green-text);
    border-radius: 50%;
}

.mini-dots {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dot.mini {
    width: 2px;
    height: 2px;
    background: var(--dot-small);
    border-radius: 50%;
}

.tickets-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 1200px) {
    .tickets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .tickets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tickets-grid {
        grid-template-columns: 1fr;
    }
}

.ticket-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.ticket-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0px 4px 24px 0px #00000014;
    overflow: hidden;
    transition: all 0.35s ease;
}

.ticket-card-link:hover .ticket-card {
    transform: scale(0.96);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.bg-grey {
    border-radius: 12px;
    padding: 16px;
    background: var(--bg-gray);
}

/* dashed line */
.ticket-divider {
    position: relative;
    border-top: 1px dashed var(--grey-text);
    margin: 16px -16px;
}

/* LEFT & RIGHT CIRCLES (the cut) */
.ticket-divider::before,
.ticket-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #f5f6f8;
    border-radius: 50%;
    z-index: 2;
}

/* left cut */
.ticket-divider::before {
    left: -11px;
}

/* right cut */
.ticket-divider::after {
    right: -11px;
}

.qr-card {
    background: var(--white-text);
    border-radius: 8px;
    padding: 11px;
}

/* Override Bootstrap arrow */
.status-select.form-select {
    background-image: url("/assets/Images/img/arrow-down.png");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: auto;
    cursor: pointer;
}

.icon-approve {
    background: var(--bg-card3);
    padding: 20px;
    border-radius: 56px;
    gap: 10px;
    height: 72px;
    width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border {
    border: 1px solid #dedede !important;
}

#ride .row,
#log .row,
#buses .row {
    margin-top: 0 !important;
}

#ride .row .card,
#log .row .card,
#buses .row .card {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#ride .row .card,
#buses .row .card {
    padding-top: 0 !important;
}
