/* Cookie Consent Banner Styles */

/* Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 30, 31, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

#cookie-consent-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.cookie-banner-text p {
    color: #e8f0f2;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.cookie-banner-text a {
    color: #d4a574;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #ffffff;
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookie-btn-accept {
    background: #d4a574;
    color: #0f1e1f;
}

.cookie-btn-accept:hover {
    background: #e8b888;
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.cookie-btn-settings {
    background: transparent;
    color: #d4a574;
    border: 2px solid #d4a574;
}

.cookie-btn-settings:hover {
    background: #d4a574;
    color: #0f1e1f;
}

/* Settings Modal */
#cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#cookie-settings-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cookie-settings-content {
    position: relative;
    background: #ffffff;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #d4a574;
}

.cookie-settings-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #1a3d2e;
    letter-spacing: 2px;
    margin: 0;
}

#cookie-settings-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #1a3d2e;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

#cookie-settings-close:hover {
    color: #d4a574;
}

.cookie-category {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e8f0f2;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cookie-category-header h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: #1a3d2e;
    letter-spacing: 1px;
    margin: 0;
}

.cookie-category p {
    color: #0f1e1f;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Custom Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.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: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #1a3d2e;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background: #1a3d2e;
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-settings-footer {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-settings-footer .cookie-btn {
    flex: 1;
    min-width: 150px;
}

.cookie-btn-save {
    background: #1a3d2e;
    color: #ffffff;
}

.cookie-btn-save:hover {
    background: #234d3a;
}

/* Responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 1.5rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .cookie-settings-content {
        padding: 1.5rem;
    }

    .cookie-settings-header h3 {
        font-size: 1.5rem;
    }

    .cookie-settings-footer {
        flex-direction: column;
    }

    .cookie-settings-footer .cookie-btn {
        width: 100%;
    }
}
