.soportes-masivo-contenedor {
    margin-top: 15px;
}

.soportes-masivo-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.soportes-masivo-cabecera {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
}

.soportes-masivo-titulo {
    margin: 0;
    font-weight: 700;
}

.soportes-masivo-subtitulo {
    margin: 6px 0 0 0;
    color: #64748b;
}

.soportes-masivo-acciones-superiores {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.soportes-masivo-ayuda {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    color: #475569;
}

.soportes-masivo-ayuda p {
    margin: 0 0 6px 0;
}

.soportes-masivo-ayuda p:last-child {
    margin-bottom: 0;
}

.soportes-masivo-pasos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.soportes-masivo-paso {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 13px;
    background: #ffffff;
    color: #64748b;
}

.soportes-masivo-paso-numero {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #334155;
    font-weight: 800;
}

.soportes-masivo-paso-titulo {
    font-weight: 700;
    color: #334155;
    line-height: 1.1;
}

.soportes-masivo-paso-texto {
    font-size: 12px;
    margin-top: 3px;
}

.soportes-masivo-paso-activo {
    border-color: #0d6efd;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.12);
}

.soportes-masivo-paso-activo .soportes-masivo-paso-numero {
    background: #0d6efd;
    color: #ffffff;
}

.soportes-masivo-paso-completado {
    border-color: #198754;
    background: #f0fdf4;
}

.soportes-masivo-paso-completado .soportes-masivo-paso-numero {
    background: #198754;
    color: #ffffff;
}

.soportes-masivo-flujo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.soportes-masivo-bloque {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    background: #ffffff;
}

.soportes-masivo-bloque-activo {
    border-color: #0d6efd;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.08);
}

.soportes-masivo-bloque-cabecera {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.soportes-masivo-bloque-numero {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #ffffff;
    font-weight: 800;
}

.soportes-masivo-bloque-cabecera h5 {
    margin: 0;
    font-weight: 800;
}

.soportes-masivo-bloque-cabecera p {
    margin: 4px 0 0 0;
    color: #64748b;
}

.soportes-masivo-subida {
    align-items: center;
    row-gap: 12px;
}

.soportes-masivo-subida-ayuda {
    display: flex;
    align-items: end;
}

.soportes-masivo-mini-card {
    width: 100%;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    color: #475569;
}

.soportes-masivo-mini-card strong,
.soportes-masivo-mini-card span {
    display: block;
}

.soportes-masivo-mini-card span {
    margin-top: 4px;
    font-size: 13px;
}

.soportes-masivo-centro-global {
    align-items: end;
    row-gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 15px;
}

.soportes-masivo-centro-global-boton {
    display: flex;
    align-items: end;
}

.soportes-masivo-resumen {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.soportes-masivo-tabla-contenedor {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.soportes-masivo-tabla {
    min-width: 1550px;
    margin-bottom: 0;
}

.soportes-masivo-tabla thead th {
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    white-space: nowrap;
    vertical-align: middle;
}

.soportes-masivo-tabla td {
    vertical-align: middle;
}

.soportes-masivo-tabla input,
.soportes-masivo-tabla select {
    min-width: 120px;
}

.soportes-masivo-numero {
    text-align: center;
    font-weight: 700;
    color: #64748b;
}

.soportes-masivo-vacio td {
    text-align: center;
    padding: 26px;
    color: #64748b;
    background: #f8fafc;
}

.soportes-masivo-error-celda {
    border-color: #dc3545 !important;
    background: #fff5f5 !important;
}

.soportes-masivo-errores {
    min-width: 180px;
    color: #dc3545;
    font-size: 12px;
    font-weight: 600;
}

.soportes-masivo-botones-validacion {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.soportes-masivo-select-si-no {
    min-width: 80px !important;
}

@media (max-width: 992px) {
    .soportes-masivo-cabecera {
        flex-direction: column;
    }

    .soportes-masivo-acciones-superiores {
        justify-content: flex-start;
    }

    .soportes-masivo-pasos {
        grid-template-columns: 1fr;
    }
}
