/* INTRADOC — banner e modal LGPD / cookies */

.auth-page {
    padding-bottom: 5.5rem;
}

.auth-page.lgpd-banner-visible {
    padding-bottom: 11rem;
}

.lgpd-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    padding: 1rem 1.25rem;
    background: var(--glass-bg, rgba(255, 255, 255, 0.92));
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border, rgba(0, 0, 0, 0.08));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
    animation: lgpdSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark-mode .lgpd-banner {
    background: rgba(15, 23, 42, 0.94);
    border-top-color: rgba(255, 255, 255, 0.08);
}

@keyframes lgpdSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

.lgpd-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lgpd-banner__text {
    flex: 1 1 280px;
    min-width: 0;
}

.lgpd-banner__title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main, #1e293b);
}

.lgpd-banner__desc {
    color: var(--text-muted, #64748b);
    line-height: 1.5;
}

.lgpd-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.lgpd-link {
    color: var(--primary, #3b82f6);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lgpd-link:hover {
    color: var(--primary, #2563eb);
}

.lgpd-modal .modal-content {
    background: var(--glass-bg, #fff);
    border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.08));
    border-radius: 20px;
}

html.dark-mode .lgpd-modal .modal-content {
    background: var(--bg-surface, #1e293b);
    color: var(--text-main, #f1f5f9);
}

.lgpd-cookie-group {
    padding: 1rem;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    background: var(--bg-surface, #f8fafc);
}

html.dark-mode .lgpd-cookie-group {
    background: rgba(255, 255, 255, 0.04);
}

.lgpd-rights {
    background: var(--primary-soft, rgba(59, 130, 246, 0.08));
    border: 1px solid var(--border-color, #e2e8f0);
}

.lgpd-footer-link {
    color: var(--text-muted);
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}

.lgpd-footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .lgpd-banner__actions {
        width: 100%;
    }

    .lgpd-banner__actions .btn {
        flex: 1 1 auto;
    }

    .auth-page.lgpd-banner-visible {
        padding-bottom: 14rem;
    }
}
