::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: white;
}
::-webkit-scrollbar-thumb {
    background: grey;
}
.side-nav-item{
    transition:0.5s;
}
.side-nav-item ul li{
    transition:0.5s;
}
.side-nav-item:hover{
    background-color: #f1f1f119;
}
.side-nav-item ul li:hover{
    background-color: #f1f1f119;
}
.cursor-pointer{
    cursor: pointer;
}
input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
.thumbnail .thumbnail_slider {
    max-width: 700px;
    /* margin: 30px auto; */
}
.thumbnail .splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 580px;
    background-size: contain !important;
    background-position: center;
    overflow: hidden;
    transition: .2s;
    border-width: 2px !important;
    margin: 10px 4px;
}
.thumbnail .splide--nav > .splide__track > .splide__list > .splide__slide.is-active {
    box-shadow: 2px 3px 8px #000000a3;
}
.thumbnail .splide__slide img {
    width: 150px;
    height: 150px;
    background-size: contain !important;
}
.avatar-wrapper {
    position: relative;
    display: inline-block;
}
.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.status-dot.online{
    background-color: #28a745;
}
.status-dot.offline {
    background-color: #dc3545;
}

/* Slightly shorter dashboard top bar (theme default --ct-topbar-height is 70px) */
:root {
    --ct-topbar-height: 67px;
}

/* Presence (online / offline) — matches admin panel */
.presence-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    flex-shrink: 0;
    vertical-align: middle;
}
.presence-dot--online {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}
.presence-dot--offline {
    background: #94a3b8;
}
.presence-badge .presence-dot {
    width: 0.5rem;
    height: 0.5rem;
}

