:root {
    --primary-soft: #e7f1ff;
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.drz-admin-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: stretch;
}

/* --- Sidebar Styling --- */
#drz-sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #1a2a4e; /* Dark Blue */
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    background: #111d35;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

#drz-sidebar ul.components {
    padding: 20px 0;
}

#drz-sidebar ul li a {
    padding: 12px 25px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #adb5bd;
    text-decoration: none;
    transition: 0.2s;
}

#drz-sidebar ul li a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

#drz-sidebar ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#drz-sidebar ul li.active > a {
    color: #fff;
    background: #0d6efd; /* Bootstrap Primary Blue */
    border-right: 4px solid #fff;
}

/* Desktop Collapse Logic */
#drz-sidebar.drz-collapsed {
    margin-left: -250px;
}

/* --- Main Content Area --- */
#drz-content {
    width: 100%;
    background: #f4f7fe;
    transition: all 0.3s;
}

.navbar {
    padding: 10px 20px;
    border-bottom: 1px solid #e3e6f0;
}

#drz-sidebarCollapse {
    background: #1a2a4e;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* --- Profile Dropdown --- */
.drz-profile-trigger {
    cursor: pointer;
    transition: 0.3s;
}

.drz-profile-trigger:hover {
    opacity: 0.8;
}

.drz-profile-trigger img {
    border: 2px solid #0d6efd;
    padding: 2px;
    background: #fff;
}

.dropdown-menu {
    border-radius: 10px;
    padding: 10px 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown-item i {
    width: 20px;
}

/* --- Mobile Responsive (Media Queries) --- */

@media (max-width: 768px) {
    /* Sidebar mobile mode-e overlay hobe */
    /* #drz-sidebar {
        margin-left: -250px;
        position: fixed;
        height: 100vh;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    } */

    /* Side menu open class for JS toggle */
    #drz-sidebar.drz-show-mobile {
        margin-left: 0 !important;
    }

    #drz-content {
        width: 100%;
    }

    /* Mobile view-te navbar padding adjustment */
    .navbar {
        padding: 10px 15px;
    }

    .container-fluid h2 {
        font-size: 1.5rem;
    }

    #drz-sidebar {
        position: fixed; /* Khub-i dorkari */
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 999; /* Sobar opore sidebar */
        margin-left: -250px; /* Surute screen-er baire thakbe */
    }
    
    #drz-sidebar.drz-show-mobile {
        margin-left: 0 !important; /* Open hole screen-e ashbe */
    }

}

/* Overlay Effect for Mobile */
.drz-sidebar-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.drz-sidebar-overlay.active {
    display: block;
}




/* Stat Box Styling */
.drz-stat-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #edf2f9;
}

.dr_icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Background colors with low opacity */
.bg-soft-primary { background: rgba(13, 110, 253, 0.1); }
.bg-soft-success { background: rgba(25, 135, 84, 0.1); }
.bg-soft-warning { background: rgba(253, 126, 20, 0.1); }
.bg-soft-info { background: rgba(13, 202, 240, 0.1); }

/* Fake Mini Chart */
.drz-mini-chart .bar {
    width: 6px;
    background: #0dcaf0;
    border-radius: 3px;
}

/* Fake Weekly Chart */
.drz-fake-chart {
    height: 250px;
    border-bottom: 2px solid #f1f4f8;
    position: relative;
    padding-top: 20px;
}

.chart-bar {
    width: 35px;
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: 0.3s;
}

.chart-bar:hover { opacity: 0.8; }

.chart-bar span {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #95aac9;
}

/* Page spacing fixes */
.p-4 { padding: 1.5rem !important; }
.card { border-radius: 12px; }

.bg-primary-soft { background-color: var(--primary-soft); }

.badge-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}

/* Search Group */
.search-group .form-control:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* Table Enhancements */
.table thead th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    padding: 1rem 0.75rem;
}

.table tbody td {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
}

/* Button & Icon */
.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Pagination Custom */
.pagination .page-link {
    background-color: #f8f9fa;
    color: #495057;
    transition: 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    color: #fff;
}


/* Table & UI Refinements */
.table thead th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    background: #f8fbff;
    padding: 1.2rem 0.75rem;
    border-bottom: 1px solid #edf2f9;
}

.table tbody td {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #edf2f9;
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
}

.form-control, .form-select {
    border: 1px solid #e3e6f0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
}

/* Success Badge Light */
.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

/* Pagination Pills */
.pagination .page-link {
    border-radius: 8px !important;
    padding: 8px 16px;
    font-weight: 500;
    color: #495057;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    color: #fff;
}

/* Login page start */

.login_body{
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.drz-login-wrapper {
    width: 100%;
    padding: 20px;
}

.drz-login-card {
    background: #ffffff;
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.drz-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.drz-login-header h2 {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 8px;
}

.drz-login-header p {
    color: #666;
    font-size: 14px;
}

.drz-input-group {
    position: relative;
    margin-bottom: 20px;
}

.drz-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.drz-input-group input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    transition: 0.3s;
}

.drz-input-group input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.drz-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 25px;
    color: #555;
}

.drz-form-options a {
    color: #007bff;
    text-decoration: none;
}

.drz-login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background: #007bff;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.drz-login-btn:hover {
    background: #0056b3;
}

.drz-login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.drz-login-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
    .drz-login-card {
        padding: 30px 20px;
    }
}

/* Login page end */