/* Fuente recomendada: Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;900&display=swap');


.plecaRose {
    background-color: #C90166;
    color: #fff;
}

.bannerImgSaybg {
    color: #fff;
    font-weight: bold;
    background-image: url('../img/titulo.jpg');
    background-size: cover;        /* rellena todo */
    background-position: center;   /* centra la imagen */
    background-repeat: no-repeat;  /* evita repetición */
    height: 80px; /* ajusta a tu gusto */
}

.bannerSaybg {
    color: #fff;
    font-weight: bold;
    background-color: #009887;
}


.btnRose {
    background-color: #C90166;
    color: #fff;
}

.btnGreen {
    background-color: #009887;
    color: #fff;
}

.btnBlack {
    background-color: #6c757d;
    color: #fff;
}
/*
.oficialSpan {
    color: #C90166;
}
.oficialColor 
{
    color: #C90166;
}

.secondColor
{
    color: #009887;
}

.colorWarning {
    color: #FFAB00;
}*/
/*End colors*/


/*Colors*/
.gray-color {
  color: #90979d;
}

.green-color {
  color: #009887;
}

.red-color {
  color: #AE192D;
}

.white-color {
  color: #fff;
}

.warning-color {
  color: #968A5B;
}

.colorOficial
{
    color: #C90166;
}

/*Textos*/
.text-titulo
{
  font-weight: 900 !important;
}
/*End textos*/

/*Divs*/

.alert_warning 
{
  background: #F8F3D5; 
  border-color: #E8E1B0; 
  border-style: solid; 
  border-width: 2px; 
  border-radius: 10px; 
  padding-top: 5px; 
  padding-bottom: 5px; 
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.alert_danger 
{
  background: #C90166; 
  border-color: #970652; 
  border-style: solid; 
  border-width: 2px; 
  border-radius: 10px; 
  padding-top: 5px; 
  padding-bottom: 5px; 
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

/*End divs*/


.requiredSpan 
{
    color: #C90166;
}



.formColor 
{
    color: #000;
}
.boldText {
    font-weight: bold;
}

.centerMiddle {
    padding: 50px 0 50px;
}

.textShadow {
    text-shadow: 2px 2px 6px #AEAEAE;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
    border-color: #183153;
    background-color: #f0f1f3;
}

.doubleBorder {
    border-style: double; text-align: center;
}

.simpleBorder {
    border-width: 2px;
    border-style: solid; 
    text-align: center;
    border-color: #E1BACA;
    font-size: 14px;
}

.simpleBorderInput {
  border: 2px solid #ABB4C5;  
  font-size: 18px;    
  background-color: #f2f2f2;
}

.borderInput {
  border: thick double #058F7E;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}


hr.hr-text {
  position: relative;
    border: none;
    height: 1px;
    background: #009887;
}

.label-conectachiapas {
    font-size: 22px;
    font-weight: bold;
}


.labelGroup {
    font-size: 16px;
    font-weight: bold;
}

#spCurp {
    background-color: #C90166;
    color: white;
    font-weight: bold;
    padding-left: 3px;
}
#spCurp.ok {
    background-color: #009887;
}


#spRfc {
    background-color: #C90166;
    color: white;
    font-weight: bold;
    padding-left: 3px;
}
#spRfc.ok {
    background-color: #009887;
}

/*.modal-lg, .modal-xl {
    max-width: 1200px;    
  }

  .modal-content {
      background-color: transparent !important;
      border: 0px !important
  }

  .modal-header {
      border: 0px !important
  }*/

  .close-verde {
    all: unset;                /* Remueve TODOS los estilos CSS */
    font-size: 1.5rem;         /* Tamaño grande */
    color: #074d43;            /* Verde */
    cursor: pointer;           /* Manito al pasar el mouse */
    font-weight: 700;          /* Negrita */
    user-select: none;         /* No se pueda seleccionar la X */
  }

  .close-verde:hover {
    color: #1e7e34;            /* Verde más oscuro al hover */
  }

  .close-verde:focus {
    outline: none;
  }

  .my_header {
    
    background-image: url("../../template/img/pattern_headers.png");
    background-size: 1200px;
    height: 120px;
  }

.dark {
    color: #404E67 !important;
}
.primary {
    color: #00B5B8 !important;
}
.success {
    color: #16D39A !important;
}
.danger {
    color: #FF7588 !important;
}
.backCard {
    background-color: #F5F7FA;
}

