.w-4 {
  width: 1rem;
}
.h-4 {
  height: 1rem;
}

.w-6 {
  width: 1.5rem;
}
.h-6 {
  height: 1.5rem;
}

.dropzone {
  background: white;
  border-radius: 5px;
  border: 2px dashed rgb(0, 135, 247);
  border-image: none;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

    :root {
        --primary-red: #d32f2f;
        --dark-red: #b71c1c;
        --accent-gold: #ffb300;
        --dark-text: #333333;
        --light-text: #757575;
        --background-light: #f5f5f5;
                    --primary-red: #c62828;
            --dark-red: #8e0000;
            --light-red: #ff5f52;
            --white: #ffffff;
            --light-gray: #f5f5f5;
            --medium-gray: #e0e0e0;
            --dark-gray: #424242;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
   * { margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

        body { background-color: var(--light-gray); color: var(--dark-gray); overflow-x:hidden; }

        .container { display: flex; min-height: 100vh; }

        /* ========== SIDEBAR ========== */
        .sidebar {
            width: 260px;
            background: linear-gradient(to bottom, var(--primary-red), var(--dark-red));
            color: var(--white);
            transition: all 0.3s ease;
            overflow-x: initial  !important;
            box-shadow: var(--shadow);
            position: fixed;
            height: 100%;
            z-index: 100;
        }
        .sidebar.collapsed { width: 70px; }

        .sidebar-header { padding: 24px 20px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1);transition: .3s ease; }
        .logo { display:flex; align-items:center; gap:12px; }
        .logo-icon { font-size:28px; color:var(--white); }
        .logo-text { font-size:22px; font-weight:700; letter-spacing:0.5px; }
        .sidebar.collapsed .logo-text { display:none; }
        .sidebar.collapsed .sidebar-header {padding: 24px 0px; }

        .toggle-btn {
            position: absolute; right:-15px; top:30px;
            background:var(--primary-red); color:var(--white);
            border:none; width:30px; height:30px; border-radius:50%;
            display:flex; align-items:center; justify-content:center;
            cursor:pointer; box-shadow:var(--shadow); transition:0.3s;
        }
        .toggle-btn:hover { background:var(--dark-red); transform:scale(1.05); }

        .sidebar-menu { padding:20px 0; }
        .menu-item {
            padding:14px 20px; display:flex; align-items:center; gap:14px; cursor:pointer;
            transition:0.2s; border-left:4px solid transparent;
        }
        .menu-item:hover { background: rgba(255,255,255,0.1); border-left:4px solid var(--white); }
        .menu-item.active { background: rgba(255,255,255,0.15); border-left:4px solid var(--white); }
        .menu-icon { font-size:20px; width:24px; text-align:center; }
        .menu-text { font-weight:500; font-size:16px; }
        .sidebar.collapsed .menu-text { display:none; }

        /* ========== NAVBAR ========== */
        .navbar {
            position: fixed; left:260px; right:0; top:0; height:60px;
            background: var(--white); display:flex; align-items:center;
            justify-content:space-between; padding:0 20px;
            border-bottom:1px solid #ddd; transition:0.3s;
            z-index: 50;
        }
        .navbar.shrink { left:70px; }
        .main-footer .shrink { transition: margin-left .3s ease-in-out !important;margin-left: 0px !important;}

        .navbar-title { font-size:20px; font-weight:600; color:#333; }
        .user-profile { display:flex; align-items:center; gap:12px; cursor:pointer; }
        .user-avatar { width:40px; height:40px; border-radius:50%; background:var(--primary-red); display:flex; align-items:center; justify-content:center; color:var(--white); font-weight:600; }

        /* ========== MAIN CONTENT ========== */
        .main-content {
            flex:1;
            margin-left:260px;
            padding:30px;
            transition: all 0.3s;
        }
        .main-content.shrink { margin-left:70px; }

        .page-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; padding-bottom:20px; border-bottom:1px solid var(--medium-gray); }
        .page-title { font-size:28px; font-weight:700; color:var(--dark-gray); }
        .main-footer-new {position: fixed;
  width: 100%;
  bottom: 0px; transition: margin-left 0.3s; padding:10px 20px; background:#f8f9fa; text-align:center; font-size:14px; }
.main-footer-new.shrink { margin-left:70px; }
        /* Responsive */
        @media (max-width:992px) { .sidebar { width:70px; } .sidebar:not(.collapsed){ width:260px; position:fixed; z-index:1000; } .main-content { margin-left:0; } }
        @media (max-width:768px) { .main-content { padding:20px; } }
        @media (max-width:576px) { .sidebar:not(.collapsed){ width:100%; } .toggle-btn{right:20px;} }
    /* =============================
        BACKGROUND
    ============================== */
 
.main-header.navbar {
    padding: 0.5rem 1rem;
    background-color: var(--primary-red);
    color: var(--white);
}

.main-header .nav-link {
    color: var(--white);
    font-weight: 500;
}

.main-header .nav-link:hover {
    color: var(--light-red);
}

.user-avatar {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: var(--shadow);
}

.dropdown-menu a.dropdown-item {
    color: var(--dark-red);
}

.dropdown-menu a.dropdown-item:hover {
    background-color: var(--light-red);
    color: var(--white);
}
.user-profile .user-avatar {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hover effect for dropdown items */
.dropdown-menu .hover-red:hover {
    background-color: #c62828;
    color: #fff !important;
}

.dropdown-menu .hover-dark:hover {
    background-color: #8e0000;
    color: #fff !important;
}

/* Add subtle shadow and smooth transition */
.dropdown-menu li a {
    transition: all 0.3s ease;
}
.dropdown-menu {
    border: none;
    overflow: hidden;
}

.select2-container--custom .select2-selection--single {
    height: 40px !important;
    border: 1px solid #d60000;
    border-radius: 0.25rem;
    color: #000 !important;
    position: relative;
}

.select2-container--custom .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    color: #b30000;
    font-weight: 500;
}

.select2-container--custom .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    color: #000;
}

.select2-container--custom .select2-results__option--highlighted {
    background-color: #ffe5e5 !important;
    color: #000 !important;
    font-weight: 500;
}

.select2-container--custom .select2-results__option {
    color: #000;
}


.select2-container--custom .select2-selection__clear {
    position: absolute;
    right: 8px; /* position the clear X properly */
    top: 50%;
    transform: translateY(-50%);
}
