/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

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

.cookie-text h3 {
    margin-bottom: 10px;
    color: #2c5aa0;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.primary {
    background: #2c5aa0;
    color: white;
}

.cookie-btn.primary:hover {
    background: #1e3f73;
}

.cookie-btn.secondary {
    background: #6c757d;
    color: white;
}

.cookie-btn.secondary:hover {
    background: #545b62;
}

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

.cookie-btn.tertiary:hover {
    background: #2c5aa0;
    color: white;
}

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

.cookie-modal.hidden {
    display: none;
}

.cookie-modal-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 30px;
    color: #2c5aa0;
    text-align: center;
}

.cookie-categories {
    margin-bottom: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.cookie-toggle input {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 25px;
    background: #ccc;
    border-radius: 15px;
    position: relative;
    margin-right: 15px;
    transition: background 0.3s ease;
}

.toggle-slider::before {
    content: '';
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.cookie-toggle input:checked + .toggle-slider {
    background: #2c5aa0;
}

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

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

.toggle-label {
    font-weight: bold;
    color: #333;
}

.cookie-category p {
    font-size: 0.9rem;
    color: #666;
    margin-left: 65px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        padding: 20px;
    }
}