/* Wallet stat cards */
.wallet-stat-card {
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(23, 35, 79, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wallet-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(23, 35, 79, 0.1);
}
.wallet-stat-card .card-body {
    position: relative;
    padding: 1rem;
}
.wallet-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .55rem;
    font-size: 1.1rem;
    background: rgba(67, 84, 255, 0.12);
    color: #4354ff;
}
.wallet-stat-label {
    color: #6c757d;
    font-size: 12px;
    letter-spacing: .2px;
    display: block;
    margin-bottom: .2rem;
}
.wallet-stat-value {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: #1f2633;
}
.wallet-stat-card--teal .wallet-stat-icon { background: rgba(0, 166, 153, 0.14); color: #00897b; }
.wallet-stat-card--blue .wallet-stat-icon { background: rgba(13, 110, 253, 0.13); color: #0d6efd; }
.wallet-stat-card--green .wallet-stat-icon { background: rgba(25, 135, 84, 0.13); color: #198754; }
.wallet-stat-card--amber .wallet-stat-icon { background: rgba(255, 152, 0, 0.14); color: #ef8f00; }
.wallet-stat-card--red .wallet-stat-icon { background: rgba(220, 53, 69, 0.13); color: #dc3545; }
.wallet-stat-card--violet .wallet-stat-icon { background: rgba(111, 66, 193, 0.14); color: #6f42c1; }
.wallet-stat-card--indigo .wallet-stat-icon { background: rgba(80, 70, 229, 0.14); color: #5046e5; }

/* Agent auth pages */
.auth-split-page {
    background: #f3f5f9;
}
.auth-fluid.auth-split-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}
.auth-split-layout .auth-fluid-form-box {
    order: 1;
    width: 48%;
    max-width: 620px;
    background: #ffffff;
    border-right: 1px solid #e6e9ef;
    overflow-y: auto;
}
.auth-split-layout .auth-fluid-right {
    order: 2;
    width: 52%;
    min-height: 100vh;
    background: #0f172a;
    display: flex;
    align-items: stretch;
    padding: 0 !important;
    margin: 0 !important;
}
.auth-hero-pane {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    overflow: hidden;
    margin: 0;
}
.auth-hero-pane img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}
.auth-hero-pane::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.35) 100%);
}
.auth-form-shell {
    max-width: 430px;
    margin: 0 auto;
    width: 100%;
}
.auth-split-layout .auth-fluid-form-box .card-body {
    padding-top: 1rem !important;
    padding-bottom: 0.75rem !important;
}
.auth-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.auth-brand-row img {
    height: 32px;
    width: auto;
    max-width: 210px;
}
.auth-back-link {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}
.auth-back-link:hover {
    color: #eb662b;
}
.auth-form-shell h1 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: #eb662b;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.auth-form-shell .auth-subtitle {
    color: #6b7280;
    margin-bottom: 0.85rem;
}
.auth-form-shell .form-floating {
    margin-bottom: 0.5rem !important;
}
.auth-form-shell .footer {
    margin-top: 0.75rem !important;
    padding-top: 0.25rem;
}
.auth-form-shell .form-floating > label {
    color: #6b7280;
}
.auth-form-shell .form-control {
    border-color: #d9dfec;
}
.auth-form-shell .btn-primary {
    background: linear-gradient(135deg, #eb662b 0%, #f97316 100%);
    border: 0;
    box-shadow: 0 8px 18px rgba(235, 102, 43, 0.28);
}
.auth-form-shell .btn-primary:hover,
.auth-form-shell .btn-primary:focus {
    background: linear-gradient(135deg, #de5b22 0%, #eb662b 100%);
    box-shadow: 0 10px 22px rgba(235, 102, 43, 0.34);
}
.auth-form-shell .btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(235, 102, 43, 0.25), 0 10px 22px rgba(235, 102, 43, 0.34);
}
.auth-form-shell a {
    color: #eb662b;
}
.auth-form-shell a:hover {
    color: #de5b22;
}
@media (max-width: 1199.98px) {
    .auth-split-layout .auth-fluid-form-box {
        width: 52%;
    }
    .auth-split-layout .auth-fluid-right {
        width: 48%;
    }
}
@media (max-width: 991.98px) {
    .auth-fluid.auth-split-layout {
        flex-direction: column;
        min-height: 100vh;
    }
    .auth-split-layout .auth-fluid-form-box {
        width: 100%;
        max-width: 100%;
        border-right: 0;
        order: 1;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
    }
    .auth-split-layout .auth-fluid-right {
        display: none !important;
    }
    .auth-form-shell {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }
    .auth-split-layout .auth-fluid-form-box .card-body {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .auth-brand-row img {
        height: 28px;
        max-width: 180px;
    }
}
/* Unified phone row: country code + number in one control */
.auth-phone-field {
    margin-bottom: 0.5rem;
}
.auth-phone-field__label {
    display: block;
    margin-bottom: 0.4rem;
    padding-left: 0.12rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}
.auth-phone-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: calc(3.5rem + 2px);
    border: 1px solid #d9dfec;
    border-radius: 0.375rem;
    background: #fff;
    overflow: visible;
    position: relative;
    z-index: 1;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.auth-phone-input-group:focus-within,
.auth-phone-input-group.is-dial-open {
    border-color: #eb662b;
    box-shadow: 0 0 0 0.2rem rgba(235, 102, 43, 0.18);
    z-index: 20;
}
.auth-phone-dial-picker {
    position: relative;
    flex: 0 0 5.75rem;
    max-width: 5.75rem;
    border-right: 1px solid #e5e7eb;
    background: #f8fafc;
}
.auth-phone-dial__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.15rem;
    width: 100%;
    height: 100%;
    min-height: calc(3.5rem + 2px);
    margin: 0;
    padding: 0 0.45rem 0 0.65rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    cursor: pointer;
}
.auth-phone-dial__btn:focus {
    outline: none;
    background: #f1f5f9;
}
.auth-phone-dial__chevron {
    font-size: 1.1rem;
    color: #64748b;
    transition: transform 0.15s ease;
}
.auth-phone-dial-picker.is-open .auth-phone-dial__chevron {
    transform: rotate(180deg);
}
.auth-phone-dial__panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1060;
    width: max(100%, 16.5rem);
    max-width: min(20rem, calc(100vw - 2rem));
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}
.auth-phone-dial__panel[hidden] {
    display: none !important;
}
.auth-phone-dial__search-wrap {
    position: relative;
    padding: 0.45rem 0.5rem;
    border-bottom: 1px solid #eef2f7;
    background: #fafbfc;
}
.auth-phone-dial__search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #94a3b8;
    pointer-events: none;
}
.auth-phone-dial__search {
    width: 100%;
    margin: 0;
    padding: 0.45rem 0.55rem 0.45rem 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.3rem;
    font-size: 0.8125rem;
    line-height: 1.25;
    color: #0f172a;
    background: #fff;
}
.auth-phone-dial__search:focus {
    outline: none;
    border-color: #eb662b;
    box-shadow: 0 0 0 0.15rem rgba(235, 102, 43, 0.15);
}
.auth-phone-dial__list {
    max-height: 150px;
    margin: 0;
    padding: 0.2rem 0;
    list-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.auth-phone-dial__empty {
    margin: 0;
    padding: 0.65rem 0.75rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
}
.auth-phone-dial__empty[hidden] {
    display: none !important;
}
.auth-phone-dial__option.is-hidden {
    display: none !important;
}
.auth-phone-dial__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.25;
    color: #334155;
    cursor: pointer;
}
.auth-phone-dial__option:hover,
.auth-phone-dial__option.is-selected {
    background: #fff7ed;
}
.auth-phone-dial__option-code {
    flex: 0 0 auto;
    min-width: 2.75rem;
    font-weight: 700;
    color: #0f172a;
}
.auth-phone-dial__option-label {
    flex: 1 1 auto;
    min-width: 0;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.auth-phone-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0.85rem 0.9rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 1rem;
    line-height: 1.25;
    color: #111827;
}
.auth-phone-input::placeholder {
    color: #9ca3af;
}
.auth-phone-input:focus {
    outline: none;
    box-shadow: none;
}
@media (max-width: 575.98px) {
    .auth-phone-dial-picker {
        flex: 0 0 5.25rem;
        max-width: 5.25rem;
    }
    .auth-phone-dial__btn {
        padding-left: 0.5rem;
        font-size: 0.875rem;
    }
    .auth-phone-dial__panel {
        width: max(100%, 15rem);
    }
    .auth-phone-dial__list {
        max-height: min(150px, 42vh);
    }
    .auth-phone-input {
        padding: 0.8rem 0.7rem;
        font-size: 0.9375rem;
    }
}
@media (max-height: 500px) {
    .auth-phone-dial__list {
        max-height: min(120px, 38vh);
    }
}
@media (max-height: 760px) and (min-width: 992px) {
    .auth-split-layout .auth-fluid-form-box .card-body {
        padding-top: 0.75rem !important;
        padding-bottom: 0.35rem !important;
    }
    .auth-brand-row {
        margin-bottom: 0.85rem;
    }
    .auth-form-shell .auth-subtitle {
        margin-bottom: 0.55rem;
    }
    .auth-form-shell .form-floating {
        margin-bottom: 0.4rem !important;
    }
}