.card-shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}
.card-shadow:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.btn-shadow {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.bgPrimary {
    border-color: #90A5B2 !important;
    background-color: #90A5B2 !important;
}
.bgSuccess {
    border-color: #A8E3D7 !important;
    background-color: #A8E3D7 !important;
}
.bgInfo {
    border-color: #91BAFF !important;
    background-color: #91BAFF !important;
}
.bgDefault {
    border-color: #C90166 !important;
    background-color: #C90166 !important;
    color: #970652 !important;
}

.input-inset{
  font-size: 16px;
  line-height: 1.5;
  background: #FFFFFF;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19'><path fill='%23838D99' d='M13.98 12.57a2 2 0 0 1 1.93.52l2.5 2.5a2 2 0 0 1-2.82 2.82l-2.5-2.5a2 2 0 0 1-.52-1.93l-1.38-1.37a7 7 0 1 1 1.42-1.42l1.37 1.38zm-3.37-2.03a5 5 0 1 0-7.08-7.08 5 5 0 0 0 7.08 7.08z'></path></svg>");
  background-repeat: no-repeat;
  background-position: 10px 10px;
  background-size: 20px 20px;
  border: 1px solid #C5CBD5;
  box-shadow: 0 4px 8px 0 #CACACA, 0 3px 10px 0 #D8D8D8;
  border-radius: 8px;
  width: 100%;
  padding: .5em 1em .5em 2.5em;
} 

.input-inset::placeholder{
  color: #838D99;
}

.input-inset:focus {
  outline: none;
  border: 1px solid #84A2FA;
}

.table-wrapper {
    background: #fff;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.table-wrapper:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.table-title {
    padding-bottom: 15px;
    background: #009887;
    color: #fff;
    padding: 16px 30px;
    margin: -20px -25px 10px;
    border-radius: 3px 3px 0 0;
}

.table-title-dos {
    padding-bottom: 15px;
    background: #A30457;
    color: #fff;
    padding: 16px 30px;
    margin: -20px -25px 10px;
    border-radius: 3px 3px 0 0;
}
.table-title h2 {
    margin: 5px 0 0;
    font-size: 24px;
}
.table-title-dos h2 {
    margin: 5px 0 0;
    font-size: 24px;
}

/*table.table tr th, table.table tr td {
    border-color: #e9e9e9;
    padding: 12px 15px;
    vertical-align: middle;
}

.table tr td {
    font-size: 12px;
}
table.table tr th:last-child {
    width: 100px;
}
table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fcfcfc;
}
table.table-striped.table-hover tbody tr:hover {
    background: #f5f5f5;
}*/
    .select-css {
        display: block;
        font-size: 22px;
        font-family: Montserrat;
        font-weight: 700;
        color: #444;
        line-height: 1.3;
        padding: .6em 1.4em .5em .8em;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        border: 1px solid #fff;
        /*box-shadow: 0 1px 0 1px rgba(0,0,0,.04);*/
        /* box-shadow: 0 8px 16px 0 #CACACA, 0 6px 20px 0 #D8D8D8; */
        box-shadow: 0 4px 8px 0 #CACACA, 0 3px 10px 0 #D8D8D8;
        border-radius: .5em;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 -4.5 24 24' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:sketch='http://www.bohemiancoding.com/sketch/ns'%3E%3Ctitle%3Echevron-down%3C/title%3E%3Cdesc%3ECreated with Sketch Beta.%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' sketch:type='MSPage'%3E%3Cg id='Icon-Set-Filled' sketch:type='MSLayerGroup' transform='translate(-574.000000, -1201.000000)' fill='%23000000'%3E%3Cpath d='M597.405,1201.63 C596.576,1200.8 595.23,1200.8 594.401,1201.63 L586.016,1210.88 L577.63,1201.63 C576.801,1200.8 575.455,1200.8 574.626,1201.63 C573.797,1202.46 573.797,1203.81 574.626,1204.64 L584.381,1215.4 C584.83,1215.85 585.429,1216.05 586.016,1216.01 C586.603,1216.05 587.201,1215.85 587.65,1215.4 L597.405,1204.64 C598.234,1203.81 598.234,1202.46 597.405,1201.63' id='chevron-down' sketch:type='MSShapeGroup'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        background-repeat: no-repeat, repeat;
        background-position: right .7em top 50%, 0 0;
        background-size: .65em auto, 100%;
    }
    .select-css::-ms-expand {
        display: none;
    }
    .select-css:hover {
        border-color: #888;
    }
    .select-css:focus {
        border-color: #aaa;
        box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
        box-shadow: 0 0 0 3px -moz-mac-focusring;
        color: #222;
        outline: none;
    }

    .select-css option {
        font-weight:normal;
    }

    .form-control-size
    {
        font-size: 22px;
        font-family: Montserrat;
        font-weight: 700;
        box-sizing: border-box;
        margin: 0;
        border: 1px solid #fff;
        /* box-shadow: 0 8px 16px 0 #CACACA, 0 6px 20px 0 #D8D8D8; */
        box-shadow: 0 4px 8px 0 #CACACA, 0 3px 10px 0 #D8D8D8;
        border-radius: .5em;
    }


    .input-size-udi
    {
        font-size: 20px;
        font-family: Montserrat;
        /*font-weight: 700;*/
        box-sizing: border-box;
        margin: 0;
        border: 1px solid #fff;
        /* box-shadow: 0 8px 16px 0 #CACACA, 0 6px 20px 0 #D8D8D8; */
        box-shadow: 0 4px 8px 0 #CACACA, 0 3px 10px 0 #D8D8D8;
        border-radius: .5em;
    }


    .text-xs-center {
        text-align: center;
    }

    .g-recaptcha {
        display: inline-block;
    }

    .inputs-udi
    {
        font-size: 16;
        font-family: Montserrat;
        /*font-weight: 700;*/
        box-sizing: border-box;
        margin: 0;
        border: 1px solid #fff;
        box-shadow: 0 8px 16px 0 #CACACA, 0 6px 20px 0 #D8D8D8;
        border-radius: .5em;
    }

    button.mbtn {
      padding:0.3em 2em;
      border-radius: 32px;
      color:#fff;
      background-color:#07B45D;
      font-size:1.5em;
      border:0;
      cursor:pointer;
      margin:1em;
      box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    }

.mbtnentrega {
      padding:0.3em 2em;
      border-radius: 32px;
      color:#fff;
      background-color:#07B45D;
      font-weight: bold;
      font-size:1.6em;
      border:0;
      cursor:pointer;
      margin:1em;
      box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    }
.mbtndark {
      padding:0.3em 2em;
      border-radius: 32px;
      color:#fff;
      background-color:#6B6568;
      font-weight: bold;
      font-size:1.6em;
      border:0;
      cursor:pointer;
      margin:1em;
      box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    }




/* Basic Rules */
.switch input { 
    display:none;
}
.switch {
    display:inline-block;
    width:60px;
    height:30px;
    margin-right: 10px;
    transform:translateY(50%);
    position:relative;
}
/* Style Wired */
.slider {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    border-radius:30px;
    box-shadow:0 0 0 2px #777, 0 0 4px #777;
    cursor:pointer;
    border:4px solid transparent;
    overflow:hidden;
     transition:.4s;
}
.slider:before {
    position:absolute;
    content:"";
    width:100%;
    height:100%;
    background:#777;
    border-radius:30px;
    transform:translateX(-30px);
    transition:.4s;
}

input:checked + .slider:before {
    transform:translateX(30px);
    background:limeGreen;
}
input:checked + .slider {
    box-shadow:0 0 0 2px limeGreen,0 0 2px limeGreen;
}

/* Style Flat */
.switch.flat .slider {
 box-shadow:none;
}
.switch.flat .slider:before {
  background:#FFF;
}
.switch.flat input:checked + .slider:before {
 background:white;
}
.switch.flat input:checked + .slider {
  background:limeGreen;
}

.fondoclaro 
{
    background-color: #fff;
}

.fondooscuro 
{
    background-color: #333;
}

/* Encabezado de cada card */
.accordion .card-header {
    background-color: #a79489;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
}

/* Estilo del link dentro del header */
.accordion .btn-header-link {
    color: #fff; /* Texto blanco */
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
}

/* Card-body */
.accordion .card-body {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    color: #333;
}

/* Lista personalizada dentro del card-body */
.custom-info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

/* Último elemento sin borde */
.custom-info-list li:last-child {
    border-bottom: none;
}

/* Card general */
.accordion .card {
    margin-bottom: 0.5rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Opcional: añadir un pequeño indicador de expandido usando color de botón */
.accordion .btn-header-link.collapsed::after {
    float: right;
    color: #fff;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion .btn-header-link:not(.collapsed)::after {
    transform: rotate(-180deg); /* Flecha hacia arriba */
}

.custom-blockquote {
  background-color: #fdfefe;
  border-left: 4px solid #C90166;
  padding: 18px 22px;
  border-radius: 8px;

  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Encabezado */
.custom-blockquote .blockquote-header {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 0.9rem;
  font-weight: 600;
  color: #C90166;
  margin-bottom: 10px;
}

/* Icono */
.custom-blockquote .blockquote-header i {
  font-size: 1.1rem;
}

/* Texto */
.custom-blockquote p {
  margin-bottom: 10px;
}

/* Footer */
.custom-blockquote footer {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}


.custom-img {
  border: 4px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 150px;
}

.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    border-radius: 5px;
    object-fit: cover;
    height: 250px; /* Ajusta el tamaño según sea necesario */
}

.unique-card-style {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .unique-card-style:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }

    .card-body {
        padding: 2rem;
    }

    .unique-card-title {
        font-size: 1.2rem;
    }

    .unique-card-text {
        font-size: 0.9rem;
    }

    .unique-btn {
        border-radius: 25px;
        border-color: #dc3545;
        color: #dc3545;
    }

    .unique-btn:hover {
        background-color: #dc3545;
        color: white;
    }

    .unique-pdf-icon {
        font-size: 48px;
        color: #dc3545;
        margin-bottom: 15px;
    }

/* Tablets */
@media (max-width: 768px) {
    .unique-card-title {
        font-size: 1.1rem;
    }
    .unique-card-text {
        font-size: 0.9rem;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .unique-card-title {
        font-size: 1rem;
    }
    .unique-card-text {
        font-size: 0.8rem;
    }
}


.sistema-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover general */
.sistema-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Overlay oculto */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* Mostrar overlay al hover */
.sistema-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}


/* Texto */
.overlay-content {
    color: #333;
}

.overlay-content h6 {
    color: #009887; /* ajusta a tu color institucional */
}

/* Tablets */
@media (max-width: 768px) {
    .font-weight-semibold.green-color {
        font-size: 0.9rem;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .font-weight-semibold.green-color {
        font-size: 0.8rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .responsive-h1 {
        font-size: 2.2rem;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .responsive-h1 {
        font-size: 1.6rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .responsive-lead {
        font-size: 1.2rem;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .responsive-lead {
        font-size: 1rem;
    }
}

.titulo-card-services {
  font-size: 1.25rem; /* tamaño base */
}

@media (max-width: 767.98px) {
  .titulo-card-services {
    font-size: 0.8rem; /* más pequeño en móvil */
    text-align: center;
  }
}







.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background: #c90066;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: #b05087;
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}


.parrafo-indent {
    padding-left: 2em; /* ajusta el tamaño del indent */
}

.lnkAviso {
  color: #333;
  text-decoration: none;
}

.lnkAviso:hover {
  color: #559685;
}

.text-green {
  color: #009887 !important;
  /*font-weight: bold;*/
}

.tree,
.tree ul {
    list-style: none;
    padding-left: 20px;
}

.tree ul {
    display: none;
}

.tree li {
    margin: 6px 0;
}

.toggle {
    cursor: pointer;
    margin-right: 6px;
}

.toggle-placeholder {
    display: inline-block;
    width: 18px;
}

.tree li.open > ul {
    display: block;
}

.tree li.open > .toggle i {
    transform: rotate(90deg);
}

.files {
    list-style: none;
    padding-left: 30px;
}

.files li {
    font-size: 13px;
}

.file-link {
    margin-left: 10px;
}

/* Botón flotante chat */
.contact-chat-btn {
    position: fixed;
    right: 25px;
    bottom: 90px;
    width: 65px;
    height: 65px;
    background: #b11f29;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 1050;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    transition: transform .2s ease;
}

.contact-chat-btn:hover {
    transform: scale(1.05);
}

/* Modal tipo chat */
.modal.chat-modal {
    background: transparent;
}

.chat-modal .modal-dialog {
    position: fixed;
    right: 20px;
    bottom: 20px;
    margin: 0;
    width: 360px;
    max-width: 95%;
}

.chat-modal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    border: none;
}

/* Header chat */
.chat-header {
    background: #b11f29;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h6 {
    margin: 0;
    font-weight: 600;
}

/* Body chat */
.chat-body {
    padding: 15px;
    background: #f7f7f7;
    box-shadow: 0 6px 15px rgba(0,0,0,.12);
}

/* Bubble */
.chat-bubble {
    background: #fff;
    padding: 12px 15px;
    border-radius: 15px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

/* Item contacto */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #b11f29;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

/* Burbuja intro estilo Android */
.chat-bubble-intro {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,.12);
}

/* Header */
.chat-intro-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

/* Avatar */
.chat-avatar {
    width: 42px;
    height: 42px;
    background: #b11f29;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Texto */
.chat-intro-text h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #212121;
}

.chat-intro-text span {
    font-size: 12px;
    color: #757575;
    line-height: 1.2;
}

/* Mensaje */
.chat-intro-message {
    margin: 0;
    font-size: 13px;
    color: #424242;
}

/* Tarjeta destacada */
.highlight-card {
    background: linear-gradient(135deg, #ffffff, #f6f0ef);
    border-left: 5px solid #b11f29;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

/* Badge superior */
.badge-principal {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #b11f29;
    color: #fff;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Avatar más grande */
.chat-avatar.large {
    width: 48px;
    height: 48px;
    font-size: 20px;
}

/* Texto más fuerte */
.highlight-card h6 {
    font-size: 15px;
}

.highlight-card .chat-intro-message {
    font-size: 13px;
    font-weight: 500;
}

/* Teléfono principal */
.phone-main {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 6px 15px rgba(0,0,0,.12);
}

/* Número principal */
.phone-number {
    font-size: 15px;
    font-weight: 600;
    color: #212121;
    text-decoration: none;
}

/* Extensiones */
.extensions {
    margin-top: 12px;
    padding-left: 52px; /* alineado con texto */
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Item extensión */
.ext-item {
    display: flex;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* Label área */
.ext-label {
    font-weight: 600;
    color: #424242;
}

/* Número extensión */
.ext-number {
    color: #b11f29;
    font-weight: 600;
}

/* Tabla institucional más compacta */
#formatosTable {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.85rem; /* Fuente un poco más pequeña */
}

/* Encabezados y celdas con menos padding */
#formatosTable th, #formatosTable td {
    padding: 6px 8px !important; /* menos espacio vertical y horizontal */
    vertical-align: middle;
}

/* Encabezado oscuro */
#formatosTable thead.thead-dark th {
    background-color: #2c3e50;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hover fila */
#formatosTable tbody tr:hover {
    background-color: #ecf0f1;
    transition: background-color 0.2s;
}

/* Ajuste ancho columnas */
#formatosTable th:nth-child(1) { width: 5%; }
#formatosTable th:nth-child(2) { width: 45%; }
#formatosTable th:nth-child(3) { width: 15%; }
#formatosTable th:nth-child(4) { width: 35%; }

/* Botones de filtro tipo Bootstrap sin sombras y bordes poco redondeados */
#format-filters .btn-filter {
    display: flex;
    align-items: center;
    gap: 8px;               
    margin-right: 10px;     
    padding: 8px 18px;      
    font-size: 1rem;        
    font-weight: 600;
    border-radius: 4px;     
    border: 2px solid #009887;
    background-color: #fff;
    color: #009887;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    cursor: pointer;
    box-shadow: none;       
}

#format-filters .btn-filter:last-child {
    margin-right: 0;
}

#format-filters .btn-filter:hover {
    background-color: #009887;
    color: #fff;
}

#format-filters .btn-filter.active {
    background-color: #009887;
    color: #fff;
}

#format-filters .btn-filter i {
    font-size: 1.2rem; 
}

/* Colores específicos para Excel y Word */
.btn-xls {
    border-color: #1D6F42;
    color: #1D6F42;
}

.btn-xls.active, .btn-xls:hover {
    background-color: #1D6F42;
    color: #fff;
}

.btn-docx {
    border-color: #2A579A;
    color: #2A579A;
}

.btn-docx.active, .btn-docx:hover {
    background-color: #2A579A;
    color: #fff;
}

/* Botones Descargar y Vista Previa estilo Bootstrap */
.btn-download, .btn-preview {
    width: 36px;
    height: 36px;
    font-size: 14px;
    padding: 0;
    border-radius: 4px; /* ligeramente redondeados */
    border: none;        /* sin borde extra */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #009887; /* verde por defecto */
    color: #fff;
    transition: background-color 0.15s ease-in-out;
    margin-left: 4px;
}

/* Hover Descargar */
.btn-download:hover {
    background-color: #007f6d;
}

/* Hover Vista Previa */
.btn-preview {
    background-color: #3498db; /* azul */
}

.btn-preview:hover {
    background-color: #217dbb;
}

/* Ajuste de texto tipo archivo */
.tipo-docx, .tipo-xls {
    font-weight: 500;
    font-size: 0.85rem;
}

/* Ajustes en la fila de filtros (los botones dentro del header) */
#formatosTable thead.thead-light th .btn-group .btn {
    font-size: 11px;
    padding: 2px 6px;
}


/* Modal iframe responsive */
#previewIframe {
    width: 100%;
    height: 80vh;
    border: none;
}

