/**
 * ABES Eventos - Estilos do Frontend
 * 
 * Sistema de temas (Light/Dark) e design de alto contraste.
 */

/* =============================================================================
   VARIÁVEIS CSS - SISTEMA DE TEMAS
   ============================================================================= */

/* Tema Light (Padrão) */
.sesma-schedule,
.sesma-schedule.theme-light {
    --schedule-bg: #f3f4f6;
    --card-bg: #ffffff;
    --card-border: rgba(15, 23, 42, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #4b5563;
    --text-muted: #64748b;
    --accent: #2563eb;

    /* Abas */
    --tab-bg: #e5e7eb;
    --tab-text: #4b5563;
    --tab-active-bg: #0f172a;
    --tab-active-text: #f9fafb;
    --tab-hover-bg: #d1d5db;
    --tab-hover-text: #111827;

    /* Timeline */
    --timeline-line: #cbd5e1;
    --timeline-dot-bg: #f1f5f9;

    /* Inputs */
    --input-bg: #ffffff;
    --input-border: #cbd5e1;
    --input-text: #0f172a;
    --input-placeholder: #94a3b8;

    /* Badges */
    --badge-bg-neutral: #f1f5f9;
    --badge-text-neutral: #475569;
}

/* Tema Dark */
.sesma-schedule.theme-dark {
    --schedule-bg: #050816;
    --card-bg: #0b1220;
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --accent: #22c55e;

    /* Abas */
    --tab-bg: #1e293b;
    --tab-text: #9ca3af;
    --tab-active-bg: #38bdf8;
    --tab-active-text: #0f172a;
    --tab-hover-bg: #334155;
    --tab-hover-text: #f1f5f9;

    /* Timeline */
    --timeline-line: #334155;
    --timeline-dot-bg: #1e293b;

    /* Inputs */
    --input-bg: #1e293b;
    --input-border: #334155;
    --input-text: #f9fafb;
    --input-placeholder: #64748b;

    /* Badges */
    --badge-bg-neutral: #1e293b;
    --badge-text-neutral: #cbd5e1;
}

/* =============================================================================
   ESTRUTURA PRINCIPAL
   ============================================================================= */

.sesma-schedule {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--schedule-bg);
    color: var(--text-primary);
    padding: 32px;
    border-radius: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sesma-schedule * {
    box-sizing: border-box;
}

/* =============================================================================
   NAVEGAÇÃO POR DIAS
   ============================================================================= */

.abes-dias-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--tab-active-bg) var(--schedule-bg);
}

.abes-dia-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    min-width: 90px;
    background: var(--tab-bg);
    color: var(--tab-text);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.abes-dia-btn:hover {
    background: var(--tab-hover-bg);
    color: var(--tab-hover-text);
    transform: translateY(-2px);
}

