/* Cookie Banner Styles - LGPD Compliance */

#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 24px;
    border-top: 3px solid #0066CC;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h4 {
    margin: 0 0 8px 0;
    color: #1f2937;
    font-size: 18px;
}

.cookie-banner-text p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: #0066CC;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background: #0066CC;
    color: white;
}

.btn-accept:hover {
    background: #0052A3;
}

.btn-necessary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-necessary:hover {
    background: #e5e7eb;
}

.btn-customize {
    background: white;
    color: #0066CC;
    border: 1px solid #0066CC;
}

.btn-customize:hover {
    background: #f0f9ff;
}

.btn-save {
    background: #10b981;
    color: white;
    width: 100%;
    margin-top: 16px;
}

.btn-save:hover {
    background: #059669;
}

.cookie-settings {
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.cookie-settings h5 {
    margin: 0 0 16px 0;
    color: #1f2937;
    font-size: 16px;
}

.cookie-option {
    margin-bottom: 16px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.cookie-option label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option span {
    display: flex;
    align-items: center;
    color: #1f2937;
    font-size: 14px;
}

.cookie-option small {
    color: #6b7280;
    font-size: 12px;
    margin-left: 26px;
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    #cookieBanner {
        padding: 16px;
    }

    .cookie-banner-content {
        gap: 16px;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }

    .cookie-banner-text h4 {
        font-size: 16px;
    }

    .cookie-banner-text p {
        font-size: 13px;
    }
}

