/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-banner-text {
    margin-bottom: 15px;
}

.cookie-banner-text p {
    margin: 0 0 10px 0;
    color: #404145;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #1dbf73;
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cookie {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-cookie-accept {
    background: #1dbf73;
    color: white;
}

.btn-cookie-accept:hover {
    background: #19a463;
    transform: translateY(-1px);
}

.btn-cookie-deny {
    background: #e9ecef;
    color: #404145;
}

.btn-cookie-deny:hover {
    background: #dee2e6;
}

.btn-cookie-settings {
    background: transparent;
    color: #1dbf73;
    border: 1px solid #1dbf73;
}

.btn-cookie-settings:hover {
    background: #f8f9fa;
}

.btn-cookie-save {
    background: #1dbf73;
    color: white;
}

/* Modal paramètres */
.cookie-modal .modal-dialog {
    max-width: 500px;
}

.cookie-modal .modal-header {
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.cookie-modal .modal-header .btn-close {
    background: transparent;
}

.cookie-modal .modal-body {
    padding: 20px;
}

.cookie-option {
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-option-title {
    font-weight: 600;
    color: #404145;
}

.cookie-option-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #1dbf73;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.cookie-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 30px;
    padding: 8px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 0.7rem;
    z-index: 9998;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-badge:hover {
    transform: scale(1.05);
    background: #1dbf73;
    color: white;
}

@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cookie {
        width: 100%;
        text-align: center;
    }
    
    .cookie-banner-text {
        font-size: 0.85rem;
    }
}