/* Cookie Consent Modal */
.cookie-consent-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.cookie-consent-overlay.show {
    display: block;
}

.cookie-consent-modal {
    background-color: #FFFFFF;
    border-radius: 10px 10px 0 0;
    padding: 2rem;
    max-width: 100%;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-header {
    margin-bottom: 1.5rem;
}

.cookie-consent-header h3 {
    color: #1E3A5F;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cookie-consent-header p {
    color: #7F8C8D;
    line-height: 1.6;
}

.cookie-categories {
    margin-bottom: 2rem;
}

.cookie-category {
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #F8F9FA;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h4 {
    color: #1E3A5F;
    font-size: 1.1rem;
    margin: 0;
}

.cookie-category-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #E0E0E0;
    border-radius: 13px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-category-toggle.active {
    background-color: #40E0D0;
}

.cookie-category-toggle.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.cookie-category-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-category-toggle.active .cookie-category-toggle-slider {
    transform: translateX(24px);
}

.cookie-category-description {
    color: #7F8C8D;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.cookie-consent-btn-accept-all {
    background-color: #1E3A5F;
    color: #FFFFFF;
}

.cookie-consent-btn-accept-all:hover {
    background-color: #40E0D0;
}

.cookie-consent-btn-accept-selected {
    background-color: #40E0D0;
    color: #FFFFFF;
}

.cookie-consent-btn-accept-selected:hover {
    background-color: #87CEEB;
}

.cookie-consent-btn-necessary-only {
    background-color: #F8F9FA;
    color: #1E3A5F;
    border: 1px solid #E0E0E0;
}

.cookie-consent-btn-necessary-only:hover {
    background-color: #E0E0E0;
}

@media (max-width: 768px) {
    .cookie-consent-modal {
        padding: 1.5rem;
    }

    .cookie-consent-header h3 {
        font-size: 1.2rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
    }
}
