.dropdown__inner {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-section {
    display: none;
}

.mobile-dropdown {
    display: none;
}

.dropdown__inner::before {
    position: absolute;
    left: 50%;
    top: -8px;
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    transform: translate(-50%);
}

.dropdown-section {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-section-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    position: relative;
}

.dropdown-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
}

.dropdown__content {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 10;
    padding-top: 8px;
    width: 280px;
    transform: translate(-50%, -10px);
    opacity: 0;
    transition: all 0.2s ease;
}

.dropdown:hover > .dropdown__content {
    display: block;
    opacity: 1;
    transform: translate(-50%, 0);
}

.dropdown__content a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown__content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #3a5795 0%, #1f3d6b 100%);
    transition: width 0.2s ease;
}

.dropdown__content a:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #3a5795;
    transform: translateX(4px);
    border-left-color: #3a5795;
}

.dropdown__content a:hover::before {
    width: 3px;
}

.dropdown-icon {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    background: #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6c757d;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dropdown__content a:hover .dropdown-icon {
    background: #3a5795;
    color: white;
    transform: scale(1.1);
}

.section-previsions .dropdown-icon {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.section-vigilance .dropdown-icon {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    color: white;
}

.section-modeles .dropdown-icon {
    background: linear-gradient(135deg, #81ecec 0%, #00cec9 100%);
    color: white;
}

.section-observations .dropdown-icon {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: white;
}

.section-climat .dropdown-icon {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: white;
}

.section-outils .dropdown-icon {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    color: white;
}

.dropdown__inner {
    background: var(--primary);
    border-radius: 5px;
    box-shadow: none;
    border: none;
}

.dropdown__inner::before {
    display: none;
}

.dropdown-section-header {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.dropdown__content a {
    color: white;
    border-left: none;
}

.dropdown__content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: none;
    border-left: none;
}

.dropdown-icon {
    background: var(--secondary);
    color: white;
}

.dropdown__content a:hover .dropdown-icon {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: none;
}

@media (max-width: 990px) {
    .navigation {
        background: var(--primary);
        width: 100%;
        max-width: 320px;
    }

    .mobile-section {
        display: block;
    }

    .mobile-section-header {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
        padding: 12px 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-section-header:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .mobile-section-header.collapsed {
        border-bottom: none;
    }

    .mobile-section-toggle {
        transition: transform 0.2s ease;
        font-size: 14px;
    }

    .mobile-section-header.collapsed .mobile-section-toggle {
        transform: rotate(-90deg);
    }

    .mobile-section-content {
        max-height: 1000px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mobile-section-content.collapsed {
        max-height: 0;
    }

    .navigation .mobile-nav-link {
        display: flex;
        align-items: center;
        padding: 14px 20px 14px 40px;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.2s ease;
        position: relative;
    }

    .navigation .mobile-nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding-left: 45px;
    }

    .navigation .mobile-nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: rgba(255, 255, 255, 0.3);
        transition: width 0.2s ease;
    }

    .navigation .mobile-nav-link:hover::before {
        width: 4px;
    }

    .mobile-nav-icon {
        width: 16px;
        height: 16px;
        margin-right: 12px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .navigation .mobile-nav-link:hover .mobile-nav-icon {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .mobile-section-previsions .mobile-nav-icon {
        background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
        color: white;
    }

    .mobile-section-modeles .mobile-nav-icon {
        background: linear-gradient(135deg, #81ecec 0%, #00cec9 100%);
        color: white;
    }

    .mobile-section-observations .mobile-nav-icon {
        background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
        color: white;
    }

    .mobile-section-climat .mobile-nav-icon {
        background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
        color: white;
    }

    .navigation > a {
        display: block;
        padding: 16px 20px;
        color: white;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.2s ease;
    }

    .navigation > a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 25px;
    }

    .dropdown__inner {
        background: var(--primary);
        border-radius: 5px;
        box-shadow: none;
        border: none;
    }

    .dropdown__inner::before {
        display: none;
    }

    .dropdown-section-header {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
    }

    .dropdown__content a {
        color: white;
        border-left: none;
    }

    .dropdown__content a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: none;
        border-left: none;
    }

    .dropdown-icon {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .dropdown__content a:hover .dropdown-icon {
        background: rgba(255, 255, 255, 0.3);
        color: white;
        transform: none;
    }

    .mobile-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-section:last-child {
        border-bottom: none;
    }

    .dropdown {
        display: none;
    }
    .navigation .dropdown {
        display: none !important;
    }
    .navigation .dropdown__content {
        display: none !important;
    }
}
