/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1B5E5E;
    color: #FFFFFF;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(27, 94, 94, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

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

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

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

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background: #F4A736;
    color: #1B5E5E;
}

.cookie-btn-accept:hover {
    background: #E6962A;
}

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

.cookie-btn-reject:hover {
    background: #2C5A5A;
    color: #FFFFFF;
}

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

.cookie-btn-customize:hover {
    background: #F4A736;
    color: #1B5E5E;
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: #1B5E5E;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #E8F4F4;
    border-radius: 8px;
}

.cookie-category h4 {
    color: #1B5E5E;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category p {
    color: #5A6C7D;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

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

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

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

input:checked + .cookie-slider {
    background-color: #F4A736;
}

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

.cookie-slider.disabled {
    background-color: #1B5E5E;
    cursor: not-allowed;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #E8F4F4;
}

.cookie-modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-modal-btn-save {
    background: #1B5E5E;
    color: #FFFFFF;
}

.cookie-modal-btn-save:hover {
    background: #0F4444;
}

.cookie-modal-btn-cancel {
    background: transparent;
    color: #5A6C7D;
    border: 1px solid #E8F4F4;
}

.cookie-modal-btn-cancel:hover {
    background: #F8FFFE;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .cookie-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 0;
    }
}