.loading-overlay {
    position: fixed;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-content i {
    margin-bottom: 15px;
}
.form-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.form-section-title {
    background-color: #004a8f;
    color: #fff;
    padding: 15px;
    border-radius: 5px 5px 0 0;
    margin: -20px -20px 20px -20px;
    font-size: 1.25rem;
    font-weight: bold;
}
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}
.spinner-border {
    color: #004a8f;
}
.form-group label {
    font-weight: bold;
}
.input-group-text {
    background-color: #f0f0f0;
    border-right: none;
}
.form-control, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    border-left: none;
}
.input-group {
    margin-bottom: 1rem;
}
.input-group-text i {
    color: #004a8f;
}
.form-check-label a {
    color: #004a8f;
    text-decoration: none;
    font-weight: bold;
}
.form-check-label a:hover {
    text-decoration: underline;
}
.input-group-flex {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.input-group-flex .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    align-items: center;
}
.input-group-flex .form-control, .input-group-flex .select2-container {
    flex-grow: 1;
}
.phone-group { display:flex; gap:.5rem; align-items:center; }
.country-select { display:flex; align-items:center; }
.country-select .input-group-text { border:1px solid #ced4da; padding:.5rem .6rem; border-radius:.25rem; background:#f8f9fa; }
.prefix { border:1px solid #ced4da; padding:.5rem .6rem; border-radius:.25rem; background:#f8f9fa; white-space:nowrap; }
.form-control { min-width: 10rem; }
.text-danger { display:block; margin-top:.25rem; }
/* Unifica alturas y bordes en toda la hilera */
.phone-group .input-group-text,
.phone-group .form-select,
.phone-group .form-control {
  height: 38px;               /* igual a inputs de Bootstrap */
  line-height: 1.25;
  border-radius: 0;           /* que se vea como un solo control */
}

/* Redondeos solo en extremos */
.phone-group .input-group-text:first-child {
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}
.phone-group .form-control {
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

/* Anchos y espaciado del select y el prefijo */
.phone-group .phone-country {
  max-width: 230px;           /* ajusta al gusto */
  min-width: 200px;
}
.phone-group .phone-prefix {
  white-space: nowrap;
}

/* Ícono más centrado */
.phone-group .input-group-text i {
  font-size: 0.95rem;
  opacity: .85;
}
/* Compacto y alineado con Bootstrap */
.phone-group-compact .phone-toggle {
  padding: .375rem .5rem;
  line-height: 1.5;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  min-width: 84px;            /* reduce ancho; ajusta si lo quieres aún menor */
}

.phone-group-compact .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Dropdown scrollable y estrecho */
.phone-dd { min-width: 260px; }
.phone-country-list {
  max-height: 260px;
  overflow: auto;
}
.phone-country-list .list-group-item {
  padding: .35rem .5rem;
  font-size: .9rem;
}
