/**
 * ==============================================================================
 * Global Stylesheet - HoppinJS (global.css)
 * ==============================================================================
 * Estrutura modular dividida em 2 partes:
 * - PARTE 1: Cores, Temas e White-Label (Customizável por clientes via White-Label)
 * - PARTE 2: Estrutura, Dimensões e Layout (Regras fixas de grid, flexbox, modais e responsividade)
 * ==============================================================================
 */

/* ==============================================================================
   PARTE 1: CORES, TEMAS E WHITE-LABEL (CUSTOMIZÁVEL)
   Apenas declarações de cores, backgrounds, bordas, sombras e degradês.
   ============================================================================== */

/* 1.1 Cores Base & Variáveis White-Label */
:root {
    /* Base e Superfícies */
    --wl-bg-body: #0d0e12;
    --wl-text-body: #e3e3e3;
    --wl-card-bg: #20222a;
    --wl-card-subtle-bg: rgba(255, 255, 255, 0.05);
    --wl-card-border-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.2) 100%);
    --wl-card-gradient-hoppin: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #0284c7 100%);
    --wl-border-subtle: rgba(255, 255, 255, 0.08);
    --wl-border-medium: rgba(255, 255, 255, 0.15);
    --wl-border-highlight: rgba(255, 255, 255, 0.2);

    /* Textos */
    --wl-text-heading: #ffffff;
    --wl-text-muted: #94a3b8;
    --wl-text-description: #d1d5db;

    /* Links e Ações de Texto */
    --wl-link-color: #38bdf8;
    --wl-link-hover-color: #7dd3fc;

    /* Tabelas e Listas de Itens/Pedidos */
    --wl-table-border: rgba(255, 255, 255, 0.06);
    --wl-table-header-bg: rgba(255, 255, 255, 0.05);
    --wl-table-header-text: #e5e7eb;
    --wl-table-row-odd: rgba(255, 255, 255, 0.02);
    --wl-table-row-even: rgba(255, 255, 255, 0.05);
    --wl-table-row-hover: rgba(255, 255, 255, 0.09);
    --wl-table-cupom-bg: rgba(6, 182, 212, 0.08);
    --wl-table-cupom-hover: rgba(6, 182, 212, 0.16);

    /* Barra de Resumo e Total de Ingressos */
    --wl-total-bar-bg: transparent;
    --wl-total-bar-border: var(--wl-border-subtle);

    /* Cards de Ingressos do Pedido (Multi-QRCode / Slider) - Degradê Elegante Hoppin */
    --wl-ticket-card-bg: linear-gradient(to right, rgba(30, 58, 138, 0.3) 0%, rgba(88, 28, 135, 0.1) 100%);
    --wl-ticket-card-border: rgba(59, 130, 246, 0.2);
    --wl-ticket-card-hover-border: rgba(59, 130, 246, 0.4);
    --wl-ticket-card-text: #ffffff;
    --wl-ticket-qrcode-bg: rgba(0, 0, 0, 0.3);
    --wl-ticket-qrcode-border: rgba(255, 255, 255, 0.1);
    --wl-ticket-btn-bg: rgba(255, 255, 255, 0.08);
    --wl-ticket-btn-hover-bg: rgba(255, 255, 255, 0.16);
    --wl-ticket-btn-border: rgba(255, 255, 255, 0.15);
    --wl-ticket-btn-text: #e2e8f0;
    --wl-slider-nav-bg: rgba(15, 23, 42, 0.92);
    --wl-slider-nav-border: rgba(255, 255, 255, 0.25);
    --wl-slider-nav-color: #ffffff;
    --wl-slider-nav-hover-bg: #06b6d4;
    --wl-slider-indicator-active: #06b6d4;
    --wl-slider-indicator-inactive: rgba(255, 255, 255, 0.25);

    /* Botões de Quantidade (+ e -) */
    --wl-btn-qty-bg: rgba(255, 255, 255, 0.08);
    --wl-btn-qty-border: rgba(255, 255, 255, 0.18);
    --wl-btn-qty-color: #ffffff;
    --wl-btn-qty-hover-bg: rgba(255, 255, 255, 0.2);
    --wl-btn-qty-hover-border: rgba(255, 255, 255, 0.4);

    /* Badges e Pílulas de Status */
    --wl-badge-success-bg: rgba(52, 211, 153, 0.12);
    --wl-badge-success-text: #34d399;
    --wl-badge-success-border: #34d399;

    --wl-badge-warning-bg: rgba(251, 191, 36, 0.12);
    --wl-badge-warning-text: #fbbf24;
    --wl-badge-warning-border: #fbbf24;

    --wl-badge-danger-bg: rgba(248, 113, 113, 0.12);
    --wl-badge-danger-text: #f87171;
    --wl-badge-danger-border: #f87171;

    --wl-badge-info-bg: rgba(14, 165, 233, 0.12);
    --wl-badge-info-text: #38bdf8;
    --wl-badge-info-border: rgba(56, 189, 248, 0.35);

    /* Formulários e Inputs */
    --wl-input-bg: rgba(0, 0, 0, 0.45);
    --wl-input-focus-bg: rgba(0, 0, 0, 0.6);
    --wl-input-text: #ffffff;
    --wl-input-border: rgba(255, 255, 255, 0.15);
    --wl-input-placeholder: #94a3b8;
    --wl-input-focus-border: #38bdf8;
    --wl-input-focus-shadow: rgba(56, 189, 248, 0.25);
    --wl-select-bg: #1a1c23;

    /* Pílulas Ativas (Segmented Control / CPF/CNPJ) */
    --wl-pill-active-bg: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    --wl-pill-active-border: rgba(52, 211, 153, 0.4);
    --wl-pill-active-text: #34d399;
    --wl-pill-active-shadow: rgba(16, 185, 129, 0.2);

    /* Botão Aplicar Cupom */
    --wl-btn-apply-bg: #ffffff;
    --wl-btn-apply-text: #dc2626;
    --wl-btn-apply-border: #ffffff;
    --wl-btn-apply-hover-bg: #fef2f2;
    --wl-btn-apply-hover-text: #b91c1c;
    --wl-btn-apply-hover-border: #fca5a5;
    --wl-btn-apply-active-bg: #fee2e2;

    /* Botões Primários de Ação (Degradê Oficial Hoppin) */
    --wl-btn-primary-bg: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #0284c7 100%);
    --wl-btn-primary-color: #ffffff;
    --wl-btn-primary-border: rgba(255, 255, 255, 0.2);
    --wl-btn-primary-shadow: rgba(6, 182, 212, 0.25);
    --wl-btn-primary-hover-shadow: rgba(6, 182, 212, 0.45);

    /* Botão Especial de Pagamento (Checkout Cartão) */
    --wl-btn-checkout-bg: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #1d4ed8 100%);
    --wl-btn-checkout-shadow: rgba(37, 99, 235, 0.3);

    /* Botões Secundários */
    --wl-btn-secondary-bg: rgba(255, 255, 255, 0.06);
    --wl-btn-secondary-color: #ffffff;
    --wl-btn-secondary-border: rgba(255, 255, 255, 0.15);
    --wl-btn-secondary-hover-bg: rgba(255, 255, 255, 0.12);
    --wl-btn-secondary-hover-border: rgba(255, 255, 255, 0.3);
    --wl-btn-secondary-hover-color: #38bdf8;

    /* Divisores de Autenticação / Formulários ("ou") */
    --wl-divider-line: var(--wl-border-subtle, rgba(255, 255, 255, 0.1));
    --wl-divider-text-bg: var(--wl-card-bg, #20222a);
    --wl-divider-text-color: var(--wl-text-muted, #94a3b8);

    /* Modais e Popups (Termos de Uso, Privacidade, etc) */
    --wl-popup-overlay: rgba(0, 0, 0, 0.75);
    --wl-popup-bg: var(--wl-card-bg, #181920);
    --wl-popup-border: var(--wl-border-medium, rgba(255, 255, 255, 0.12));
    --wl-popup-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
    --wl-popup-text: var(--wl-text-description, #cbd5e1);
    --wl-popup-header-bg: var(--wl-card-subtle-bg, rgba(255, 255, 255, 0.02));
    --wl-popup-header-border: var(--wl-border-subtle, rgba(255, 255, 255, 0.08));
    --wl-popup-title: var(--wl-text-heading, #ffffff);
    --wl-popup-text-muted: var(--wl-text-muted, #94a3b8);
    --wl-popup-text-strong: var(--wl-text-heading, #ffffff);
    --wl-popup-accent: var(--wl-link-color, #33c287);
    --wl-popup-footer-bg: var(--wl-card-subtle-bg, rgba(255, 255, 255, 0.02));
    --wl-popup-footer-border: var(--wl-border-subtle, rgba(255, 255, 255, 0.08));
    --wl-popup-btn-bg: var(--wl-btn-secondary-bg, rgba(255, 255, 255, 0.08));
    --wl-popup-btn-color: var(--wl-btn-secondary-color, #ffffff);
    --wl-popup-btn-border: var(--wl-btn-secondary-border, rgba(255, 255, 255, 0.15));
    --wl-popup-btn-hover-bg: var(--wl-btn-secondary-hover-bg, rgba(255, 255, 255, 0.16));
    --wl-popup-btn-hover-color: var(--wl-btn-secondary-hover-color, #ffffff);
    --wl-popup-close-icon-filter: none;
}

/* Divisor Elegante de Telas de Autenticação ("ou") */
.auth-divider-line,
.login-divider-line {
    border-color: var(--wl-divider-line, var(--wl-border-subtle, rgba(255, 255, 255, 0.1)));
}

.auth-divider-text,
.login-divider-text {
    background-color: var(--wl-divider-text-bg, var(--wl-card-bg, #20222a));
    color: var(--wl-divider-text-color, var(--wl-text-muted, #94a3b8));
}

::selection {
    background: #3b82f6;
    color: #ffffff;
}

body {
    background-color: var(--wl-bg-body, #0d0e12);
    color: var(--wl-text-body, #e3e3e3);
}

a {
    color: #3b82f6;
}

a:hover {
    color: #60a5fa;
}

/* 1.2 Fundo Blur Canvas */
#blur-canvas {
    background: #2c344b;
}

/* 1.3 Cores dos Modais e Popups */
.popup-overlay {
    background-color: var(--wl-popup-overlay, rgba(0, 0, 0, 0.75)) !important;
}

.popup-body {
    background: var(--wl-popup-bg, #181920);
    border: 1px solid var(--wl-popup-border, rgba(255, 255, 255, 0.12));
    box-shadow: var(--wl-popup-shadow, 0 25px 50px -12px rgba(0, 0, 0, 0.85));
    color: var(--wl-popup-text, #cbd5e1);
}

.popup-title {
    border-bottom: 1px solid var(--wl-popup-header-border, rgba(255, 255, 255, 0.08));
    background: var(--wl-popup-header-bg, rgba(255, 255, 255, 0.02));
}

.popup-title h4 {
    color: var(--wl-popup-title, #ffffff);
}

.popup-title .popup-close-btn,
.popup-title .close {
    background: var(--wl-popup-btn-bg, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--wl-popup-btn-border, rgba(255, 255, 255, 0.1));
    color: var(--wl-popup-text-muted, #a3a3a3);
}

.popup-title .popup-close-btn:hover,
.popup-title .close:hover {
    background: var(--wl-popup-btn-hover-bg, rgba(255, 255, 255, 0.15));
    color: var(--wl-popup-title, #ffffff);
    border-color: var(--wl-border-highlight, rgba(255, 255, 255, 0.25));
}

.popup-content::-webkit-scrollbar-thumb {
    background: var(--wl-border-medium, rgba(255, 255, 255, 0.2));
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: var(--wl-border-highlight, rgba(255, 255, 255, 0.35));
}

.popup-content h2,
.popup-content h3 {
    color: var(--wl-popup-accent, #33c287);
    border-bottom: 1px solid var(--wl-popup-header-border, rgba(51, 194, 135, 0.18));
}

.popup-content p {
    color: var(--wl-popup-text, #cbd5e1);
}

.popup-content p strong,
.popup-content p b,
.popup-content li strong,
.popup-content li b,
.popup-content strong,
.popup-content b {
    color: var(--wl-popup-text-strong, #ffffff);
}

.popup-content em,
.popup-content i {
    color: var(--wl-popup-text-muted, #94a3b8);
}

.popup-content li {
    color: var(--wl-popup-text, #cbd5e1);
}

.popup-content li::before {
    color: var(--wl-popup-accent, #33c287);
}

.popup-content .terms-callout,
.popup-content .callout-warning {
    background: rgba(56, 189, 248, 0.08);
    border-left: 3px solid var(--wl-link-color, #38bdf8);
    color: var(--wl-popup-text, #e0f2fe);
}

.popup-content .terms-callout strong,
.popup-content .callout-warning strong {
    color: var(--wl-link-color, #7dd3fc);
}

.popup-content .terms-highlight-box {
    background: rgba(51, 194, 135, 0.08);
    border-left: 3px solid var(--wl-popup-accent, #33c287);
    color: var(--wl-popup-text, #e6fcf5);
}

.popup-content .terms-highlight-box strong {
    color: var(--wl-popup-accent, #33c287);
}

.popup-footer {
    border-top: 1px solid var(--wl-popup-footer-border, rgba(255, 255, 255, 0.08));
    background: var(--wl-popup-footer-bg, rgba(255, 255, 255, 0.02));
}

.popup-footer button,
.popup-exit {
    color: var(--wl-popup-btn-color, #ffffff);
    background: var(--wl-popup-btn-bg, rgba(255, 255, 255, 0.08));
    border: 1px solid var(--wl-popup-btn-border, rgba(255, 255, 255, 0.15));
    box-shadow: none;
}

.popup-footer button:hover,
.popup-exit:hover {
    background: var(--wl-popup-btn-hover-bg, rgba(255, 255, 255, 0.16));
    color: var(--wl-popup-btn-hover-color, #ffffff);
    border-color: var(--wl-border-highlight, rgba(255, 255, 255, 0.3));
}

.popup-exit em.icons.close_white {
    filter: var(--wl-popup-close-icon-filter, none);
}

.popup-footer .popup-print {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.popup-footer .popup-print:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

/* 1.3 Cores dos Avisos, Mensagens e Notificações */
blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.35);
}

.msg-loading-box {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    color: #f0f9ff;
}

.field-error {
    color: #fca5a5;
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    border-left-color: #ef4444;
}

.error {
    background-color: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fee2e2;
}

.error::before {
    color: #ef4444;
}

.info {
    background-color: rgba(14, 165, 233, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    color: #f0f9ff;
}

.info::before {
    color: #38bdf8;
}

.success {
    background-color: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #d1fae5;
}

.success::before {
    color: #10b981;
}

.msg-close {
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.msg-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* 1.4 Cores da Vitrine Clássica de Eventos (#events) */
#events .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
    background-color: #181920;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#events .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.2);
}

#events .card img {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
}

#events .card .container {
    color: #e5e7eb;
}

#events .card h1 {
    color: #ffffff;
    border-bottom: none;
}

.sep {
    background: #374151;
}

#events .card:hover .sep {
    background: #1dbe93;
}

#events .card .data {
    color: #9ca3af;
}

#events .card .data i {
    color: #60a5fa;
}

#events .card .status {
    color: #38bdf8;
    background-color: rgba(14, 165, 233, 0.15);
    border-color: #0284c7;
}

/* 1.5 Cores de Impressão Global */
@media print {
    html, body {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .comprovante,
    .campo,
    .titulo {
        color: #000000 !important;
    }
}


/* ==============================================================================
   PARTE 2: ESTRUTURA, POSICIONAMENTO E LAYOUT (IMUTÁVEL)
   Apenas propriedades de grid, flex, alinhamentos, margens, fontes e responsividade.
   ============================================================================== */

/* 2.1 Reset Estrutural e Utilitários */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.clear::before,
.clear::after {
    content: "";
    display: table;
}

.clear::after {
    clear: both;
}

.section {
    position: relative;
}

.section::before,
.section::after {
    content: "";
    display: table;
}

.section::after {
    clear: both;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 2.2 Blur Canvas em Segundo Plano */
#blur-canvas {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 2.3 Ícones e Sprites Base64 */
.icons {
    margin: 0 5px;
    padding: 2px;
    height: 24px;
    width: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.menu_white {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAGklEQVQ4y2NgGAVEg/9EAMo0jHp61NOjAAgAUWrXKeQhPE4AAAAASUVORK5CYII=");
}

.account_box_white {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAoklEQVQ4y2NgGKzgv+f/x//xgcf/PVA1PPpPCDxC1QAEeF2ALo8s8J/1f9v/Z0DY9p+VOA3tcGe0E6fhKZBjDYT//z+lkQaSnUSqp8F8yf+8RAXrf+b/Yf9X/f8IdtA7ICvsPzMeDf+l/5+Duv7L/9dQ1rn/0rg17ARSt/6n/FcCi4kBWbeBIjtxa/iJNRX9xK0BByAilAgnPpKTN6kZaDABAESTnv13sa4YAAAAAElFTkSuQmCC");
}

.lock_white {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAe0lEQVQ4y83SsQ2DMBBGYcaAjVwwD0zAWh7G3gAqqo8OEUWxYyGivO6X79l31nXdfYyizSYavylfXFnqt7Ob9XqzncorIqYzTYhlYcVwpgFrWUAp3xEE2Sey8C4kJVK1merZbwVBvg5aF9LroA8IrS39y7c2r0br8j3GARQRNIpqq/JVAAAAAElFTkSuQmCC");
}

.register_white {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAnUlEQVQ4jd3QsQ2CYBRF4X8A2QArE0ZgDyqXYA1bJ6BmABtqtrAzFtIREkuaz8pEBZGEWOjp3ss9ybsvhD9GrNRolOJ58daddoaiRCUWq1CORfAwXbAOIQRrXL4gTJ3khY+lx4QZb30+aQaLBBu5g6Mrzg5ym/diqn5tBWrpWDzTo1PYSqysJLYKHXrZUDhhLxrsIzucRptMsVz4SW5d6iOF5C1O7AAAAABJRU5ErkJggg==");
}

.print_white {
    margin-top: 8px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAXklEQVQ4y82TwQ3AIAgAebmUK7CXLqp/JzifJk2xNK3GewKXQACRs8HgX8ET2yAQSFRmVBJhCBkPeQgFiGajihKB4htMaLRLzYOgqCHMFvddsM7gNvda2HtLa//hDDrI4mX6B65L8wAAAABJRU5ErkJggg==");
}

.close_white {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAA0klEQVQ4y73TvY3CQBAF4BUIIgjdBNAFHSBBFQ7ch9uAMlyFHSDhKiBy9F3gFT6OH2l9uptgNfv0nubN7kwI/xxmDo4ubm4ujg5mn+g7rZ/R2r0mT5SgUVhZWFgpNKA0eRaU6OSmD+hUrkP5bIbO9mXtrY4HY+Za5G97y9GaD8AeTW/GRiULIQSZyiYaa7AfBCcUMa9Qy2RqVBEtcBoEZ6xj3hPreGYRXeM8CK5Y3m+95Bs9BEtcfyFItpTcdPKzpn5c8miMGL4R4528QKNW9E/iC76FfEyE6RoGAAAAAElFTkSuQmCC");
}

.event_black {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAUklEQVQ4y2NgoC/4D4TEiJGjwYPhMVgKF3wMVIECHuBVDoKPUDX8wedSbA77S44GQpByDbT1wz/KNaC6fSho+E+5BgLyJGt4RGry9iQ1A9EOAAA5xrhxMEeOFgAAAABJRU5ErkJggg==");
}

.payment_white {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAARklEQVQ4y2NgGCbgv8f/x/8Jgcf/PREaHvwnBjxCaPj7/z9BV/xHUkOWBmIAPTX8I0MDaZ4ehBr+01zDI1ITnyeJyXuIAwDRm3rChGsIqAAAAABJRU5ErkJggg==");
}

.localtion_black {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAABBElEQVQ4EcXBoUqrcQAH0INR1H/6FC7YVn0Dw5CBybRnGGu2y8C4OMR3MNwXUFBsBsGoL7CoxXG5UzDJfvIFYeHb5k2e4wdUhh69efNoqLJC11RERMRU1xJdM3GpbcOGtksx07VAZSpOzDsRU5VGQ3GhVvT1FbULMdToQbRRjEWMFbTFg0avYhM9ERE9bIpXjSZiCz0RET38EhON7sU+irGIsYIjca/RSJyqFX19Re1MjDTaExPr5hX/xJ4F7sRv8wbizkIH4q8dXyoTcWCJG/HHl3NxY6mWd3Go1jHzrmWFgXi2rfIkBlZacyuuXYlba75h14uIF7u+qePDh47/cOzYD/kEzExslIe8p5EAAAAASUVORK5CYII=");
}

.email_white {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAAhElEQVQ4y93Suw2DQBCE4ZOIKYEqaIKMUiiFUmiEKo4OiJE+AktGd3C2Cc1kK82/j9GG8BDpLL5p0R1A9IviAcCkKW7QmCAFWA2qk7kyWF+GFOhFzNrE3poR9ScgBLXRZjOqQ8jrCyDrmE0sAMnOyU1F4J1KltpH4DLaxwG3n+/ue/+5dosMUvBQIhoNAAAAAElFTkSuQmCC");
}

.copy_paste {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAARUlEQVQ4jWNgIAt4MDxm+I8DYgWPcCrHoQGnBC5AtgbcfnkMlMOiAZ9fHmHTgNtpaDKjGoaoBgLCQ0oD0ckbBojOQCQAACzEpqVaE9CbAAAAAElFTkSuQmCC");
}

/* 2.3 Estrutura de Modais e Popups */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-overlay {
    width: 100vw;
    height: 100vh;
    position: fixed !important;
    inset: 0;
    top: 0;
    left: 100%;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    z-index: 29999 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-out;
    overflow-y: auto;
}

.overlay .popup-overlay {
    opacity: 1 !important;
    left: 0 !important;
    pointer-events: auto !important;
}

.popup {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: auto;
    width: 100%;
    max-width: 680px;
    z-index: 29999 !important;
    display: none;
    box-sizing: border-box;
}

.popup.visible,
.popup.transitioning {
    display: block !important;
    z-index: 29999 !important;
}

.popup-body {
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    min-width: 0;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    position: relative;
    text-align: left;
    overflow: hidden;
    opacity: 1;
    box-sizing: border-box;
    animation: modalFadeIn 0.25s ease-out forwards;
}

.popup.visible .popup-body {
    opacity: 1;
    padding: 0;
}

.popup-title {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.popup-title h4 {
    width: auto;
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.popup-title .popup-close-btn,
.popup-title .close {
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.popup-content {
    overflow-y: auto;
    padding: 24px 28px;
    max-height: 55vh;
    background: transparent;
    box-sizing: border-box;
    scrollbar-width: thin;
}

.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-track {
    background: transparent;
}

.popup-content::-webkit-scrollbar-thumb {
    border-radius: 9999px;
}

.popup-content h2,
.popup-content h3 {
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 24px 0 10px 0;
    padding-bottom: 6px;
    line-height: 1.4;
    display: block;
}

.popup-content section:first-child h2,
.popup-content section:first-child h3,
.popup-content h2:first-child,
.popup-content h3:first-child {
    margin-top: 0;
}

.popup-content p {
    font-size: 13px;
    line-height: 1.65;
    text-align: justify;
    margin: 0 0 12px 0;
}

.popup-content p strong,
.popup-content p b,
.popup-content li strong,
.popup-content li b,
.popup-content strong,
.popup-content b {
    font-weight: 700;
    display: inline;
}

.popup-content em,
.popup-content i {
    font-style: italic;
}

.popup-content ul {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 14px 0;
}

.popup-content li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 1.6;
    text-align: justify;
}

.popup-content li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    font-weight: 900;
    font-size: 14px;
}

.popup-content .terms-callout,
.popup-content .callout-warning {
    padding: 12px 14px;
    border-radius: 8px;
    margin: 12px 0 16px 0;
    font-size: 12.5px;
    line-height: 1.55;
}

.popup-content .terms-highlight-box {
    padding: 12px 14px;
    border-radius: 8px;
    margin: 12px 0 16px 0;
    font-size: 12.5px;
    line-height: 1.55;
}

.popup-footer {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    height: auto;
    margin: 0;
}

.popup-footer button,
.popup-exit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    height: auto;
    line-height: 1.4;
    width: auto;
}

.popup-footer button:hover,
.popup-exit:hover {
    transform: translateY(-1px);
}

.popup-footer button em.icons,
.popup-exit em.icons {
    display: none;
}

.popup-footer .popup-print {
    border: none;
}

@media screen and (max-width: 800px) {
    .popup {
        width: 100%;
        max-width: 100%;
        margin: auto;
    }

    .popup-body {
        max-width: 100%;
        margin: 0;
    }

    .popup-content {
        padding: 18px 20px;
        max-height: 60vh;
    }
}

/* 2.4 Estrutura dos Avisos, Mensagens e Notificações */
#Msg,
.Msg {
    width: 100%;
    margin: 14px auto;
    text-align: center;
}

.Msg .loading {
    width: 22px;
    height: 22px;
    margin: 0 10px 0 0;
    vertical-align: middle;
    display: inline-block;
}

.msg-loading-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 9999px;
    border-width: 1px;
    border-style: solid;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.field-error {
    padding: 8px 12px;
    border-width: 1px;
    border-style: solid;
    border-left-width: 4px;
    border-radius: 0 0 8px 8px;
    margin: -4px 0 10px;
    font-size: 12px;
}

blockquote {
    position: relative;
    box-sizing: border-box;
    display: block;
    padding: 14px 40px 14px 44px;
    margin: 12px auto;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    border-width: 1px;
    border-style: solid;
    border-radius: 14px;
    text-align: left;
    backdrop-filter: blur(12px);
    word-break: break-word;
}

blockquote::before {
    font-family: "Material Icons";
    position: absolute;
    left: 14px;
    top: 13px;
    font-size: 20px;
    line-height: 1.2;
}

.error,
.info,
.success {
    border-radius: 14px;
    border-width: 1px;
    border-style: solid;
    vertical-align: middle;
    text-align: left;
}

.error::before {
    content: "error_outline";
}

.info::before {
    content: "info";
}

.success::before {
    content: "check_circle";
}

.msg-close {
    position: absolute;
    right: 10px;
    top: 12px;
    vertical-align: baseline;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    padding: 3px 7px;
    margin: 0;
    cursor: pointer;
    border: 0;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 2.5 Estrutura da Vitrine Clássica de Eventos (#events) */
#events {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    transition: 0.3s;
    margin: 10px;
    border-radius: 6px;
}

.card img {
    width: 100%;
}

.card img:hover {
    transform: scale(1.005);
}

#events .card .container {
    padding: 6px 16px;
}

#events .card h1 {
    font-size: 14px;
    margin: 10px 0;
    display: block;
    padding: 0 0 5px;
    line-height: 30px;
    font-size: 17px;
    text-transform: uppercase;
    text-align: center;
}

.sep {
    margin: 1rem auto;
    display: block;
    width: 20%;
    height: 6px;
    border-radius: 3px;
    transition: all 0.2s cubic-bezier(0.42, 0, 0.15, 1);
}

#events .card:hover .sep {
    width: 45%;
}

#events .card .data {
    float: left;
    margin: 0;
    display: block;
    padding: 0 0 5px;
    font-size: 12px;
    text-align: left;
    width: 49%;
    white-space: nowrap;
    text-transform: capitalize;
}

#events .card .status {
    float: right;
    margin: 0 0 10px 5px;
    padding: 5px 13px;
    text-align: center;
    font-style: italic;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    white-space: nowrap;
    border-width: 1px;
    border-style: solid;
}

#events .card .status:empty {
    display: none;
}

@media (max-width: 600px) {
    .card {
        margin: 10px 0;
    }

    #events .card .container {
        margin: 2px;
        padding: 2px;
        font-weight: normal;
        white-space: normal;
    }

    #events .card .data {
        margin: 2px;
        padding: 2px;
        font-size: 10px;
        font-weight: normal;
    }

    #events .card .status {
        margin: 2px;
        padding: 4px 2px;
        font-size: 10px;
        font-weight: normal;
        white-space: normal;
    }
}

/* 2.6 Regras Estruturais de Impressão */
.onlyPrint {
    display: none;
}

@media print {
    .noPrint {
        display: none !important;
    }

    .onlyPrint {
        display: block !important;
    }

    .popup {
        position: fixed;
        top: 0;
        border: none;
    }

    .popup-body {
        border: none;
    }

    .popup-title {
        display: none;
        border: none;
    }

    .popup-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        border: none;
    }

    .popup-footer {
        display: none;
        border: none;
    }
}
