/* ======================================
   Cookie Notice Styles
====================================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-notice.active {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
}

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

.cookie-content p {
    margin-bottom: 15px;
}

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

/* ======================================
   Cookie Settings Panel
====================================== */
.cookie-settings-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-panel.active {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-settings-content h3 {
    margin-bottom: 20px;
    text-align: center;
}

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

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

.cookie-option label {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.cookie-option p {
    margin-left: 24px;
    color: #666;
    font-size: 0.9rem;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* ======================================
   Responsive Styles for Cookie Elements
====================================== */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
    
    .cookie-settings-buttons button {
        width: 100%;
    }
}

/* ======================================
   Cookie Button Toggle for Policy Page
====================================== */
#manage-cookies-btn {
    margin: 20px auto 0;
    display: block;
}
