:root {
    /* Brand Colors - Synced with Landing Page */
    --primary: #dc2626;
    --primary-rgb: 220, 38, 38;
    --secondary: #1B998B;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #0ea5e9;
    --success: #10b981;
    --white: #ffffff;
    --dark: #0c0c0c;
    --text: #1c1917;
    --text-muted: #57534e;
    --bg-primary: #fafaf9;
    --border-light: #e7e5e4;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    
    /* Bootstrap Overrides */
    --bs-primary: var(--primary);
    --bs-primary-rgb: var(--primary-rgb);
    --bs-link-color: var(--primary);
    --bs-link-hover-color: #991b1b;
    
    /* Brand Fonts */
    --font-display: "Instrument Serif", Georgia, serif;
    --font-body: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;

    /* Gradients */
    --linear-gradient: linear-gradient(135deg, var(--primary) 0%, #991b1b 100%);

    /* Legacy aliases */
    --app1: var(--primary);
    --app2: var(--secondary);
    --cancel: var(--danger);
    --revoke: var(--warning);
    --red: var(--danger);
}

.authentication-bg {
    background: linear-gradient(135deg, var(--primary) 0%, #151642 100%) !important;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.authentication-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0),
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 51%);
    background-size: 32px 32px, 64px 64px;
    pointer-events: none;
}

.content-page-wrapper {
    margin-left: 240px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
}

.content-page {
    flex: 1;
    margin-left: 0 !important;
    padding: 0 15px 30px 15px;
}

[data-sidebar-size="condensed"] .content-page-wrapper {
    margin-left: 70px;
}

@media (max-width: 991.98px) {
    .content-page-wrapper {
        margin-left: 0 !important;
    }
}

.new-mb-3-29 {
    margin-bottom: -3.29rem !important;
}

.logo-img {
    width: 120px;
    height: 120px;
    border-radius: 5px;
    object-fit: cover;
}

.validation_error {
    color: red;
    font-weight: 500;
}

.btn-custom {
    background: var(--primary) !important;
    color: white !important;
    border-radius: 9999px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.btn-custom:hover {
    background: #991b1b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
}

.btn-custom:after {
    content: "" !important;
    background: white !important;
    position: absolute !important;
    z-index: -1 !important;
    left: -20% !important;
    right: -20% !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: skewX(-45deg) scale(0, 1) !important;
    transition: all 0.5s !important;
}

.btn-custom:hover:after {
    transform: skewX(-45deg) scale(1, 1) !important;
    -webkit-transition: all 0.5s !important;
    transition: all 0.5s !important;
}

.bg-app {
    background-color: var(--primary) !important;
}

.border-app {
    border-color: var(--primary) !important;
}

.btn-app {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.new-bg-danger {
    --bs-bg-opacity: 1;
    background-color: var(--danger) !important;
}

.new-bg-success {
    --bs-bg-opacity: 1;
    background-color: var(--success) !important
}

.new-text-danger {
    --bs-bg-opacity: 1;
    color: var(--danger) !important;
}

.new-text-success {
    --bs-bg-opacity: 1;
    color: var(--success) !important
}

.new-text-warning {
    --bs-bg-opacity: 1;
    color: var(--warning) !important
}

.new-text-info {
    --bs-bg-opacity: 1;
    color: var(--info) !important
}

.new-badge {
    cursor: pointer !important;
    padding: 5px 10px !important;
    display: inline-block !important;
    /* font-size: 1em !important; */
    /* line-height: 1.1 !important; */
    text-transform: uppercase;
}

.action-button {
    /* margin-bottom: 5px !important; */
    cursor: pointer !important;
    background: transparent;
    border: none;
}


/* Standardized table utility classes */



/* .pagination .page-link {
    border-radius: 30px !important;
    margin: 0 6px;
    border: none
} */

.bg-app-theme {
    background-color: var(--primary);
}

.mdi-19px {
    font-size: 19px !important;
}


.table-btn {
    font-family: var(--font-body) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 16px !important;
    border: 1px solid var(--border-light) !important;
    transition: all 0.2s !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    color: var(--dark) !important;
    background: var(--white) !important;
}

.table-btn:hover {
    background: var(--bg-secondary) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-mute {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-light) !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    transition: all 0.2s !important;
}

.btn-mute:hover {
    background-color: var(--bg-secondary) !important;
    color: var(--dark) !important;
}

.btn-mute:after {
    content: "" !important;
    background: white !important;
    position: absolute !important;
    z-index: -1 !important;
    left: -20% !important;
    right: -20% !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: skewX(-45deg) scale(0, 1) !important;
    transition: all 0.5s !important;
}

.btn-cancel {
    background: var(--red) !important;
    color: white !important;
    border-radius: 0.625em !important;
    font-size: 17px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
}

.btn-cancel:hover {
    color: var(--danger) !important;
}

.btn-cancel:after {
    content: "" !important;
    background: white !important;
    position: absolute !important;
    z-index: -1 !important;
    left: -20% !important;
    right: -20% !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: skewX(-45deg) scale(0, 1) !important;
    transition: all 0.5s !important;
}

.btn-cancel:hover:after {
    transform: skewX(-45deg) scale(1, 1) !important;
    -webkit-transition: all 0.5s !important;
    transition: all 0.5s !important;
}


.mr-1 {
    margin-right: 10px !important;
}



/* Back Button */
.button {
    display: block;
    position: relative;
    width: 56px;
    height: 56px;
    margin: 7px 0 0 16px;
    overflow: hidden;
    outline: none;
    background-color: transparent;
    border: 0;
}

.button:before,
.button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 7px;
}

.button:before {
    border: 4px solid var(--app1);
    transition: opacity .4s cubic-bezier(.77, 0, .175, 1) 80ms, transform .5s cubic-bezier(.455, .03, .515, .955) 80ms;
}

.button:after {
    border: 4px solid var(--success);
    transform: scale(1.3);
    transition: opacity .4s cubic-bezier(.165, .84, .44, 1), transform .5s cubic-bezier(.25, .46, .45, .94);
    opacity: 0;
}

.button:hover:before,
.button:focus:before {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity .4s cubic-bezier(.165, .84, .44, 1), transform .5s cubic-bezier(.25, .46, .45, .94);
}

.button:hover:after,
.button:focus:after {
    opacity: 1;
    transform: scale(1);
    transition: opacity .4s cubic-bezier(.77, 0, .175, 1) 80ms, transform .5s cubic-bezier(.455, .03, .515, .955) 80ms;
}

.button-box {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
}

.button-elem {
    display: block;
    width: 20px;
    height: 20px;
    margin: 18px 18px 0 18px;
    transform: rotate(180deg);
    fill: var(--revoke);
}

.button:hover .button-box,
.button:focus .button-box {
    transition: .4s;
    transform: translateX(-56px);
}

/* Back Button Ends */

.justify-content-right {
    justify-content: right !important;
}

.new-img {
    width: 9rem !important;
    height: 9rem !important;
    border: 3px solid #fff !important;
    box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.3) !important;
}


/* Image preview */

.admin-profile {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 9;
}

.admin-profile img {
    position: absolute;
    object-fit: cover;
    width: 165px !important;
    height: 165px !important;
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, .35);
    border-radius: 100px;
    z-index: 0;
}

