/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 900px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: #fff;
}

.cookie-content p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

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

/* Cookie Modal Styles */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
}

.cookie-modal-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.cookie-options {
    margin-top: 20px;
}

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

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

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

.option-header h4 {
    margin-bottom: 0;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #1a73e8;
}

input:focus + .slider {
    box-shadow: 0 0 1px #1a73e8;
}

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

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.cookie-modal-buttons {
    margin-top: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 576px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cookie-modal-content {
        margin: 20px auto;
        padding: 20px;
    }
}
