/* Banner e Modal de Consentimento LGPD - UnyBee */

.ub-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99990;
    background-color: #1e293b;
    color: #f8fafc;
    border-top: 1px solid #334155;
    padding: 16px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.ub-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.ub-consent-content {
    flex: 1 1 500px;
}

.ub-consent-title {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.ub-consent-p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.4;
}

.ub-consent-link {
    color: #38bdf8;
    text-decoration: underline;
}

.ub-consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ub-consent-btn {
    white-space: nowrap;
}

/* Preferences Modal */
.ub-consent-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99995;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

.ub-consent-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    width: 90%;
    max-width: 560px;
    max-height: 85vh;
    background-color: #ffffff;
    color: #0f172a;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ub-consent-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.ub-consent-modal-h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
}

.ub-consent-modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
}

.ub-consent-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
}

.ub-consent-modal-intro {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 16px;
}

.ub-consent-option-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background-color: #ffffff;
}

.ub-consent-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ub-consent-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #e2e8f0;
    color: #475569;
    font-weight: 600;
    margin-left: 8px;
}

.ub-consent-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ub-consent-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.ub-consent-option-desc {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.ub-consent-modal-foot {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
    display: flex;
    justify-content: flex-end;
}