.admin-profile .-label {
    cursor: pointer;
    height: 165px;
    width: 165px;
}

.admin-profile:hover .-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .8);
    z-index: 10000;
    color: #fafafa;
    transition: background-color 0.2s ease-in-out;
    border-radius: 100px;
}

.admin-profile span {
    display: inline-flex;
    padding: 0.2em;
    height: 2em;
}

.custom-back {
    margin-left: 10px;
    margin-bottom: -45px;
    width: 55px;
}

.img-input {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.login-badge {
    font-size: 1em;
    text-transform: uppercase;
}

.dataTables_filter {
    text-align: right;
    clear: both;
    float: right;
}


/* download button */
.dwd-button {
    position: relative;
    width: 150px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 1px solid #17795E;
    background-color: #209978;
    overflow: hidden;
}

.dwd-button,
.button__icon,
.button__text {
    transition: all 0.3s;
}

.dwd-button .button__text {
    transform: translateX(22px);
    color: #fff;
    font-weight: 600;
}

.dwd-button .button__icon {
    position: absolute;
    transform: translateX(109px);
    height: 100%;
    width: 39px;
    background-color: #17795E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dwd-button .svg {
    width: 20px;
    fill: #fff;
}

.dwd-button:hover {
    background: #17795E;
}

.dwd-button:hover .button__text {
    color: transparent;
}

.dwd-button:hover .button__icon {
    width: 148px;
    transform: translateX(0);
}

.dwd-button:active .button__icon {
    background-color: #146c54;
}

.dwd-button:active {
    border: 1px solid #146c54;
}

/* Download Button Ends */


.new-cards {
    cursor: pointer;
}

/* Replaced by .dashboard-date-input */

.listing-img {
    width: 60px;
    height: 60px;
}

/* Card & Widget Overhaul */
.card {
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-md) !important;
}