/* Responsive */
@media (max-width: 576px) {
    #formatosTable td, #formatosTable th {
        font-size: 13px;
    }
    .btn-download, .btn-preview {
        font-size: 11px;
        padding: 3px 8px;
        min-width: 80px;
    }
}


/* Animation Code */
.animation {
  will-change: transform;
}

@media screen and (min-width: 768px) {
  .fade-left-desktop,
  .fade-right-desktop {
    opacity: 0;
    transition: 1500ms all ease-in-out;
  }
  .fade-left-desktop {
    transform: translateX(50px);
  }
  .fade-right-desktop {
    transform: translateX(-50px);
  }
  .fade-left-desktop.animate,
  .fade-right-desktop.animate {
    opacity: 1;
    transform: translateX(0);
  }
  .fade-down-desktop,
  .fade-up-desktop {
    opacity: 0;
    transition: 1500ms all ease-in-out;
    transform: translateY(50px);
  }
  .fade-up-desktop {
    transform: translateY(50px);
  }
  .fade-down-desktop {
    transform: translateY(-50px);
  }
  .fade-down-desktop.animate,
  .fade-up-desktop.animate {
    opacity: 1;
    transform: translateY(0);
  }
  .grow-left-desktop,
  .grow-right-desktop {
    transform: scaleX(0);
    transform-origin: left;
    transition: 1200ms all ease-in-out;
  }
  .grow-left-desktop {
    transform-origin: right;
  }
  .grow-right-desktop {
    transform-origin: left;
  }
  .grow-left-desktop.animate,
  .grow-right-desktop.animate {
    transform: scaleX(1);
  }
  .grow-down-desktop,
  .grow-up-desktop {
    transform: scaleY(0);
    transition: 1200ms all ease-in-out;
  }
  .grow-up-desktop {
    transform-origin: bottom;
  }
  .grow-down-desktop {
    transform-origin: top;
  }
  .grow-down-desktop.animate,
  .grow-up-desktop.animate {
    transform: scaleY(1);
  }
  .stagger-desktop-1 {
    transition-delay: 300ms;
  }
  .stagger-desktop-2 {
    transition-delay: 600ms;
  }
  .stagger-desktop-3 {
    transition-delay: 900ms;
  }
  .stagger-desktop-4 {
    transition-delay: 1200ms;
  }
}
@media screen and (max-width: 767px) {
  .fade-down-mobile,
  .fade-up-mobile {
    opacity: 0;
    transition: 1500ms all ease-in-out;
  }
  .fade-up-mobile {
    transform: translateY(50px);
  }
  .fade-down-mobile {
    transform: translateY(-50px);
  }
  .fade-down-mobile.animate,
  .fade-up-mobile.animate {
    opacity: 1;
    transform: translateY(0);
  }
  .grow-left-mobile,
  .grow-right-mobile {
    transform: scaleX(0);
    transition: 1200ms all ease-in-out;
  }
  .grow-left-mobile {
    transform-origin: right;
  }
  .grow-right-mobile {
    transform-origin: left;
  }
  .grow-left-mobile.animate,
  .grow-right-mobile.animate {
    transform: scaleX(1);
  }
  .grow-down-mobile,
  .grow-up-mobile {
    transform: scaleY(0);
    transform-origin: top;
    transition: 1200ms all ease-in-out;
  }
  .grow-up-mobile {
    transform-origin: bottom;
  }
  .grow-down-mobile {
    transform-origin: top;
  }
  .grow-down-mobile.animate,
  .grow-up-mobile.animate {
    transform: scaleY(1);
  }
  .fade-mobile {
    opacity: 0;
    transition: 1000ms all ease-in-out;
  }
  .fade-mobile.animate {
    opacity: 1;
  }
}

