/**
 * EntreVerso Utilities CSS
 * Replaces inline style="" attributes for CSP compliance.
 */

/* --- CTA flex container (index.php) --- */
.ev-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- LGPD Banner --- */
#lgpd-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem 1.5rem;
    background: rgba(17,24,39,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
}

.lgpd-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lgpd-banner-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex: 1;
    min-width: 200px;
}

.lgpd-banner-text a {
    color: var(--primary);
}

.lgpd-banner-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lgpd-btn-secondary {
    padding: 0.45rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
}

.lgpd-btn-primary {
    padding: 0.45rem 1.4rem;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

/* --- LGPD Modal --- */
#lgpd-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.lgpd-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 480px;
    background: var(--bg-card, #111827);
    border: 1px solid var(--border, #1f2937);
    border-radius: 12px;
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

.lgpd-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.lgpd-modal-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text, #e5e7eb);
}

.lgpd-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.lgpd-modal-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.lgpd-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lgpd-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-card-alt, #1a2035);
    border-radius: 8px;
}

.lgpd-option-label {
    font-size: 0.85rem;
    color: var(--text, #e5e7eb);
}

.lgpd-option-desc {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lgpd-btn-save {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

/* --- login.php: toggle password button --- */
.ev-cursor-pointer {
    cursor: pointer;
}