.card-body {
    padding: 1.5rem !important;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

/* Table UI Standardization */
.reactTable table {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.reactTable thead th {
    background-color: #f9fafb !important;
    color: var(--text-muted) !important;
    font-family: var(--font-display) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
    border-bottom: 1px solid var(--border-light) !important;
    padding: 1rem !important;
}

.reactTable tbody td {
    padding: 1rem !important;
    vertical-align: middle;
    border: none !important;
    border-bottom: 1px solid var(--border-light) !important;
    font-size: 14px;
}

.no-data {
    padding: 20px !important;
    background-color: #fff;
    color: #98a6ad;
}

.reactTable tr:hover td {
    background-color: rgba(44, 46, 120, 0.03);
    /* Subtle primary tint */
}

/* Sorting Icons (Handled in JSX with MDI icons) */
.reactTable th.sorting {
    cursor: pointer;
    user-select: none;
}

/* Pagination Styling */
.pagination-rounded .page-link {
    border-radius: 50% !important;
    margin: 0 3px;
    border: 1px solid #dee2e6;
    color: var(--text);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pagination-rounded .active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.pagination-rounded .page-item:not(.active):hover .page-link {
    background-color: #f1f1f1;
}

.pagination-summary {
    color: #6c757d;
    font-size: 0.9rem;
    padding-top: 8px;
}


/* daterangepicker class ends */

/* react-date-range responsiveness */
.rdrDateRangeWrapper {
    max-width: 100vw;
}

@media (max-width: 768px) {
    .rdrCalendarWrapper {
        font-size: 11px;
    }

    .rdrDateRangeWrapper {
        flex-direction: column;
    }

    .rdrStaticRanges {
        display: none;
    }

    .dashboard-date-input {
        width: 100% !important;
    }
}

.dashboard-date-input {
    width: 230px !important;
}

/* Dashboard Custom Components */
.dashboard-banner {
    background: linear-gradient(135deg, var(--app1) 0%, var(--app2) 100%);
    border: none;
    color: #fff;
}

.animate-spin-slow {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Table Starts */

.new-table {
    overflow: auto;
    max-height: 200px;
    /* Set a max height for the table body to enable scrolling */
}

.table_scrollHead {
    position: sticky;
    top: 0;
    background-color: #fff;
    /* You can set the background color as needed */
    z-index: 1;
    /* Ensure the header stays on top of the body */
}

.table_scrollBody {
    overflow-y: auto;
    max-height: 300px;
    /* Set the height of the scrollable body */
}

/* Table Ends */

.form-control:focus {
    border-color: var(--primary) !important;
    border-width: 1px !important;
}

.css-t3ipsp-control {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 1px var(--app1) !important;
}

.css-t3ipsp-control:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 1px var(--app1) !important;
}

/* New outlined button for custom theme Starts */
.btn-outline-app {
    font-size: 16px !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    background-color: #fff !important;
    background-image: none !important;
    border-radius: 10px !important;
    margin-right: 10px !important;
    text-transform: uppercase !important;
}

.btn-outline-app:hover {
    color: #fff !important;
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

.btn-outline-app:after {
    content: "" !important;
    background: white !important;
    position: absolute !important;
    z-index: -1 !important;
    left: -20% !important;
    right: -20% !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: skewX(-45deg) scale(0, 1) !important;
    transition: all 0.5s !important;
}

/* New outlined button for custom theme Ends */


/* loader component  */
.d-loader {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
    transform: translate(-70%, -70%);
}


.flag-img {
    width: 20px;
    margin-right: 8px
}

.cursor-pointer {
    cursor: pointer;
}

.delete-img-button {
    position: absolute;
    top: -0.7rem;
    right: -1rem;
    transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
    z-index: 999;
    background: white;
    padding: 4px 8px;
    border: none;
    border-radius: 20px;
    height: 33px;
    width: 31px;
    box-shadow: 0px 0px 6px 0px rgba(176, 171, 171, 0.81);
}

/* dropzone starts */
.d-dropzone {
    border: 2px dashed #cccccc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.preview-container {
    display: flex;
    margin-top: 20px;
}

.first-d-preview {
    position: relative;
    margin-right: 10px;
}

.other-d-preview {
    position: relative;
    margin-right: 10px;
    margin-left: 1.2rem;
}

.preview-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* dropzone ends */


.navbar-custom,
.left-side-menu {
    background-color: var(--dark) !important;
}

.left-side-menu .logo-box {
    background-color: var(--dark) !important;
}

.sidebar-menu li a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: var(--font-body) !important;
}

.sidebar-menu li a:hover,
.sidebar-menu li a:focus,
.sidebar-menu li.active > a {
    color: var(--primary) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.page-title {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
}

.navbar-custom .topnav-menu .nav-link {
    color: var(--white);
}

/* Table.css */
.bordered-table {
    border: 1px solid #ccc;
    border-collapse: collapse;
}

.bordered-table th,
.bordered-table td {
    border: 1px solid #ccc;
    padding: 5px;
}


/* Tanstack React-Table */

div.reactTables_wrapper div.reactTables_filter {
    text-align: right;
}

div.reactTables_wrapper div.reactTables_filter input {
    margin-left: 0.5em;
    margin-right: 0;
    display: inline-block;
    width: auto;
    height: 36px;
}

div.reactTables_wrapper div.reactTables_buttons {
    text-align: left;
}

.reactTables-pagination-buttons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    /* Adjust the number of columns based on your needs */
    gap: 5px;
    /* Adjust the gap between buttons */
    justify-content: end;
    margin-top: 3px;
}

.reactTable thead>tr>th.sorting,
.reactTable thead>tr>th.sorting_asc,
.reactTable thead>tr>th.sorting_desc,
.reactTable thead>tr>th.sorting_asc_disabled,
.reactTable thead>tr>th.sorting_desc_disabled,
.reactTable thead>tr>td.sorting,
.reactTable thead>tr>td.sorting_asc,
.reactTable thead>tr>td.sorting_desc,
.reactTable thead>tr>td.sorting_asc_disabled,
.reactTable thead>tr>td.sorting_desc_disabled {
    cursor: pointer;
    position: relative;
    padding: 0.75rem;
    /* for space ; */
    /* padding-right: 0.75rem;  */
    /* padding-right: 26px; */
}

/* div.reactTables_wrapper div.reactTables_buttons button {
    
} */


div.reactTables_wrapper div.reactTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary);
    border-color: var(--app1)
}

.reactTables-btn {
    background: transparent !important;
    color: white !important;
    border: 1px solid var(--primary) !important;
    border-radius: 0.625em !important;
    font-size: 17px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
}

.reactTables-btn::before {
    content: "" !important;
    background: var(--primary) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: -2 !important;
    border-radius: 0.625em !important;
}

.reactTables-btn:hover {
    color: var(--primary) !important;
}

.reactTables-btn:after {
    content: "" !important;
    background: white !important;
    position: absolute !important;
    z-index: -1 !important;
    left: -20% !important;
    right: -20% !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: skewX(-45deg) scale(0, 1) !important;
    transition: all 0.5s !important;
}

.reactTables-btn:hover:after {
    transform: skewX(-45deg) scale(1, 1) !important;
    -webkit-transition: all 0.5s !important;
    transition: all 0.5s !important;
}

.reactTables-pagination-btn {
    border-radius: 0.625em !important;
    font-weight: bold !important;
    cursor: pointer !important;
    position: relative !important;
    border: 1px solid #dee2e6;
    color: gray;
}

.reactTables-pagination-btn:hover {
    background-color: hsl(240 5.9% 90%) !important;
    color: black;
}

.reactTables-pagination-info {
    display: flex;
}

.reactTables-page-info {
    font-weight: 600;
}

.new-dropdown {
    position: absolute;
    inset: 0px 0px auto auto;
    margin: 0px;
    transform: translate(0px, 39px);
}

.new-btn {
    background: transparent !important;
    color: white !important;
    border: 1px solid var(--primary) !important;
    border-radius: 0.625em !important;
    font-size: 17px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
}

.new-btn::before {
    content: "" !important;
    background: var(--primary) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: -2 !important;
    border-radius: 0.625em !important;
}

.new-btn:hover {
    color: var(--primary) !important;
}

.new-btn:after {
    content: "" !important;
    background: white !important;
    position: absolute !important;
    z-index: -1 !important;
    left: -20% !important;
    right: -20% !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: skewX(-45deg) scale(0, 1) !important;
    transition: all 0.5s !important;
}

.new-btn:hover:after {
    transform: skewX(-45deg) scale(1, 1) !important;
    -webkit-transition: all 0.5s !important;
    transition: all 0.5s !important;
}

.new-btn-success {
    color: white !important;
    background: var(--success) !important;
}

.new-btn-success:hover {
    color: var(--success) !important;
}

.new-btn-danger {
    color: white !important;
    background: var(--red) !important;
}

.new-btn-danger:hover {
    color: var(--danger) !important;
}

.new-btn-info {
    color: white !important;
    background: var(--info) !important;
}

.new-btn-info:hover {
    color: var(--info) !important;
}


.css-1wvake5 {
    position: relative;
    -webkit-transition: width, left, right, 300ms;
    transition: width, left, right, 300ms;
    width: 240px !important;
    min-width: 240px !important;
}

.img-logo-lg {
    background: white;
    display: flex;
    width: 100%;
    height: 100%;
    margin-top: -18px;
}

.img-logo-sm {
    display: flex;
    background: white;
    height: 4.4rem;
}

.new-card-header {
    padding: 1.005rem 1.5rem;
    margin-bottom: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #cdcecf;
}

.custom-accordion a.collapsed i.accordion-arrow:before {
    content: "\f0142";
}

/* Initially hide the menu */
.topnav-container {
    display: none;
}

/* Show the menu when screen size is below 992px */
@media (max-width: 992px) {
    .topnav-container {
        display: block;
    }
}


.form-check-input[type=checkbox]:indeterminate {
    background-color: var(--primary);
    border-color: var(--primary);
}



.iti__search-input,
.iti__tel-input {
    display: block;
    width: 100%;
    padding: .45rem .9rem;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    appearance: none;
    border-radius: .2rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.iti__search-input:focus,
.iti__tel-input:focus {
    color: #6c757d;
    background-color: #fff;
    outline: 0;
    box-shadow: 'none';
    border-color: var(--primary) !important;
    border-width: 1px !important;
}


.action-btn {
    background: transparent !important;
    color: white !important;
    border: 1px solid var(--primary) !important;
    border-radius: 0.625em !important;
    font-size: 13px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
}

.action-btn::before {
    content: "" !important;
    background: var(--primary) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: -2 !important;
    border-radius: 0.625em !important;
}

.action-btn:hover {
    color: var(--primary) !important;
}

.action-btn:after {
    content: "" !important;
    background: white !important;
    position: absolute !important;
    z-index: -1 !important;
    left: -20% !important;
    right: -20% !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: skewX(-45deg) scale(0, 1) !important;
    transition: all 0.5s !important;
}

.action-btn:hover:after {
    transform: skewX(-45deg) scale(1, 1) !important;
    -webkit-transition: all 0.5s !important;
    transition: all 0.5s !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: var(--primary) !important;
}

.blend-multiply {
    mix-blend-mode: multiply;
}

@media (max-width: 767.98px) {
    .logo-box {
        width: 140px !important;
        padding-left: 20px !important;
        text-align: left !important;
    }

    .logo-lg-text-light {
        font-size: 18px !important;
    }

    .button-menu-mobile {
        position: relative !important;
        margin-left: 10px !important;
    }

    .navbar-custom .topnav-menu {
        padding-right: 10px !important;
    }
}

/* Fix overlap in condensed mode on desktop */
[data-sidebar-size="condensed"] .logo-box {
    width: 70px !important;
}

[data-sidebar-size="condensed"] .topnav-menu-left {
    margin-left: 0 !important;
}

.button-menu-mobile {
    margin-left: 15px !important;
}

/* Fix PhoneInput country dropdown overlap */
.react-international-phone-country-selector-dropdown {
    z-index: 9999 !important;
}

.btn-cancel {
    z-index: 1 !important;
}


/* ============================================================
   PREMIUM LAYOUT OVERRIDES — Sidebar, Header, Footer
   ============================================================ */

/* ---- LEFT SIDEBAR ---- */
.left-side-menu {
    background: var(--dark) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2) !important;
}

/* Sidebar menu title */
.left-side-menu #sidebar-menu .menu-title {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding: 20px 20px 8px !important;
}

