/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    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: 20px;
}

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

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--accent-coral);
    text-decoration: underline;
}

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

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--accent-coral);
    color: var(--white);
}

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

.cookie-btn-reject {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-btn-reject:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.cookie-btn-customize {
    background: var(--secondary-turquoise);
    color: var(--white);
}

.cookie-btn-customize:hover {
    background: #0e7490;
    transform: translateY(-1px);
}

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

.cookie-settings-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-close {
    color: var(--gray-600);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.cookie-settings-close:hover {
    color: var(--primary-blue);
}

.cookie-settings-modal h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
}

.cookie-category h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category p {
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.6;
}

.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: var(--gray-300);
    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: var(--secondary-turquoise);
}

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

.cookie-toggle.disabled {
    opacity: 0.5;
    pointer-events: none;
}

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

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cookie-settings-save {
    background: var(--accent-coral);
    color: var(--white);
}

.cookie-settings-save:hover {
    background: #ff8a00;
    transform: translateY(-1px);
}

.cookie-settings-cancel {
    background: var(--gray-300);
    color: var(--gray-800);
}

.cookie-settings-cancel:hover {
    background: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .cookie-settings-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .cookie-category {
        padding: 15px;
    }
    
    .cookie-category h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
    
    .cookie-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}