/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid #DC2626;
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    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;
    flex-wrap: wrap;
}

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

.cookie-text h3 {
    color: #1E3A8A;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-text p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: #DC2626;
    text-decoration: none;
    font-weight: 600;
}

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

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.cookie-btn-accept {
    background: #DC2626;
    color: white;
    border: 2px solid #DC2626;
}

.cookie-btn-accept:hover {
    background: white;
    color: #DC2626;
}

.cookie-btn-reject {
    background: transparent;
    color: #555;
    border: 2px solid #ccc;
}

.cookie-btn-reject:hover {
    background: #f5f5f5;
    border-color: #999;
}

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

.cookie-btn-customize:hover {
    background: #1E3A8A;
    color: white;
}

/* Cookie Customization 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;
    padding: 1rem;
}

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

.cookie-modal-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal h3 {
    color: #1E3A8A;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.cookie-category h4 {
    color: #1E3A8A;
    font-size: 1.1rem;
    margin: 0;
}

.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%;
}

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

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

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #999;
    cursor: not-allowed;
}

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

.cookie-category .required-label {
    color: #F59E0B;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cookie-modal-actions .cookie-btn {
    min-width: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 0.75rem;
    }
    
    .cookie-text h3 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-modal-content {
        padding: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
}