/* 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(0, 0, 0, 0.15);
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: none;
}

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

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

.cookie-banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

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

.cookie-btn-primary {
    background-color: #1e3a8a;
    color: white;
}

.cookie-btn-primary:hover {
    background-color: #3b82f6;
}

.cookie-btn-secondary {
    background-color: #64748b;
    color: white;
}

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

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

.cookie-btn-outline:hover {
    background-color: #1e3a8a;
    color: white;
}

/* Cookie Customizer */
.cookie-customizer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.cookie-customizer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-customizer-content h4 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cookie-category-header {
    margin-bottom: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #1e293b;
}

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

.cookie-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #cbd5e1;
    border-radius: 24px;
    margin-right: 12px;
    transition: background-color 0.3s ease;
}

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

.cookie-toggle input[type="checkbox"]:checked + .cookie-slider {
    background-color: #1e3a8a;
}

.cookie-toggle input[type="checkbox"]:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input[type="checkbox"]:disabled + .cookie-slider {
    background-color: #94a3b8;
    opacity: 0.6;
}

.cookie-label {
    font-size: 0.95rem;
}

.cookie-description {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.cookie-customizer-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.cookie-policy-link {
    margin-top: 15px;
    text-align: center;
}

.cookie-policy-link a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 15px;
    }

    .cookie-banner-actions {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .cookie-customizer {
        padding: 15px;
    }

    .cookie-category {
        padding: 12px;
    }

    .cookie-customizer-actions {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 1rem;
    }

    .cookie-banner-text p {
        font-size: 0.85rem;
    }

    .cookie-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .cookie-slider {
        width: 40px;
        height: 22px;
    }

    .cookie-slider:before {
        width: 18px;
        height: 18px;
    }

    .cookie-toggle input[type="checkbox"]:checked + .cookie-slider:before {
        transform: translateX(18px);
    }
}