/* Sidebar menu links */
.left-side-menu #sidebar-menu>ul>li>a {
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 11px 5px !important;
    margin: 2px 12px !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
}

.left-side-menu #sidebar-menu>ul>li>a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(3px);
}

/* Sidebar icons */
.left-side-menu #sidebar-menu>ul>li>a i {
    font-size: 20px !important;
    margin-right: 10px !important;
    width: 24px !important;
    text-align: center;
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.2s ease;
    vertical-align: middle;
}

.left-side-menu #sidebar-menu>ul>li>a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Sidebar menu text – use title case, not uppercase */
.left-side-menu #sidebar-menu>ul>li>a span {
    text-transform: none !important;
    font-size: 13.5px !important;
    vertical-align: middle;
}

.left-side-menu #sidebar-menu>ul>li.menuitem-active>a {
    color: #fff !important;
    background: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
    font-weight: 600 !important;
}

.left-side-menu #sidebar-menu>ul>li.menuitem-active>a i {
    opacity: 1 !important;
}

/* Second level nav */
.left-side-menu .nav-second-level li a {
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 8px 20px 8px 56px !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.left-side-menu .nav-second-level li a:hover {
    color: #fff !important;
    padding-left: 62px !important;
}

.left-side-menu .nav-second-level li.active a {
    color: #fff !important;
    font-weight: 600 !important;
}

/* Menu arrow for submenus */
.left-side-menu .menu-arrow {
    transition: transform 0.25s ease !important;
}

.left-side-menu .menu-arrow::after {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Custom scrollbar for sidebar */
.left-side-menu .simplebar-scrollbar::before {
    background: rgba(255, 255, 255, 0.25) !important;
    width: 4px !important;
    border-radius: 4px !important;
}


/* ---- HEADER / NAVBAR ---- */
.navbar-custom {
    background-color: var(--white) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

/* Logo area in header */
.navbar-custom .logo-box {
    background: var(--dark) !important;
}

.logo-lg-text-light {
    color: var(--white) !important;
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    letter-spacing: 1px !important;
}

.logo-lg-text-light span {
    color: var(--primary);
}

/* Hamburger button */
.button-menu-mobile {
    color: var(--primary) !important;
    border: none !important;
    background: transparent !important;
    transition: transform 0.2s ease !important;
}

.button-menu-mobile:hover {
    transform: scale(1.1);
}

.button-menu-mobile i {
    font-size: 22px !important;
}

/* User dropdown area */
.topnav-menu .nav-link.nav-user {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 16px !important;
}

.topnav-menu .nav-user img {
    width: 36px !important;
    height: 36px !important;
    border: 2px solid rgba(44, 46, 120, 0.12) !important;
    transition: border-color 0.2s ease !important;
}

.topnav-menu .nav-user:hover img {
    border-color: var(--primary) !important;
}

/* User name + role in header */
.header-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #343a40;
}

.header-user-role {
    font-size: 11px;
    color: #98a6ad;
    font-weight: 500;
}

/* Profile dropdown */
.profile-dropdown {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(44, 46, 120, 0.12) !important;
    padding: 8px 0 !important;
    min-width: 200px !important;
    overflow: hidden !important;
}

.profile-dropdown .dropdown-header.noti-title {
    padding: 12px 20px 8px !important;
    background: linear-gradient(135deg, rgba(44, 46, 120, 0.04) 0%, rgba(27, 153, 139, 0.04) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.profile-dropdown .dropdown-header.noti-title h6 {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: var(--primary) !important;
}

.profile-dropdown .dropdown-item.notify-item {
    padding: 10px 20px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #495057 !important;
    transition: all 0.2s ease !important;
    border-radius: 0 !important;
}

.profile-dropdown .dropdown-item.notify-item:hover {
    background: rgba(44, 46, 120, 0.05) !important;
    color: var(--primary) !important;
    padding-left: 24px !important;
}

.profile-dropdown .dropdown-item.notify-item i {
    margin-right: 10px !important;
    font-size: 16px !important;
    width: 20px !important;
    text-align: center;
    vertical-align: middle;
    opacity: 0.7;
}

.profile-dropdown .dropdown-item.notify-item:hover i {
    opacity: 1;
}

.profile-dropdown .dropdown-divider {
    margin: 4px 16px !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Logout button specific styling */
.profile-dropdown .dropdown-item.notify-item.logout-btn:hover {
    background: rgba(233, 12, 57, 0.06) !important;
    color: var(--danger) !important;
}


/* ---- DASHBOARD FOOTER ---- */
.dashboard-footer {
    background: transparent !important;
    border-top: 1px solid var(--border-light) !important;
    padding: 20px 30px !important;
    color: var(--text-muted) !important;
    font-size: 13px !important;
    margin-top: auto;
}

.dashboard-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-footer-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #98a6ad;
    font-weight: 500;
}

.dashboard-footer-brand .heart {
    color: var(--danger);
    font-size: 14px;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.15);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.15);
    }

    56% {
        transform: scale(1);
    }
}

/* Responsive: hide user info text on small screens */
@media (max-width: 767.98px) {
    .header-user-info {
        display: none !important;
    }
}

/* ---- CONDENSED SIDEBAR FIXES ---- */
body[data-sidebar-size="condensed"] .left-side-menu {
    width: 70px !important;
}

body[data-sidebar-size="condensed"] #side-menu>li {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
}