.abes-dia-btn.ativo {
    background: var(--tab-active-bg);
    color: var(--tab-active-text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.abes-dia-mes {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    opacity: 0.9;
}

.abes-dia-numero {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.abes-dia-sub-evento {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.15);
}

.abes-dia-btn:not(.ativo) .abes-dia-sub-evento {
    background: rgba(0, 0, 0, 0.05);
}

.abes-tipo-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}
.abes-tipo-filtro {
    padding: 8px 14px;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text-secondary);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.abes-tipo-filtro:hover { border-color: var(--accent); color: var(--accent); }
.abes-tipo-filtro.ativo { border-color: var(--accent); background: var(--accent); color: #fff; }

/* =============================================================================
   CABEÇALHO DO DIA E BUSCA
   ============================================================================= */

.abes-programacao-dia {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.abes-programacao-dia.ativo {
    display: block;
}

/* Quando estiver buscando, mostra todos os dias (JS vai filtrar) */
.abes-programacao.searching .abes-programacao-dia {
    display: block;
}

.abes-programacao.searching .abes-programacao-dia.hidden {
    display: none;
}

.abes-dia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.abes-dia-info {
    flex: 1;
}

.abes-dia-titulo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.abes-dia-subtitulo {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Campo de busca */
.abes-busca-container {
    width: 320px;
    max-width: 100%;
}

.abes-busca-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-family: inherit;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.abes-busca-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.abes-busca-input::placeholder {
    color: var(--input-placeholder);
}

/* =============================================================================
   TIMELINE E CARDS
   ============================================================================= */

.abes-timeline {
    position: relative;
    padding-left: 0;
}

.abes-timeline-item {
    display: flex;
    margin-bottom: 0;
    position: relative;
}

/* Coluna Horário */
.abes-timeline-horario {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    text-align: center;
}

.abes-timeline-icone {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--timeline-dot-bg);
    color: var(--text-secondary);
    border-radius: 50%;
    margin-bottom: 8px;
    font-size: 18px;
    z-index: 2;
    border: 2px solid var(--schedule-bg);
}

.abes-timeline-hora {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Linha Conectora */
.abes-timeline-linha {
    width: 2px;
    background: var(--timeline-line);
    margin: 0 24px;
    position: relative;
    flex-shrink: 0;
}

.abes-timeline-linha::before {
    content: '';
    position: absolute;
    top: 36px;
    left: -5px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--card-bg);
    box-shadow: 0 0 0 2px var(--accent);
}

.abes-timeline-item:last-child .abes-timeline-linha {
    background: linear-gradient(to bottom, var(--timeline-line) 40%, transparent);
}

/* Card de Conteúdo */
.abes-timeline-conteudo {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abes-timeline-conteudo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* =============================================================================
   DETALHES DA ATIVIDADE
   ============================================================================= */

.abes-badge-sub-evento {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    margin-bottom: 12px;
    background: var(--accent);
    color: #fff;
}

/* Variações de cor para badges */
.sub-evento-geral .abes-badge-sub-evento {
    background: #6366f1;
}

.sub-evento-sesma .abes-badge-sub-evento {
    background: #0891b2;
}

.sub-evento-abcmac .abes-badge-sub-evento {
    background: #059669;
}

.abes-atividade-titulo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.abes-atividade-participacao {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.abes-atividade-descricao {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Seção de Pessoas */
.abes-atividade-pessoas {
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
    margin-top: 16px;
}

.abes-pessoa-linha {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.abes-pessoa-label {
    width: 120px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-top: 2px;
}

.abes-pessoa-nome {
    color: var(--text-primary);
    font-weight: 500;
}

.abes-pessoa-lista {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.abes-atividade-local {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 6px 12px;
    background: var(--badge-bg-neutral);
    color: var(--badge-text-neutral);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* =============================================================================
   RESPONSIVIDADE
   ============================================================================= */

@media (max-width: 768px) {
    .sesma-schedule {
        padding: 16px;
    }

    .abes-dia-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .abes-busca-container {
        width: 100%;
    }

    .abes-timeline-item {
        flex-direction: column;
    }

    .abes-timeline-horario {
        flex-direction: row;
        width: 100%;
        padding: 0 0 12px 0;
        gap: 12px;
        align-items: center;
    }

    .abes-timeline-icone {
        margin-bottom: 0;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .abes-timeline-linha {
        display: none;
    }

    .abes-timeline-conteudo {
        margin-left: 0;
        padding: 20px;
    }

    .abes-pessoa-linha {
        flex-direction: column;
        gap: 2px;
    }

    .abes-pessoa-label {
        width: auto;
    }
}

/* =============================================================================
   ANIMAÇÕES
   ============================================================================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.abes-aviso {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

/* =============================================================================
   PALESTRANTES (CHIPS)
   ============================================================================= */

.abes-palestrantes-lista {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--card-border);
}

.abes-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.abes-palestrante-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--badge-bg-neutral);
    padding: 6px 16px 6px 6px;
    border-radius: 99px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.abes-palestrante-chip.has-modal {
    cursor: pointer;
}

.abes-palestrante-chip.has-modal:hover {
    background: var(--card-bg);
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.abes-palestrante-chip.has-modal:hover .abes-palestrante-nome {
    color: var(--accent);
}

.abes-palestrante-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abes-palestrante-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abes-avatar-placeholder {
    font-size: 18px;
}

.abes-palestrante-nome {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

/* =============================================================================
   MODAL DE PALESTRANTE
   ============================================================================= */

.abes-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Mais escuro para contraste */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    /* Blur mais intenso */
    opacity: 0;
    animation: fadeInModal 0.3s forwards;
}

@keyframes fadeInModal {
    to {
        opacity: 1;
    }
}

.abes-modal-content {
    background: #ffffff;
    /* Fundo branco puro para contraste */
    width: 100%;
    max-width: 540px;
    /* Levemente mais largo */
    border-radius: 20px;
    /* Bordas mais arredondadas */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* Sombra mais profunda */
    position: relative;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: none;
    /* Remove borda para look mais limpo */
}

/* Tema Dark - Ajuste do Modal */
.sesma-schedule.theme-dark .abes-modal-content {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abes-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    /* Hit area maior */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.abes-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.sesma-schedule.theme-dark .abes-modal-close:hover {
    background: #334155;
    color: #f8fafc;
}

.abes-modal-body {
    padding: 40px;
    /* Padding aumentado */
    overflow-y: auto;
}

.abes-modal-header-content {
    display: flex;
    align-items: center;
    gap: 32px;
    /* Espaço maior entre foto e texto */
    margin-bottom: 32px;
}

.abes-modal-foto {
    width: 120px;
    /* Foto maior */
    height: 120px;
    border-radius: 16px;
    /* Bordas arredondadas (squircle) */
    object-fit: cover;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.abes-modal-info {
    flex: 1;
}

.abes-modal-nome {
    font-size: 26px;
    /* Nome maior */
    font-weight: 800;
    color: #0f172a;
    /* Contraste máximo */
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.sesma-schedule.theme-dark .abes-modal-nome {
    color: #f8fafc;
}

.abes-modal-instituicao {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sesma-schedule.theme-dark .abes-modal-instituicao {
    color: #94a3b8;
}

.abes-modal-bio {
    font-size: 16px;
    line-height: 1.7;
    /* Leitura mais confortável */
    color: #334155;
    margin-bottom: 32px;
}

.sesma-schedule.theme-dark .abes-modal-bio {
    color: #cbd5e1;
}

.abes-modal-bio p {
    margin-bottom: 16px;
}

.abes-modal-bio p:last-child {
    margin-bottom: 0;
}

.abes-modal-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 0;
    /* Removido borda superior para look mais limpo */
    margin-top: 0;
}

.abes-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: #0284c7;
    /* Azul LinkedIn */
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.abes-btn-link:hover {
    color: #0369a1;
    text-decoration: underline;
    transform: none;
    background: transparent;
}

/* Ícone do LinkedIn via CSS (pseudo-element) se não tiver SVG inline */
.abes-btn-link[href*="linkedin"]::before {
    content: "in";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: currentColor;
    color: white;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
    padding-bottom: 2px;
    /* Ajuste visual */
}

@media (max-width: 480px) {
    .abes-modal-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .abes-modal-foto {
        width: 100px;
        height: 100px;
    }

    .abes-modal-links {
        justify-content: center;
    }

    .abes-modal-body {
        padding: 24px;
    }
}

/* Fixes for Moderator/Participants Display */
.abes-atividade-pessoas>.abes-palestrantes-lista:first-child {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.abes-atividade-pessoas .abes-pessoa-linha {
    margin-top: 24px;
}

/* =============================================================================
   FORMULÁRIO DE INSCRIÇÃO
   ============================================================================= */

.abes-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 960px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.abes-form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 40px 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.5px;
}

.abes-form-section-title:first-child {
    margin-top: 0;
}

.abes-form-row {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.abes-form-row--2col {
    grid-template-columns: 1fr 1fr;
}

.abes-form-row--3col {
    grid-template-columns: 1fr 1fr 1fr;
}

.abes-form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Utilitários de Grid */
.abes-span-2 {
    grid-column: span 2;
}

.abes-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #475569;
}

.abes-form-input,
.abes-form-select,
.abes-form-textarea,
.abes-form-file {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.2s ease;
    background-color: #fff;
    line-height: 1.5;
    height: 48px;
    /* Altura confortável */
}

.abes-form-textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.abes-form-file {
    padding: 10px;
    height: auto;
}

.abes-form-input:focus,
.abes-form-select:focus,
.abes-form-textarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.abes-form-input[readonly] {
    background-color: #f8fafc;
    color: #64748b;
    cursor: default;
    border-color: #e2e8f0;
}

.abes-form-help {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

.abes-form-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.abes-form-error::before {
    content: "⚠";
    font-size: 14px;
}

.abes-form-success {
    background: #dcfce7;
    color: #166534;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    text-align: center;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Notice / Aviso contextual */
.abes-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    margin-bottom: 28px;
    animation: abes-notice-in 0.3s ease;
}

@keyframes abes-notice-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.abes-notice--warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f;
}

.abes-notice__icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: #d97706;
}

.abes-notice__content {
    flex: 1;
    min-width: 0;
}

.abes-notice__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.4;
}

.abes-notice__text {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    color: #92400e;
}

.abes-form-actions {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    text-align: right;
}

/* Campo auxiliar antirobô: permanece fora da tela e da navegação por teclado. */
.abes-form-auxiliary {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.abes-atividade-especial {
    display: grid;
    gap: 7px;
    padding: 14px;
    margin: 12px 0 18px;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    background: var(--badge-bg-neutral);
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary);
}
.abes-atividade-especial span { display: block; }
.abes-atividade-especial strong { color: var(--text-primary); }
.abes-atividade-especial a {
    justify-self: start;
    padding: 7px 12px;
    border-radius: 7px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.abes-participant-profile {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.abes-participant-profile legend {
    margin-bottom: 9px;
}

.abes-participant-profile__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.abes-participant-profile__option {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 16px;
    background: #f8fbfe;
    border: 1px solid #d5e1ec;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.abes-participant-profile__option:hover {
    background: #fff;
    border-color: #93bbd7;
    box-shadow: 0 7px 18px rgba(7, 95, 168, .07);
}

.abes-participant-profile__option:has(input:checked) {
    background: #eef7fd;
    border-color: #2585c3;
    box-shadow: 0 0 0 3px rgba(37, 133, 195, .09);
}

.abes-participant-profile__option input {
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.abes-participant-profile__option span,
.abes-participant-profile__option strong,
.abes-participant-profile__option small {
    display: block;
}

.abes-participant-profile__option strong {
    color: #17304d;
    font-size: 14px;
}

.abes-participant-profile__option small {
    margin-top: 3px;
    color: #667990;
    font-size: 12px;
    line-height: 1.5;
}

.abes-profile-fields[hidden] {
    display: none !important;
}

.abes-form-button {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.abes-form-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 10px -1px rgba(37, 99, 235, 0.3);
}

.abes-form-button:active {
    transform: translateY(0);
}

.abes-form-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsividade */
@media (min-width: 768px) {
    .abes-form-button {
        width: auto;
    }
}

@media (max-width: 991px) {
    .abes-form-row {
        grid-template-columns: 1fr !important;
        /* Força 1 coluna em mobile/tablet */
        gap: 16px;
    }

    .abes-span-2 {
        grid-column: span 1;
    }

    .abes-form {
        padding: 24px;
    }

    .abes-form-section-title {
        margin-top: 32px;
    }

    .abes-participant-profile__options {
        grid-template-columns: 1fr;
    }
}

/* Integração Sympla */
.abes-sympla-registration-card {
    max-width: 720px;
    margin: 24px auto;
    padding: 28px;
    text-align: center;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.abes-sympla-registration-card h3 {
    margin-top: 0;
}

.abes-sympla-registration-card .abes-form-button {
    display: inline-block;
    text-decoration: none;
}
