/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 3px solid #1e3a8a;
    box-shadow: 0 -4px 20px rgba(30, 58, 138, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

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

.cookie-btn.accept {
    background: #1e3a8a;
    color: #ffffff;
}

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

.cookie-btn.reject {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.cookie-btn.reject:hover {
    background: #e2e8f0;
    color: #475569;
}

.cookie-btn.customize {
    background: #84cc16;
    color: #ffffff;
}

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

.cookie-link {
    color: #84cc16;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.cookie-link:hover {
    color: #65a30d;
    text-decoration: underline;
}

/* Cookie Customization Panel */
.cookie-customization {
    border-top: 1px solid #e2e8f0;
    padding: 20px 24px;
    background: #f8fafc;
}

.cookie-options h3 {
    margin: 0 0 20px 0;
    color: #1e3a8a;
    font-size: 16px;
    font-weight: 700;
}

.cookie-option {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-option:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.cookie-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.cookie-option input[type="checkbox"]:checked + .checkmark {
    background: #84cc16;
    border-color: #84cc16;
}

.cookie-option input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.cookie-option input[type="checkbox"]:disabled + .checkmark {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.cookie-option input[type="checkbox"]:disabled:checked + .checkmark {
    background: #64748b;
    border-color: #64748b;
}

.cookie-option p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    margin-left: 32px;
}

.cookie-custom-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    
    .cookie-text {
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-customization {
        padding: 16px;
    }
    
    .cookie-custom-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-custom-actions .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}