body[data-sidebar-size="condensed"] #side-menu>li>a {
    margin: 4px auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 48px !important;
    height: 48px !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

body[data-sidebar-size="condensed"] #side-menu>li>a i {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 48px !important;
}

/* Active state indicator - perfect circle */
body[data-sidebar-size="condensed"] #side-menu>li.menuitem-active>a {
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
}

/* Fix the hover label (tooltip) in condensed mode */
body[data-sidebar-size="condensed"] #side-menu>li:hover>a>span {
    display: flex !important;
    align-items: center !important;
    position: absolute !important;
    left: 70px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #1e2044 !important;
    /* Dark part of gradient */
    color: #fff !important;
    padding: 0 20px !important;
    height: 40px !important;
    border-radius: 6px !important;
    box-shadow: 8px 4px 16px rgba(0, 0, 0, 0.2) !important;
    width: auto !important;
    white-space: nowrap !important;
    z-index: 10000 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* Add an arrow for the tooltip */
body[data-sidebar-size="condensed"] #side-menu>li:hover>a>span::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #1e2044;
}

/* Adjust logo-box for condensed */
body[data-sidebar-size="condensed"] .logo-box {
    width: 70px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

body[data-sidebar-size="condensed"] .logo-box .logo-lg {
    display: none !important;
}

body[data-sidebar-size="condensed"] .logo-box .logo-sm {
    display: block !important;
}

/* Phone Input Styling */
.phone-input-wrapper .react-international-phone-input-container {
    width: 100%;
}

.phone-input-wrapper .react-international-phone-country-selector-button {
    border: none !important;
    background: transparent !important;
    padding-left: 15px !important;
    padding-right: 10px !important;
}

.phone-input-wrapper .react-international-phone-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
}

/* Dropdown list styling */
.react-international-phone-country-selector-dropdown {
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    margin-top: 8px !important;
    padding: 8px 0 !important;
    z-index: 2000 !important;
}

.react-international-phone-country-selector-dropdown__list-item {
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text) !important;
}

.react-international-phone-country-selector-dropdown__list-item:hover {
    background-color: rgba(44, 46, 120, 0.05) !important;
    color: var(--primary) !important;
}

.react-international-phone-country-selector-dropdown__list-item--active {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.rounded-pill-end {
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
}

.rounded-pill-start {
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
}

.react-international-phone-input-container .react-international-phone-input {
    color: #6c757d !important;
}

.css-1dimb5e-singleValue {
    color: #6c757d !important;
}