/* Cookie Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 20px rgba(24, 125, 170, 0.15);
    padding: 1.5rem;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #187daa;
}

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

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

.cookie-banner-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #187daa 0%, #1a5f7a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(24, 125, 170, 0.3);
}

.cookie-banner-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

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

.cookie-banner-text h3 {
    color: #187daa;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    font-family: 'Bakbak One', sans-serif;
}

.cookie-banner-text p {
    color: #187daa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text p a {
    color: #145a85;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-banner-text p a:hover {
    color: #0f4766;
}

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

.cookie-btn {
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #187daa 0%, #145a85 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #145a85 0%, #0f4766 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 125, 170, 0.3);
}

.cookie-btn-decline {
    background: white;
    color: #187daa;
    border: 2px solid #187daa;
}

.cookie-btn-decline:hover {
    background: #187daa;
    border-color: #187daa;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 125, 170, 0.3);
}

.cookie-btn-settings {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b1a 100%);
    color: white;
}

.cookie-btn-settings:hover {
    background: linear-gradient(135deg, #ff6b1a 0%, #e55a0a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 26, 0.3);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

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

.cookie-settings-content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    background: linear-gradient(135deg, #187daa 0%, #145a85 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.cookie-settings-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-family: 'Bakbak One', sans-serif;
}

.cookie-settings-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.cookie-settings-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cookie-settings-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #187daa;
}

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

.cookie-category h3 {
    color: #187daa;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

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

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

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #187daa 0%, #145a85 100%);
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #187daa;
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem;
    }
    
    .cookie-banner-content {
        gap: 1.25rem;
    }
    
    .cookie-banner-icon {
        width: 45px;
        height: 45px;
    }
    
    .cookie-banner-text h3 {
        font-size: 1.15rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-settings-header {
        padding: 1.5rem;
    }
    
    .cookie-settings-header h2 {
        font-size: 1.5rem;
    }
    
    .cookie-settings-body {
        padding: 1.5rem;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-settings-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-icon {
        width: 40px;
        height: 40px;
    }
    
    .cookie-banner-text h3 {
        font-size: 1.05rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}


