/* tokens, reset e base do body vêm de base.css.
   Aqui só o que esta página muda em relação ao padrão. */
:root {
    --radius:  10px;
    --shadow:  0 10px 30px rgba(0,0,0,.12);
}

body {
    background: var(--dark);
    min-height: 100vh;
    padding: 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-height: 70px;
    width: auto;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--brand);
}

.login-form h2 {
    font-family: 'Barlow Condensed', sans-serif;
    text-align: center;
    margin-bottom: 26px;
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--mid);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Barlow', sans-serif;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(232,82,42,.14);
    background: #fff;
}

.btn-consultar, .btn-voltar, .btn-nova-consulta {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-consultar {
    background: var(--brand);
    color: white;
}

.btn-consultar:hover {
    background: var(--brand-d);
    transform: translateY(-1px);
}

.btn-voltar, .btn-nova-consulta {
    background: #6c757d;
    color: white;
}

.btn-voltar:hover, .btn-nova-consulta:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.error-message {
    background: var(--err);
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin: 14px 0;
    text-align: center;
    font-weight: 600;
}

.inscricoes-container {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.inscricoes-title {
    font-family: 'Barlow Condensed', sans-serif;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.inscricoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
    margin-bottom: 36px;
}

.inscricao-card {
    background: white;
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.04);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}

.inscricao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand);
}

.inscricao-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

.card-header {
    margin-bottom: 16px;
}

.evento-nome {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.25;
}

.evento-data {
    color: var(--brand-d);
    font-weight: 600;
    font-size: 1rem;
}

.card-content {
    margin-bottom: 18px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--muted);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.info-value {
    color: var(--dark);
    font-weight: 500;
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.valor-destaque {
    color: var(--ok);
    font-weight: 700;
    font-size: 1.05rem;
}

.modalidade-badge {
    background: var(--brand);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
}

/* Badges de status (usadas dinamicamente via status-${STATUS.toLowerCase()}) */
.status-aprovado, .status-pago, .status-confirmado {
    color: var(--ok);
    font-weight: 700;
}

.status-pendente {
    color: var(--warn);
    font-weight: 700;
}

.status-cancelado, .status-rejeitado, .status-recusado {
    color: var(--err);
    font-weight: 700;
}

.btn-comprovante {
    width: 100%;
    padding: 11px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .2s;
    font-size: 14px;
}

.btn-comprovante:hover {
    background: var(--brand-d);
}

.no-inscricoes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 55px 20px;
    background: white;
    border-radius: 14px;
    color: var(--muted);
    font-size: 1.1rem;
}

.no-inscricoes::before {
    content: '📝';
    display: block;
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.btn-nova-consulta {
    max-width: 280px;
    margin: 16px auto;
    display: block;
}

/* rodapé (.footer/.bible-verse) vem de base.css */

@media (max-width: 768px) {
    .inscricoes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .inscricoes-title {
        font-size: 1.7rem;
    }

    .inscricao-card {
        padding: 18px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .info-value {
        text-align: left;
        margin-left: 0;
    }
}