.form-expedientes .ubicacion-wrapper {
    display: flex;
    justify-content: center;
}

.form-expedientes .ubicacion-card {
    width: 460px;
    padding: 35px 45px;
    background: var(--dxbl-card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.form-expedientes .form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.form-expedientes .form-grid {
    display: grid;
    grid-template-columns: 150px auto;
    row-gap: 18px;
    column-gap: 20px;
    align-items: center;
}

.form-expedientes .range-group {
    display: flex;
    gap: 12px;
}

.form-expedientes .label-small {
    line-height: 1.2;
}

.form-expedientes .total-label {
    font-size: 14px;
}

.form-expedientes .form-actions {
    text-align: center;
    margin-top: 30px;
}

.form-expedientes .spin-small {
    width: 70px !important;
}

.form-expedientes .spin-small .dxbl-spin-edit {
    width: 70px !important;
}

.form-expedientes .resumen-expediente {
    margin: 15px auto 0 auto;
    width: 320px;
    padding: 16px 20px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background: #fafafa;
}

.form-expedientes .resumen-linea {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-expedientes .resumen-linea span {
    font-size: 14px;
}

.form-expedientes .resumen-linea strong {
    font-size: 18px;
    color: #0d6efd;
    line-height: 1;
}

/* loading-overlay: position fixed → relativo al viewport, sin prefijo */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.75);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-box {
    background: white;
    border-radius: 12px;
    padding: 35px;
    min-width: 380px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
