/* Style pour la bannière de consentement des cookies */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background-color: #3db585;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #34a276;
}

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

.cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background-color: transparent;
    color: #bbb;
    text-decoration: underline;
    padding: 8px 10px;
}

.cookie-btn-settings:hover {
    color: #fff;
}

/* Style pour le modal des paramètres de cookies */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-settings-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-settings-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.cookie-settings-close:hover {
    color: #333;
}

.cookie-settings-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cookie-settings-group:last-child {
    border-bottom: none;
}

.cookie-settings-group-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-settings-group-name {
    font-weight: bold;
    font-size: 16px;
}

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

.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: .4s;
    border-radius: 24px;
}

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

input:checked + .cookie-toggle-slider {
    background-color: #3db585;
}

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

.cookie-settings-group-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.cookie-settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cookie-settings-save {
    background-color: #3db585;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
}

.cookie-settings-save:hover {
    background-color: #34a276;
}

/* Pour les écrans plus petits */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
} 