.bg-auth-layout {
    background-image: url("/assets/images/background/backgroundLogin.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh; 
    width: 100%;
}

.container-img-comming-soon {
    display: block;
    background-image: url("/assets/images/background/comming-soon.png");
    background-size: cover;
    height: 100%;
    width: 100%;
}
.comming-soon-mobile {
    display: none;
}

.login-form {
    background-color: rgba(255, 255, 255);
    width: 50%;
    padding: 20px;
    /* height: 100%; */
    height: 100vh;
}

.logo-login {
    width: 250px;
    height: 250px;
}

.login-form input {
    border-radius: 20px;
    border: 1px solid var(--bs-primary) !important;
}

.welcome-title {
    color: #42a5dd;
    font-size: 20px;
}

.login-btn {
    color: white;
    border-radius: 20px;
    border: none;
    background-color: var(--bs-primary);
}

.content-wrapper-scroll {
    background-color: white;
    height: calc(100vh - 155px);
    border-radius: 10px;
    position: relative;
    /* overflow-y: auto; */
}

.required:after {
    content: "*";
    position: relative;
    font-size: inherit;
    color: #ff0b0b;
    padding-left: 0.25rem;
    font-weight: 600;
}

.form-actions-footer,
.form-actions-footer-drawer {
    position: absolute;
    bottom: 0;
}
.form-actions-footer {
    left: 0;
    width: 100%;
}
.form-actions-footer-drawer {
    right: 0;
}

#email-input:focus {
    border-top-right-radius: var(--bs-radius);
    border-bottom-right-radius: var(--bs-radius);
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.content-wrapper-scroll .btn-search {
    top: 30px;
    right: 30px;
}

.multiple-select {
    border-radius: var(--bs-radius) !important;
    border: 1px solid var(--bs-border) !important;
}

.form-select {
    -webkit-border-radius: var(--bs-radius) !important;
}



.content-wrapper-scroll .dropdown {
    border-radius: var(--bs-radius) !important;
}

.intro-bhartn {
    font-family: monospace;
    color: var(--bs-primary);
}



.hidden {
    display: none !important;
}
#toast-container > div {
    opacity: 1 !important;
}

.container-img-comming-soon {
    display: none;
}
.comming-soon-mobile {
    display: flex;
}
.offcanvas.offcanvas-end {
    width: 50% !important;
    background-color: white !important;
}

.upload-carte-container{
   border: 1px solid #e3e5e6;
   border-radius: 5px;
}
.container-carte{
    height: 200px;
    border: 1px dashed var(--bs-primary);
    border-top-left-radius: .475rem !important;
    border-top-right-radius: .475rem !important;
    border-bottom: unset;

}

.nav-carte .nav-link{
    color: var(--bs-primary) !important;;
 }
.nav-link.active{
    border-bottom: 3px solid #219ebc;
    color: #219ebc !important;
}

.nav-carte .nav-link:hover{
   color: #219ebc !important;;
}

.carte-dropzone{
    text-align: unset !important;
}

.carte-dropzone .dropzone-select{
    border: 1px solid #118ab2;
    color:  #118ab2
}

.carte-dropzone .dropzone-select:hover{
    background-color: #118ab2;
    color:  white;
}

.carte-dropzone .dropzone-remove-all{
    border: 1px solid #ef476f;
    color:  #ef476f
}

.carte-dropzone .dropzone-remove-all:hover{
    background-color: #ef476f;
    color:  white;
}
.dropzone.dropzone-queue .dropzone-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .75rem;
    border-radius: .475rem;
    padding: .5rem 1rem;
    background-color: var(--bs-gray-100);
}

.carte-dropzone .dropzone-item{
    height: 35px;
}
.dz-button{
    display: none;
}

.no-carte-found{
    height: 300px;
    width: 300px;
}

.no-data-label{
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 16px;

}

