/* ============================================================
 * SECCIÓN: Información del Evento (evento-card)
 * Estilos para la tarjeta de resumen informativo del evento
 * ============================================================ */

.evento-card {
    border: 1px solid #ecd7d9;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.evento-header {
    background: linear-gradient(115deg, #4a1116, #b3262d);
    color: #fff;
    padding: 1rem 1.5rem;
}

.evento-header h5 {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.evento-body {
    padding: 1.5rem;
}

.evento-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #495057;
}

.evento-item i {
    font-size: 1.1rem;
    color: #ba424b;
    margin-top: 2px;
}

.evento-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6c757d;
    display: block;
    margin-bottom: 2px;
}

.evento-value {
    font-weight: 600;
    color: #2c2c2c;
}

.evento-link {
    text-decoration: none;
}

.evento-link:hover .evento-value {
    color: #ba424b;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .evento-body {
        padding: 1rem;
    }
}


/* ============================================================
 * SECCIÓN: Gestionar Encuentro (encuentro-header)
 * ============================================================ */

.encuentro-header-card {
    border: none;
    border-radius: 0px;
    background: linear-gradient(135deg, #3b0d11 0%, #7a1a1f 50%, #b3262d 100%);
    box-shadow: 0 8px 32px rgba(74, 17, 22, 0.22);
    overflow: hidden;
    padding: 0;
    margin-bottom: 0.5rem;
}

.encuentro-header-body {
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.encuentro-header-icon {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
    line-height: 1;
}

.encuentro-header-texto {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.encuentro-header-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.encuentro-descripcion-wrap {
    padding: 0 15px;
}

.encuentro-descripcion-card {
    margin: 0.75rem 0 0;
    border: 1px solid #ecd7d9;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.9rem 1rem;
}

.encuentro-descripcion-text {
    color: #4f5966;
    font-size: 0.94rem;
    line-height: 1.55;
    font-weight: 400;
    /* white-space: pre-line; */
    text-wrap: pretty;
}

.encuentro-descripcion-text.is-empty {
    color: #8a94a3;
    font-style: italic;
}

@media (max-width: 576px) {
    .encuentro-header-body {
        padding: 1rem 1.2rem;
        gap: 0.8rem;
    }

    .encuentro-header-icon {
        font-size: 1.6rem;
    }

    .encuentro-header-titulo {
        font-size: 1.05rem;
    }

    .encuentro-descripcion-card {
        padding: 0.75rem 0.8rem;
    }

    .encuentro-descripcion-text {
        font-size: 0.92rem;
        line-height: 1.55;
    }
}

/* ============================================================
 * SECCIÓN: Asistencias
 * ============================================================ */


.asistencia-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.4rem;
}

.asistencia-actions .export-actions {
    display: inline-flex;
    gap: 0.35rem;
}

.asistencia-actions .btn {
    border-radius: 0.45rem;
    font-weight: 600;
    letter-spacing: 0.15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.asistencia-actions .import-action {
    margin-left: 0.4rem;
    padding-inline: 0.9rem;
}

.import-modal-content {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(18, 32, 46, 0.2);
}

.import-modal-header {
    background: linear-gradient(180deg, #f8fafd 0%, #f2f6fb 100%);
    border-bottom: 1px solid #e2eaf2;
    padding: 0.95rem 1.1rem;
}

.import-modal-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    color: #29323d;
    margin: 0;
}

.import-modal-title i {
    color: #1d77d3;
}

.import-modal-body {
    padding: 1rem 1.1rem 0.6rem;
}

.import-modal-label {
    font-weight: 600;
    color: #3e4a56;
}

.import-modal-input {
    display: block;
    width: 100%;
    border: 1px dashed #b8c7d8;
    border-radius: 0.55rem;
    padding: 0.55rem 0.65rem;
    background: #f9fbfe;
}

.import-modal-help {
    margin-top: 0.65rem;
    color: #5a6672;
    line-height: 1.45;
}

.import-modal-templates {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.import-template-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.84rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid #cfe0f2;
    border-radius: 999px;
    background: #f3f8ff;
    color: #1d5fa5;
    text-decoration: none;
}

.import-template-link:hover {
    color: #174d86;
    text-decoration: none;
    background: #e9f2ff;
}

.import-modal-footer {
    border-top: 1px solid #e2eaf2;
    padding: 0.8rem 1.1rem 1rem;
    gap: 0.5rem;
}

.import-btn-cancel,
.import-btn-submit {
    border-radius: 0.45rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding-inline: 0.85rem;
}

.import-btn-submit i {
    margin-right: 0.2rem;
}

@media (max-width: 768px) {
    .asistencia-actions {
        justify-content: center;
    }

    .asistencia-actions .export-actions,
    .asistencia-actions .import-action {
        width: 100%;
    }

    .asistencia-actions .export-actions .btn,
    .asistencia-actions .import-action {
        width: 100%;
    }

    .asistencia-actions .import-action {
        margin-left: 0;
    }

    .import-modal-footer .btn {
        width: 100%;
        margin-left: 0 !important;
    }
}