/* =================================================================
   events.css — Estilos específicos do antigo /eventos/creator/
   migrados para /creators/. Todas as regras estão escopadas sob
   .ev-scope (aplicado nas views ev_*) para evitar conflito com
   o CSS de /creators/. Modais usam classes com prefixo .ev-modal-*
   e IDs com prefixo ev_modal* (sobrem do .ev-scope mas vivem no
   body root, então usam prefixos por nome).
   ================================================================= */

/* ===== TÍTULO DA VIEW ===== */
.ev-scope .ev-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 12px;
}
.ev-scope .ev-view-header h1 { font-size: 1.8rem; font-weight: 700; color: var(--dark, #1E293B); margin: 0; }
.ev-scope .ev-view-header p  { color: var(--text-light, #64748B); margin: 4px 0 0; font-size: 0.95rem; }

/* ===== BOTÃO CRIAR EVENTO ===== */
.ev-scope .ev-btn-create {
    background: var(--primary, #4F46E5);
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    font-family: inherit;
}
.ev-scope .ev-btn-create:hover { background: var(--primary-dark, #4338CA); transform: translateY(-1px); }

/* ===== CARDS ===== */
.ev-scope .ev-card {
    background: #FFFFFF;
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.ev-scope .ev-card h2 { font-size: 1.15rem; font-weight: 700; color: var(--dark, #1E293B); }

/* ===== STAT BOXES ===== */
.ev-scope .ev-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.ev-scope .ev-stat-box {
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.ev-scope .ev-stat-box:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(99,102,241,0.08); }
.ev-scope .ev-stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 10px; }
.ev-scope .ev-stat-box h3 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light, #64748B); font-weight: 700; margin: 0 0 4px; }
.ev-scope .ev-stat-box p { font-size: 1.6rem; font-weight: 800; color: var(--dark, #1E293B); margin: 0; }

.ev-scope .ev-stat-mini-chart { display: flex; gap: 3px; align-items: flex-end; margin-top: 10px; height: 22px; }
.ev-scope .ev-stat-mini-chart .ev-bar { flex: 1; background: rgba(99,102,241,0.22); border-radius: 2px; min-height: 4px; transition: background 0.2s; }

/* ===== QUICK ACTIONS ===== */
.ev-scope .ev-quick-action {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border: 1px solid var(--border, #E2E8F0); border-radius: 10px;
    background: #fff; cursor: pointer; text-align: left;
    transition: all 0.2s; width: 100%; font-family: inherit;
}
.ev-scope .ev-quick-action:hover { border-color: var(--primary, #4F46E5); transform: translateX(2px); box-shadow: 0 4px 12px rgba(99,102,241,0.08); }
.ev-scope .ev-qa-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.ev-scope .ev-qa-text { flex: 1; min-width: 0; }
.ev-scope .ev-qa-text strong { display: block; color: var(--dark, #1E293B); font-size: 0.9rem; font-weight: 600; }
.ev-scope .ev-qa-text span { color: var(--text-light, #64748B); font-size: 0.78rem; }
.ev-scope .ev-qa-chev { color: var(--text-light, #94A3B8); font-size: 0.85rem; }
.ev-scope .ev-quick-action:hover .ev-qa-chev { color: var(--primary, #4F46E5); }

/* ===== PRÓXIMO EVENTO ITEM ===== */
.ev-scope .ev-upcoming-event-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 10px; transition: background 0.15s; cursor: pointer; }
.ev-scope .ev-upcoming-event-item:hover { background: var(--bg-soft, #F8FAFC); }
.ev-scope .ev-upcoming-event-item + .ev-upcoming-event-item { margin-top: 4px; border-top: 1px solid var(--border, #E2E8F0); padding-top: 14px; }
.ev-scope .ev-upcoming-date { background: var(--primary-light, #EEF2FF); color: var(--primary, #4F46E5); border-radius: 10px; padding: 8px 10px; text-align: center; min-width: 56px; flex-shrink: 0; }
.ev-scope .ev-upcoming-date .day { font-size: 1.25rem; font-weight: 800; line-height: 1; display: block; }
.ev-scope .ev-upcoming-date .month { font-size: 0.65rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; margin-top: 2px; display: block; }
.ev-scope .ev-upcoming-info { flex: 1; min-width: 0; }
.ev-scope .ev-upcoming-info .title { font-weight: 600; color: var(--dark, #1E293B); font-size: 0.92rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-scope .ev-upcoming-info .meta { font-size: 0.76rem; color: var(--text-light, #64748B); display: flex; gap: 12px; }
.ev-scope .ev-upcoming-info .meta i { margin-right: 3px; }
.ev-scope .ev-upcoming-cd { background: linear-gradient(135deg, var(--primary-light, #EEF2FF), #f3f4ff); color: var(--primary, #4F46E5); font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }

/* ===== EVENT LIST TABLE ===== */
.ev-scope .ev-event-list-header {
    display: grid; grid-template-columns: 3fr 1fr 1fr 1fr;
    padding: 10px 12px; border-bottom: 2px solid var(--border, #E2E8F0);
    color: var(--text-light, #64748B); font-size: 0.8rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px;
}
.ev-scope .ev-event-item { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; padding: 14px 12px; background: #fff; border-radius: 10px; align-items: center; margin-bottom: 4px; transition: 0.2s; border: 1px solid transparent; }
.ev-scope .ev-event-item:hover { background: var(--primary-light, #EEF2FF); border-color: var(--border, #E2E8F0); }

.ev-scope .ev-status-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.ev-scope .ev-status-live { background: rgba(79, 70, 229, 0.1); color: var(--primary, #4F46E5); }
.ev-scope .ev-status-scheduled { background: rgba(100, 116, 139, 0.1); color: var(--text-light, #64748B); }

/* ===== BUTTONS (escopados) ===== */
.ev-scope .ev-btn-outline {
    background: transparent; border: 1px solid var(--border, #E2E8F0);
    color: var(--text-light, #64748B); padding: 7px 14px;
    border-radius: 8px; cursor: pointer; margin-right: 5px;
    font-size: 0.8rem; text-decoration: none; transition: all 0.2s;
    font-family: inherit;
}
.ev-scope .ev-btn-outline:hover { background: var(--primary-light, #EEF2FF); border-color: var(--primary, #4F46E5); color: var(--primary, #4F46E5); }

.ev-scope .ev-btn-primary {
    background: var(--primary, #4F46E5); border: none; color: #fff;
    padding: 9px 18px; border-radius: 10px; cursor: pointer;
    font-weight: 600; font-size: 0.9rem; transition: background 0.2s;
    font-family: inherit;
}
.ev-scope .ev-btn-primary:hover { background: var(--primary-dark, #4338CA); }

.ev-scope .ev-btn-secondary {
    background: #F8FAFC; border: 1px solid var(--border, #E2E8F0);
    color: var(--text-light, #64748B); padding: 9px 18px;
    border-radius: 10px; cursor: pointer; font-weight: 500;
    font-size: 0.9rem; transition: all 0.2s; font-family: inherit;
}
.ev-scope .ev-btn-secondary:hover { background: #F1F5F9; color: var(--dark, #1E293B); }

/* ===== FORM CONTROL (escopado) ===== */
.ev-scope .ev-form-group { margin-bottom: 16px; }
.ev-scope .ev-form-group label { display: block; margin-bottom: 6px; color: var(--text-light, #64748B); font-size: 0.85rem; font-weight: 500; }
.ev-scope .ev-form-control,
.ev-modal-dialog .ev-form-control {
    width: 100%; padding: 10px 14px; border-radius: 10px;
    border: 1px solid var(--border, #E2E8F0); background: #FFFFFF;
    color: var(--dark, #1E293B); outline: none; font-size: 0.9rem;
    font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.ev-scope .ev-form-control:focus,
.ev-modal-dialog .ev-form-control:focus { border-color: var(--primary, #4F46E5); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }

/* ===== PROFILE AVATAR (event scope) ===== */
.ev-scope .ev-profile-avatar-container { position: relative; width: 100px; height: 100px; margin: 0 auto 1rem; cursor: pointer; }
.ev-scope .ev-profile-avatar {
    width: 100%; height: 100%;
    background-color: var(--primary-light, #EEF2FF);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--primary, #4F46E5);
    border: 3px solid var(--border, #E2E8F0);
    background-size: cover; background-position: center; overflow: hidden;
}
.ev-scope .ev-profile-avatar.has-image i { display: none; }
.ev-scope .ev-avatar-overlay {
    position: absolute; inset: 0;
    background: rgba(79, 70, 229, 0.7); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem; opacity: 0;
    transition: 0.2s; border: 3px solid transparent;
}
.ev-scope .ev-profile-avatar-container:hover .ev-avatar-overlay { opacity: 1; }

/* ===== REQUIREMENT TOGGLES (Modal de Gerenciar) ===== */
.ev-modal-dialog .req-toggle { display: flex; align-items: center; justify-content: space-between; background: #FFFFFF; border: 1px solid var(--border, #E2E8F0); border-radius: 12px; padding: 16px; margin-bottom: 12px; transition: 0.2s; }
.ev-modal-dialog .req-toggle.active { border-color: var(--primary, #4F46E5); background: var(--primary-light, #EEF2FF); }
.ev-modal-dialog .req-toggle-info { flex: 1; }
.ev-modal-dialog .req-toggle-info h4 { margin: 0 0 4px; color: var(--dark, #1E293B); font-size: 0.95rem; }
.ev-modal-dialog .req-toggle-info p { margin: 0; color: var(--text-light, #64748B); font-size: 0.8rem; }
.ev-modal-dialog .req-config-fields { margin-top: 12px; padding: 14px; background: #F8FAFC; border: 1px solid var(--border, #E2E8F0); border-radius: 10px; display: none; }
.ev-modal-dialog .req-toggle.active .req-config-fields { display: block; }
.ev-modal-dialog .req-config-fields label { font-size: 0.8rem; color: var(--text-light, #64748B); display: block; margin-bottom: 4px; margin-top: 10px; }
.ev-modal-dialog .req-config-fields label:first-child { margin-top: 0; }
.ev-modal-dialog .req-config-fields input,
.ev-modal-dialog .req-config-fields select,
.ev-modal-dialog .req-config-fields textarea {
    width: 100%; padding: 9px 12px; border-radius: 8px;
    border: 1px solid var(--border, #E2E8F0); background: #FFFFFF;
    color: var(--dark, #1E293B); font-size: 0.85rem; font-family: inherit;
}
.ev-modal-dialog .req-config-fields input:focus,
.ev-modal-dialog .req-config-fields select:focus,
.ev-modal-dialog .req-config-fields textarea:focus { border-color: var(--primary, #4F46E5); outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }

.ev-modal-dialog .switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.ev-modal-dialog .switch input { opacity: 0; width: 0; height: 0; }
.ev-modal-dialog .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #CBD5E1; border-radius: 24px; transition: 0.3s; }
.ev-modal-dialog .slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.ev-modal-dialog .switch input:checked + .slider { background: var(--primary, #4F46E5); }
.ev-modal-dialog .switch input:checked + .slider:before { transform: translateX(20px); }

/* ===== PARTICIPANT STATUS TABLE ===== */
.ev-modal-dialog .participants-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.ev-modal-dialog .participants-table th { text-align: left; padding: 12px 10px; color: var(--text-light, #64748B); font-weight: 600; border-bottom: 2px solid var(--border, #E2E8F0); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; }
.ev-modal-dialog .participants-table td { padding: 12px 10px; border-bottom: 1px solid var(--border, #E2E8F0); }
.ev-modal-dialog .participants-table tr:hover td { background: #F8FAFC; }

.ev-modal-dialog .status-pill,
.ev-scope .status-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.status-pill.ok { background: rgba(16, 185, 129, 0.1); color: #059669; }
.status-pill.pending { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.status-pill.rejected { background: rgba(239, 68, 68, 0.1); color: #DC2626; }

.ev-modal-dialog .btn-sm,
.ev-scope .btn-sm { padding: 5px 10px; font-size: 0.75rem; border-radius: 6px; cursor: pointer; border: none; font-family: inherit; transition: all 0.2s; }
.btn-sm.approve { background: rgba(16, 185, 129, 0.1); color: #059669; }
.btn-sm.approve:hover { background: rgba(16, 185, 129, 0.2); }
.btn-sm.reject { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.btn-sm.reject:hover { background: rgba(239, 68, 68, 0.2); }
.btn-sm.override { background: rgba(79, 70, 229, 0.1); color: var(--primary, #4F46E5); }
.btn-sm.override:hover { background: rgba(79, 70, 229, 0.2); }

/* ===== QR CHECK-IN PANEL ===== */
.ev-modal-dialog .qr-panel { text-align: center; padding: 20px; }
.ev-modal-dialog .qr-panel img { max-width: 250px; border-radius: 14px; margin: 15px auto; display: block; border: 3px solid var(--primary, #4F46E5); box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15); }
.ev-modal-dialog .qr-timer { font-size: 1.5rem; font-weight: 700; color: var(--primary, #4F46E5); margin: 10px 0; font-variant-numeric: tabular-nums; }
.ev-modal-dialog .qr-controls { display: flex; gap: 10px; justify-content: center; margin-top: 15px; flex-wrap: wrap; }

/* ===== TOAST (eventos) ===== */
.ev-toast-creator {
    position: fixed; bottom: 30px; right: 30px; padding: 14px 24px;
    border-radius: 12px; color: #fff; font-weight: 600; z-index: 9999;
    animation: evFadeIn 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: inherit;
}
@keyframes evFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SUBMISSION REVIEW (Modal de Gerenciar) ===== */
.ev-modal-dialog .submission-card { background: #FFFFFF; border: 1px solid var(--border, #E2E8F0); border-radius: 12px; padding: 16px; margin-bottom: 12px; transition: box-shadow 0.2s; }
.ev-modal-dialog .submission-card:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.ev-modal-dialog .submission-card .meta { font-size: 0.8rem; color: var(--text-light, #64748B); margin-bottom: 10px; }
.ev-modal-dialog .submission-card .content { color: var(--dark, #1E293B); margin-bottom: 12px; }
.ev-modal-dialog .submission-card .actions { display: flex; gap: 8px; }

/* ===== TABS (Modal de Gerenciar) ===== */
.ev-modal-dialog .tab-bar { display: flex; gap: 6px; margin-bottom: 22px; overflow-x: auto; padding-bottom: 5px; border-bottom: 2px solid var(--border, #E2E8F0); }
.ev-modal-dialog .tab-bar button { white-space: nowrap; flex-shrink: 0; font-family: inherit; border: none; padding: 10px 16px; border-radius: 8px 8px 0 0; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s; background: transparent; color: var(--text-light, #64748B); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.ev-modal-dialog .tab-bar button.ev-tab-active { background: transparent; color: var(--primary, #4F46E5); border-bottom: 2px solid var(--primary, #4F46E5); font-weight: 600; }
.ev-modal-dialog .tab-bar button:hover { color: var(--primary, #4F46E5); background: var(--primary-light, #EEF2FF); }

/* ===== MODAIS (vivem no body root) ===== */
.ev-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px); z-index: 1000;
    align-items: center; justify-content: center;
}
.ev-modal-dialog {
    background: #FFFFFF; border: 1px solid var(--border, #E2E8F0);
    width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto;
    border-radius: 16px; padding: 28px; position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark, #1E293B);
}
.ev-modal-dialog .form-group { margin-bottom: 16px; }
.ev-modal-dialog .form-group label { display: block; margin-bottom: 6px; color: var(--text-light, #64748B); font-size: 0.85rem; font-weight: 500; }
.ev-modal-dialog .form-control {
    width: 100%; padding: 10px 14px; border-radius: 10px;
    border: 1px solid var(--border, #E2E8F0); background: #FFFFFF;
    color: var(--dark, #1E293B); outline: none; font-size: 0.9rem;
    font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.ev-modal-dialog .form-control:focus { border-color: var(--primary, #4F46E5); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }
.ev-modal-dialog .modal-title { font-size: 1.4rem; margin: 0 0 20px; color: var(--dark, #1E293B); font-weight: 700; }
.ev-modal-dialog .close-modal { position: absolute; top: 16px; right: 16px; color: var(--text-light, #64748B); cursor: pointer; font-size: 1.1rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: background 0.2s; }
.ev-modal-dialog .close-modal:hover { background: #F1F5F9; color: var(--dark, #1E293B); }
.ev-modal-dialog .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.ev-modal-dialog .btn-primary {
    background: var(--primary, #4F46E5); border: none; color: #fff;
    padding: 9px 18px; border-radius: 10px; cursor: pointer;
    font-weight: 600; font-size: 0.9rem; transition: background 0.2s;
    font-family: inherit;
}
.ev-modal-dialog .btn-primary:hover { background: var(--primary-dark, #4338CA); }
.ev-modal-dialog .btn-secondary {
    background: #F8FAFC; border: 1px solid var(--border, #E2E8F0);
    color: var(--text-light, #64748B); padding: 9px 18px;
    border-radius: 10px; cursor: pointer; font-weight: 500;
    font-size: 0.9rem; transition: all 0.2s; font-family: inherit;
}
.ev-modal-dialog .btn-secondary:hover { background: #F1F5F9; color: var(--dark, #1E293B); }
.ev-modal-dialog .btn-outline {
    background: transparent; border: 1px solid var(--border, #E2E8F0);
    color: var(--text-light, #64748B); padding: 7px 14px;
    border-radius: 8px; cursor: pointer; margin-right: 5px;
    font-size: 0.8rem; text-decoration: none; transition: all 0.2s;
    font-family: inherit;
}
.ev-modal-dialog .btn-outline:hover { background: var(--primary-light, #EEF2FF); border-color: var(--primary, #4F46E5); color: var(--primary, #4F46E5); }

/* ===== TAB STATE (Financeiro de Eventos / unificado) ===== */
.ev-tab-bar {
    display: flex; gap: 6px; margin-bottom: 22px;
    overflow-x: auto; padding-bottom: 5px;
    border-bottom: 2px solid var(--border, #E2E8F0);
}
.ev-tab-bar button {
    white-space: nowrap; flex-shrink: 0; font-family: inherit;
    border: none; padding: 10px 16px; border-radius: 8px 8px 0 0;
    font-size: 0.85rem; font-weight: 500; cursor: pointer;
    transition: all 0.2s; background: transparent;
    color: var(--text-light, #64748B);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.ev-tab-bar button.ev-tab-active {
    background: transparent; color: var(--primary, #4F46E5);
    border-bottom: 2px solid var(--primary, #4F46E5); font-weight: 600;
}
.ev-tab-bar button:hover { color: var(--primary, #4F46E5); background: var(--primary-light, #EEF2FF); }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .ev-scope .ev-view-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .ev-scope .ev-view-header h1 { font-size: 1.3rem; }
    .ev-scope .ev-stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .ev-scope .ev-event-list-header,
    .ev-scope .ev-event-item { grid-template-columns: 2fr 1fr 1fr; font-size: 0.85rem; padding: 8px 6px; }
    .ev-scope .ev-event-list-header div:last-child,
    .ev-scope .ev-event-item div:last-child { display: none; }
    .ev-scope .ev-card { padding: 14px; }
    .ev-modal-dialog { width: 95% !important; max-width: 95% !important; padding: 18px !important; max-height: 85vh !important; }
    .ev-modal-dialog .modal-title { font-size: 1.2rem; }
    .ev-modal-dialog .tab-bar { gap: 4px; }
    .ev-modal-dialog .tab-bar button { font-size: 0.75rem; padding: 8px 10px; }
    .ev-modal-dialog .participants-table { font-size: 0.75rem; }
    .ev-modal-dialog .participants-table th,
    .ev-modal-dialog .participants-table td { padding: 8px 4px; }
    .ev-scope #studio-events-grid { grid-template-columns: 1fr !important; }
    .ev-modal-dialog .qr-panel img { max-width: 200px; }
    .ev-modal-dialog .submission-card { padding: 12px; }
    .ev-modal-dialog .submission-card .meta { font-size: 0.75rem; }
    .ev-modal-dialog .req-toggle { padding: 12px; flex-wrap: wrap; }
    .ev-modal-dialog .req-toggle-info h4 { font-size: 0.85rem; }
    .ev-modal-dialog .req-toggle-info p { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .ev-scope .ev-stat-box p { font-size: 1.4rem; }
    .ev-scope .ev-event-list-header,
    .ev-scope .ev-event-item { grid-template-columns: 1fr 1fr; }
    .ev-scope .ev-event-list-header div:nth-child(2),
    .ev-scope .ev-event-item div:nth-child(2) { display: none; }
    .ev-modal-dialog .tab-bar button { font-size: 0.7rem; padding: 6px 8px; }
    .ev-modal-dialog .tab-bar button i { display: none; }
}

/* =================================================================
   WIZARD DE CRIAÇÃO DE EVENTO (ev_modalEvent reformulado)
   ================================================================= */

.ev-wizard .modal-title { margin-bottom: 6px; }

/* Indicador de progresso (4 chips numerados + barras) */
.ev-wizard-steps {
    display: flex; align-items: center;
    gap: 6px; margin: 4px 0 22px;
    padding: 0 4px;
}
.ev-wstep {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; flex-shrink: 0;
}
.ev-wstep-dot {
    width: 32px; height: 32px; border-radius: 50%;
    background: #F1F5F9; color: #94A3B8;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
    border: 2px solid #E2E8F0;
    transition: all 0.2s;
}
.ev-wstep-label {
    font-size: 0.7rem; color: #94A3B8;
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em; white-space: nowrap;
}
.ev-wstep.active .ev-wstep-dot {
    background: var(--primary, #4F46E5); color: #fff;
    border-color: var(--primary, #4F46E5);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}
.ev-wstep.active .ev-wstep-label { color: var(--primary, #4F46E5); }
.ev-wstep.done .ev-wstep-dot {
    background: #10B981; color: #fff;
    border-color: #10B981;
}
.ev-wstep.done .ev-wstep-dot::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
}
.ev-wstep.done .ev-wstep-dot {
    font-size: 0; /* esconde o número e mostra só o check */
}
.ev-wstep.done .ev-wstep-dot::before { font-size: 0.85rem; }
.ev-wstep-bar {
    flex: 1; height: 2px;
    background: #E2E8F0;
    margin-top: 14px; /* alinha com o centro dos dots */
    transition: background 0.2s;
}
.ev-wstep-bar.done { background: #10B981; }

/* Intro de cada passo */
.ev-wstep-intro {
    color: var(--text-light, #64748B);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 18px;
    padding: 12px 14px;
    background: #F8FAFC;
    border-radius: 10px;
    border-left: 3px solid var(--primary, #4F46E5);
}

/* Indicador de campo obrigatório */
.ev-req {
    color: #EF4444;
    font-weight: 700;
    margin-left: 2px;
}

/* Dica abaixo do campo (azulada, ícone integrado) */
.ev-hint {
    font-size: 0.78rem;
    color: var(--text-light, #64748B);
    margin-top: 6px;
    line-height: 1.4;
    display: flex; align-items: flex-start; gap: 6px;
}
.ev-hint i { color: var(--primary, #4F46E5); margin-top: 2px; flex-shrink: 0; }

/* Mensagem de erro inline (substitui o alert) */
.ev-error {
    display: none;
    color: #DC2626;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 6px;
    padding: 6px 10px;
    background: #fef2f2;
    border-left: 3px solid #EF4444;
    border-radius: 4px;
}
.ev-error.show { display: block; }
.form-control.ev-invalid {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}

/* Toggle visual de Gratuito vs Pago */
.ev-pricing-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.ev-pricing-opt {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 18px 12px;
    background: #fff;
    border: 2px solid var(--border, #E2E8F0);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
}
.ev-pricing-opt i {
    font-size: 1.4rem;
    color: var(--text-light, #94A3B8);
    margin-bottom: 4px;
}
.ev-pricing-opt strong {
    color: var(--dark, #1E293B);
    font-size: 0.95rem;
    font-weight: 700;
}
.ev-pricing-opt small {
    color: var(--text-light, #64748B);
    font-size: 0.75rem;
}
.ev-pricing-opt:hover {
    border-color: var(--primary, #4F46E5);
    background: #FAFAFE;
}
.ev-pricing-opt.active {
    border-color: var(--primary, #4F46E5);
    background: var(--primary-light, #EEF2FF);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.ev-pricing-opt.active i,
.ev-pricing-opt.active strong { color: var(--primary, #4F46E5); }

/* Card de revisão (step 4) */
.ev-review-card {
    background: #F8FAFC;
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 12px;
    padding: 18px;
}
.ev-review-row {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border, #E2E8F0);
    gap: 16px;
    font-size: 0.88rem;
}
.ev-review-row:last-child { border-bottom: 0; }
.ev-review-row .ev-review-label {
    color: var(--text-light, #64748B);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.ev-review-row .ev-review-value {
    color: var(--dark, #1E293B);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}
.ev-review-value .ev-empty {
    color: var(--text-light, #94A3B8);
    font-style: italic;
}
.ev-review-badge {
    display: inline-block;
    padding: 3px 10px; border-radius: 12px;
    font-size: 0.74rem; font-weight: 700;
}
.ev-review-badge.free { background: #ecfdf5; color: #047857; }
.ev-review-badge.paid { background: #eef2ff; color: #4F46E5; }

/* Barra de ações do wizard */
.ev-wizard-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border, #E2E8F0);
    padding-top: 16px;
    margin-top: 22px;
}

/* Responsivo: chips menores + barra de ações empilhada */
@media (max-width: 600px) {
    .ev-wstep-label { display: none; }
    .ev-wstep-dot { width: 28px; height: 28px; font-size: 0.8rem; }
    .ev-wstep-bar { margin-top: 12px; }
    .ev-pricing-toggle { grid-template-columns: 1fr; }
    .ev-wizard-actions { gap: 6px; }
    .ev-wizard-actions .btn-primary,
    .ev-wizard-actions .btn-secondary { padding: 8px 12px; font-size: 0.82rem; }
}
