html,
body {
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body>* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles pour le drawer mobile */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-body {
    padding: 1rem;
}

.drawer-nav-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.drawer-nav-item:last-child {
    border-bottom: none;
}

.drawer-nav-item a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
}

.drawer-nav-item a.active {
    color: #069a26;
}

.drawer-nav-item a:hover {
    color: #069a26;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.notification-dropdown {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .header-title h6 {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        width: 100px;
        height: 50px;
    }

    .header-title h6 {
        font-size: 0.8rem;
    }
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}