/* Custom Utility Classes for Soft Backgrounds */
.bg-blue-subtle { background-color: #dbeafe !important; color: #2563eb !important; }
.bg-purple-subtle { background-color: #f3e8ff !important; color: #9333ea !important; }
.bg-primary-subtle-custom { background-color: rgba(13, 110, 253, 0.1) !important; color: #0d6efd !important; }
.bg-emerald-subtle { background-color: #ecfdf5 !important; color: #10b981 !important; }

/* Dark Mode Overrides (Optional, if using data-bs-theme="dark") */
[data-bs-theme="dark"] .bg-blue-subtle { background-color: rgba(30, 64, 175, 0.3) !important; color: #60a5fa !important; }
[data-bs-theme="dark"] .bg-purple-subtle { background-color: rgba(147, 51, 234, 0.3) !important; color: #c084fc !important; }

/* Font size utility */
.fs-xs { font-size: 10px !important; }
.rounded-4 { border-radius: 1rem !important; } /* Matches rounded-2xl */



/* ========================================
   TABLE CONTAINER
   ======================================== */
.table-container {
    background-color: #ffffff;
    border: 1px solid #f1f5f9; /* slate-100 */
    border-radius: 1.5rem; /* rounded-3xl = 24px */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .table-container {
        background-color: #0f172a; /* slate-900 */
        border-color: #1e293b; /* slate-800 */
    }
}

/* ========================================
   TABLE BASE
   ======================================== */
.table-custom {
    width: 100%;
    text-align: left;
    border-collapse: separate;
    border-spacing: 0;
}

/* ========================================
   TABLE HEADER
   ======================================== */
.table-header-row {
    background-color: rgba(248, 250, 252, 0.8); /* slate-50/80 */
    border-bottom: 1px solid #f1f5f9; /* slate-100 */
}

@media (prefers-color-scheme: dark) {
    .table-header-row {
        background-color: rgba(30, 41, 59, 0.5); /* slate-800/50 */
        border-bottom-color: #1e293b; /* slate-800 */
    }
}

.table-header-text {
    padding: 1.25rem 2rem; /* py-5 px-8 */
    font-size: 0.6875rem; /* 11px */
    font-weight: 700;
    color: #64748b; /* slate-500 */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
}

@media (prefers-color-scheme: dark) {
    .table-header-text {
        color: #94a3b8; /* slate-400 */
    }
}

/* ========================================
   TABLE BODY
   ======================================== */
.table-body-divider tbody tr {
    border-bottom: 1px solid #f1f5f9; /* divide-slate-100 */
}

@media (prefers-color-scheme: dark) {
    .table-body-divider tbody tr {
        border-bottom: 1px solid rgba(30, 41, 59, 0.5); /* slate-800/50 */
    }
}

/* Row hover effect */
.table-row-hover {
    transition: all 0.2s ease;
}

.table-row-hover:hover {
    background-color: rgba(239, 246, 255, 0.3); /* blue-50/30 */
}

@media (prefers-color-scheme: dark) {
    .table-row-hover:hover {
        background-color: rgba(59, 130, 246, 0.05); /* primary/5 - adjust primary color as needed */
    }
}

/* Table cells - Name column */
.table-cell-name {
    padding: 1.25rem 2rem; /* py-5 px-8 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 700;
    color: #334155; /* slate-700 */
    border: none;
}

@media (prefers-color-scheme: dark) {
    .table-cell-name {
        color: #cbd5e1; /* slate-300 */
    }
}

.table-row-hover:hover .table-cell-name {
    color: var(--bs-primary, #0d6efd); /* Change on hover */
}

/* Table cells - Muted data */
.table-cell-muted {
    padding: 1.25rem 2rem; /* py-5 px-8 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    color: #94a3b8; /* slate-400 */
    border: none;
}

@media (prefers-color-scheme: dark) {
    .table-cell-muted {
        color: #64748b; /* slate-500 */
    }
}

/* Table cells - Amount column */
.table-cell-amount {
    padding: 1.25rem 2rem; /* py-5 px-8 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 600;
    color: #475569; /* slate-600 */
    border: none;
}

@media (prefers-color-scheme: dark) {
    .table-cell-amount {
        color: #cbd5e1; /* slate-300 */
    }
}

/* ========================================
   TABLE FOOTER
   ======================================== */
.table-footer {
    background-color: rgba(59, 130, 246, 0.03); /* primary/[0.03] - adjust for your primary color */
}

@media (prefers-color-scheme: dark) {
    .table-footer {
        background-color: rgba(59, 130, 246, 0.1); /* primary/10 */
    }
}

.table-footer-label {
    padding: 2rem; /* py-8 px-8 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 900;
    color: var(--bs-primary, #0d6efd);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border: none;
}

.table-footer-number {
    padding: 2rem; /* py-8 px-8 */
    font-size: 1.25rem; /* text-xl */
    font-weight: 900;
    color: #0f172a; /* slate-900 */
    border: none;
}

@media (prefers-color-scheme: dark) {
    .table-footer-number {
        color: #ffffff;
    }
}

.table-footer-total {
    padding: 2rem; /* py-8 px-8 */
    font-size: 1.875rem; /* text-3xl */
    font-weight: 900;
    color: var(--bs-primary, #0d6efd);
    letter-spacing: -0.025em; /* tracking-tight */
    border: none;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .table-header-text,
    .table-cell-name,
    .table-cell-muted,
    .table-cell-amount,
    .table-footer-label,
    .table-footer-number,
    .table-footer-total {
        padding: 0.75rem 1rem;
    }
    
    .table-footer-total {
        font-size: 1.5rem;
    }
}
/* ========================================
   MODERN SIDEBAR STYLING
   ======================================== */
.sidebar-header {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.1px !important;
    color: #94a3b8 !important;
    list-style: none !important;
    opacity: 0.8 !important;
    background: transparent !important;
}

.sidebar-menu ul li a {
    transition: all 0.2s ease-in-out !important;
    border-radius: 8px !important;
    margin: 0 0.75rem !important;
    padding: 0.75rem 1rem !important;
}

.sidebar-menu ul li a:hover {
    background: rgba(59, 130, 246, 0.05) !important;
    color: var(--bs-primary) !important;
}

.sidebar-menu ul li.active > a, 
.sidebar-menu ul li.current-page > a {
    background: var(--bs-primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

.sidebar-menu ul li a i {
    font-size: 1.1rem !important;
    margin-right: 12px !important;
}

.sidebarMenuScroll {
    padding-bottom: 2rem !important;
}