.box-wrapper {
  position: relative;
  width: 400px;
  padding: 3rem;
  color: #041f1e;
}
.box-wrapper p {
  z-index: 1;
  position: relative;
}
.box-wrapper img {
  z-index: 1;
  position: relative;
  border-radius: 10px;
}
.box-background {
  background-color: #03cea4;
  border-radius: 10px;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.boxes-row {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.boxes-row > div {
  border: 1px solid #fafafa;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  margin: 0.5rem;
}
.card {
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 200px;
}
.card-content {
  background-color: #fff;
  padding: 1rem;
}
.box-background.showcase {
  width: 400px;
  height: 400px;
}
img.showcase {
  width: 400px;
  height: 400px;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .box,
  .box-wrapper {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
  }
  .boxes-row {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .boxes-row > div {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 300px;
  }
}

 .menu-ul li a {
   position: relative;
   display: block; 
   text-decoration: none;   
   font-family: sans-serif;   
   transition: 0.5s;
   z-index: 1;
}
 .menu-ul li a:before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border-top: 2px solid #c90066;
   border-bottom: 2px solid #c90066;
   transform: scaleY(2);
   opacity: 0;
   transition: 0.3s;
}
 .menu-ul li a:after {
   content: '';
   position: absolute;
   top: 1px;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: #c90066;
   transform: scale(0);
   opacity: 0;
   transition: 0.3s;
   z-index: -1;
}
 .menu-ul li a:hover {
   color: #fff;
}
 .menu-ul li a:hover:before {
   transform: scaleY(1);
   opacity: 1;
}
 .menu-ul li a:hover:after {
   transform: scaleY(1);
   opacity: 1;
}

/* MEDIA QUERY para pantallas <= 1366px */
@media (max-width: 1366px) {
  .nav-link.link-menu .h5 {
    font-size: 16px; /* Ajusta el tamaño */
  }
}

.servicios-title, .servicios-subtitle {
    font-family: 'Montserrat', sans-serif;
}

.servicios-title, .servicios-subtitle {
    font-family: 'Montserrat', sans-serif;
}

.servicios-title {
    font-size: 2rem;
    font-weight: 700;          /* menos grueso que 900 */
    color: #C90166;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: none;      /* más natural y limpio */
    text-shadow: none;         /* sin sombra */
    transition: color 0.3s ease;
}

.servicios-subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: #4a4a4a;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
    font-style: italic;
}

/* Responsividad */
@media (max-width: 768px) {
    .servicios-title {
        font-size: 1.8rem;
    }

    .servicios-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .servicios-title {
        font-size: 1.5rem;
    }

    .servicios-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}


@media (max-width: 1366px) {
  .d-none {
    display:none!important
  }
}






/* =========================
   CARD BASE
========================= */
.premium-card {
    border-radius: 4px;
    background: #ffffff;
    overflow: hidden;
}

/* =========================
   HEADER
========================= */
.premium-header {
    background: #f2f4f7;
    border-bottom: 1px solid #e1e5ea;
    padding: 18px 24px;
}

.premium-header:hover {
    background: #eef1f5;
}

.premium-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

/*.premium-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    margin-left: 26px;
}
*/

/* Contenedor del icono con estilo moderno */
.icon-container {
  background: linear-gradient(135deg, #c90166, #9b00b6);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(201, 1, 102, 0.3);
  flex-shrink: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.icon-container:hover {
  box-shadow: 0 8px 16px rgba(201, 1, 102, 0.5);
  transform: translateY(-3px);
}

.icon-container i {
  color: white;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.icon-container:hover i {
  transform: scale(1.1);
}


/* Nombre principal */
.spNombreContador {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Subtítulo */
.premium-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 2px;
}



/* =========================
   BADGE
========================= */
.premium-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #065f46;
    background: #ecfdf5;
    padding: 6px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

/* =========================
   CHEVRON (COLLAPSE)
========================= */
.premium-chevron {
    margin-left: 12px;
    font-size: 0.85rem;
    color: #6b7280;
    transition: transform 0.25s ease;
}

.card-header[aria-expanded="false"] .premium-chevron {
    transform: rotate(-90deg);
}

/* =========================
   BODY
========================= */
.card-body {
    padding: 24px;
}

/* =========================
   SECTIONS
========================= */
.premium-section {
    padding: 18px;
    border-radius: 4px;
    background: #ffffff;
}

.premium-section.highlight {
    background: #f9fafb;
}

/* =========================
   SECTION TITLE
========================= */
.premium-section-title {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* =========================
   ROWS
========================= */
.premium-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f3f5;
}

.premium-row span {
    color: #374151;
}

.premium-row strong {
    color: #111827;
    font-weight: 600;
}

.premium-row:last-child {
    border-bottom: none;
}

/* =========================
   AMOUNT
========================= */
.premium-amount {
    font-size: 1.85rem;
    font-weight: 700;
    color: #111827;
}

.premium-amount small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
}

.money-icon {
    font-size: 1.9rem;
    color: #374151;
    opacity: 0.9;
}

#toggleCapital {
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

#toggleCapital:hover {
    color: #111827;
}

/* =========================
   META
========================= */
.premium-meta {
    font-size: 0.85rem;
    color: #374151;
    margin-top: 4px;
}

/* =========================
   UPDATE TEXT
========================= */
.premium-update {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #6b7280;
}

/* =========================
   WEALTH RING
========================= */
.wealth-ring {
    position: relative;
    width: 86px;
    height: 86px;
    margin-left: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #f9fafb; /* gris muy claro */
    border-radius: 50%;

    /* Sombras externas e internas para efecto 3D */
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),    /* sombra externa difusa */
        0 8px 15px rgba(0, 0, 0, 0.1),   /* sombra externa más difusa */
        inset 0 -3px 6px rgba(255, 255, 255, 0.6), /* brillo interior inferior */
        inset 0 3px 6px rgba(0, 0, 0, 0.05);       /* sombra interior superior */

    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.wealth-ring:hover {
    box-shadow: 
        0 8px 12px rgba(0, 0, 0, 0.2),
        0 12px 24px rgba(0, 0, 0, 0.15),
        inset 0 -3px 6px rgba(255, 255, 255, 0.6),
        inset 0 3px 6px rgba(0, 0, 0, 0.07);
}

.wealth-ring .fa-dollar-sign {
    font-size: 3rem;
    color: #0a3d62; /* azul oscuro */

    /* sombra para dar profundidad al icono */
    text-shadow:
        1px 1px 2px rgba(0,0,0,0.2),
        0 0 4px rgba(10, 61, 98, 0.6);
    
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.wealth-ring:hover .fa-dollar-sign {
    color: #054a91; /* azul más intenso */
    text-shadow:
        2px 2px 5px rgba(0,0,0,0.3),
        0 0 8px rgba(5, 74, 145, 0.8);
}



/* =========================
   ICONS
========================= */
.premium-card i {
    font-size: 0.85rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 767px) {
    .premium-subtitle {
        margin-left: 0;
    }

    .wealth-ring {
        margin-top: 20px;
    }
}



/* Card principal */
.premium-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.premium-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Título */
.card-title {
    font-weight: 700;
    font-size: 1.3rem;
}

/* Filas de información */
.info-row {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e6e8eb;
}

.info-row:last-child {
    border-bottom: none;
}

/* Labels */
.info-label {
    font-weight: 600;
    color: #374151; /* Gris oscuro */
    font-size: 0.95rem;
}

/* Valores */
.info-value {
    font-weight: 500;
    color: #1f2937; /* Gris premium */
    font-size: 0.95rem;
    text-align: right;
}

/* Iconos */
.icon-premium {
    font-size: 1.3rem;
}

/* Hover en iconos */
.info-row i {
    transition: all 0.2s ease;
}

.info-row:hover i {
    color: #0d6efd; /* Azul brillante al hover */
}

/* Responsive */
@media (max-width: 576px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .info-value {
        margin-top: 0.25rem;
        text-align: left;
    }
}



/* =====================================================
   Banner estilo Estado de Cuenta Bancario
===================================================== */
.bank-banner-compact {
    width: 100%;
    background: linear-gradient(180deg, #0f2027, #203a43);
    /*background: linear-gradient(180deg, #c90166, #f062b0);*/
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    font-family: 'Inter', sans-serif;
    padding: 16px 18px;
}

/* =====================================================
   Header: Avatar + Folio + Estatus
===================================================== */
.bank-banner-avatar-compact {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-banner-avatar-compact img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    border: 2px solid #ffd700;
    object-fit: cover;
    background-color: #0f2027;
}

/* =====================================================
   Información principal
===================================================== */
.bank-banner-info-compact {
    margin-left: 14px;
    width: 100%;
}

/* Folio (protagonista absoluto) */
.bank-banner-folio-compact {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* =====================================================
   Badges estilo bancario
===================================================== */
.bank-banner-badges-compact {
    display: flex;
    gap: 8px;
}

.bank-banner-badges-compact span {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.bank-badge-gold-compact {
    background-color: #ffe600;
    color: #1a1a1a;
}

.bank-badge-info-compact {
    background-color: #1cb5bd;
    color: #ffffff;
}

.bank-badge-danger-compact {
    background-color: #ad2c2d;
    color: #ffffff;
}

/* =====================================================
   Separador tipo estado de cuenta
===================================================== */
.bank-banner-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 10px 0;
}

/* =====================================================
   Detalle de datos (filas limpias)
===================================================== */
.bank-banner-detail-compact {
    font-size: 0.78rem;
    color: #d6d6d6;
    margin-right: 18px;
    white-space: nowrap;
}

/* Nombre / contacto principal */
.bank-banner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

/* =====================================================
   Contacto (segunda sección)
===================================================== */
.bank-banner-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.bank-banner-contact-item {
    font-size: 0.75rem;
    color: #cfd8dc;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 768px) {
    .bank-banner-compact {
        padding: 14px;
        text-align: center;
    }

    .bank-banner-info-compact {
        margin-left: 0;
        margin-top: 10px;
    }

    .bank-banner-badges-compact {
        justify-content: center;
        margin-top: 6px;
    }

    .bank-banner-contact {
        justify-content: center;
    }
}


.premium-college {
    margin-bottom: 18px;
}

.college-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8f9fc, #eef1f7);
    border: 1px solid #e3e6f0;
    border-left: 4px solid #4e73df;
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.college-badge i.fa-university {
    font-size: 20px;
    color: #4e73df;
    margin-right: 12px;
}

.college-info {
    flex: 1;
    margin-left: 10px;
}

.college-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #858796;
    letter-spacing: .5px;
}

.college-name {
    font-weight: 600;
    font-size: 15px;
    color: #2e2e2e;
}

.college-status {
    font-size: 12px;
    font-weight: 500;
    color: #1cc88a;
}

.select2-container {
    width: 100% !important;
}

/* Tag tipo Bootstrap */
.select2-container--bootstrap4 
.select2-selection--multiple 
.select2-selection__choice {
    display: flex;                  /* Flex para alinear X y texto */
    align-items: center;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    color: #495057;
    border-radius: .25rem;
    padding: 2px 6px;               /* padding general */
    margin-top: 4px;
    gap: 4px;                        /* espacio entre X y texto */
    font-size: 0.9rem;
}

/* X limpia, sin fondo ni borde */
.select2-container--bootstrap4 
.select2-selection--multiple 
.select2-selection__choice__remove {
    color: #6c757d;
    font-weight: bold;
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 14px;
}

/* Hover de la X */
.select2-container--bootstrap4 
.select2-selection--multiple 
.select2-selection__choice__remove:hover {
    color: #dc3545;
}

/* ============================= */
/* FIX SELECT2 4.1 + BS 4.5      */
/* ============================= */

.select2-container--bootstrap4 .select2-selection--multiple {
    min-height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

/* 🔥 CLAVE REAL DEL FIX */
.select2-container--bootstrap4 
.select2-selection--multiple 
.select2-selection__rendered {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 0;
}

/* Placeholder inline correcto */
.select2-container--bootstrap4 
.select2-selection--multiple 
.select2-selection__placeholder {
    margin: 0;
    line-height: 1.5;
}

/* Input alineado */
.select2-container--bootstrap4 
.select2-selection--multiple 
.select2-search {
    margin: 0;
}

