.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(250, 248, 244, 0.98);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 1.5rem;
    border-top: 3px solid var(--foret, #3e5a3e);
    backdrop-filter: blur(5px);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h3 {
    color: var(--foret, #3e5a3e);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.cookie-text h3 i {
    margin-right: 0.5rem;
    color: var(--terre, #b7a18a);
}

.cookie-text p {
    color: #2b3a2b;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.cookie-btn-primary {
    background: var(--foret, #3e5a3e);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--ombre-verte, #253a25);
}

.cookie-btn-secondary {
    background: transparent;
    border: 1px solid var(--foret, #3e5a3e);
    color: var(--foret, #3e5a3e);
}

.cookie-btn-secondary:hover {
    background: var(--lichen, #c0cfc1);
}

.cookie-btn-link {
    background: transparent;
    color: var(--foret, #3e5a3e);
    text-decoration: underline;
}

.cookie-btn-link:hover {
    color: var(--terre, #b7a18a);
}

/* Panneau de personnalisation */
.cookie-customize {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lichen, #c0cfc1);
}

.cookie-customize h4 {
    color: var(--foret, #3e5a3e);
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-option-text {
    flex: 1;
}

.cookie-option-text strong {
    display: block;
    color: var(--ombre-verte, #253a25);
    margin-bottom: 0.2rem;
}

.cookie-option-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #4a5e4a;
}

/* Switch personnalisé */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--foret, #3e5a3e);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-customize-buttons {
    text-align: right;
    margin-top: 1rem;
}

.cookie-customize.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-option {
        flex-direction: column;
    }
}