.loading-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.watermark {
    display: none !important;
}

.logo {
    width: 385px !important; 
    height: auto !important;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    box-sizing: border-box;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

.relative.hidden.bg-muted.lg\:block {
    display: none !important;
}

.grid.min-h-svh.lg\:grid-cols-2 {
    grid-template-columns: 1fr !important;
}

.flex.flex-col.gap-4.p-6.md\:p-10 {
    margin-bottom: 200px !important;
    color: #000 !important;
}

.ai-message {
    background-color: #1a1a1a; /* un gris muy oscuro */
    color: #ffffff;            /* texto en blanco */
    padding: 1rem;             /* opcional, para separación interior */
    border-radius: 0.5rem;     /* opcional, bordes suaves */
  }

body {
    background: #9a1436 url('trama-bg.svg') no-repeat 0% 10% fixed !important;
    background-size: 180% !important;
    font-family: roboto, sans-serif;
    color: #4c4c4a !important;
    margin: 0;
    min-height: 100vh;
  }

h1 span {
    color: #4c4c4a !important;
}

.flex.justify-center.gap-2.md\:justify-start img.logo {
    content: url(logo.svg) !important;
    width: 300px !important;
    height: auto !important;
}

.flex.flex-col.gap-4.p-6.md\:p-10 {
    width: 35%;
    margin: 10% auto;
    background: #ececec;
    border-radius: 10px;
    padding-bottom: 0 !important;
    z-index: 9;
    position: relative;
    margin-bottom: 0px !important;
    color: #4c4c4a !important;
    left: -225px;
    max-width: 500px;
}

.link-reforma {
    margin: 0px auto -8px;
    color: white;
    font-size: 16px;
    background: #6BA3B7;
    padding: 10px 20px;
    border-radius: 30px;
    position: absolute;
    top: -23px;
    width: 220px;
    text-align: center;
    left: calc(50% - 110px);
    font-weight: bold;
}

.link-reforma2 {
    margin: 0px auto -8px;
    color: white;
    border: .5px solid white;
    font-size: 14px;
    padding: 5px 9px;
    border-radius: 30px;
    width: 190px;
    text-align: center;
}

.flex.flex-1.items-center.justify-center {
    margin: 0 50px 60px;
}

.bg-primary {
    background: #3193C4 !important;
    border-radius: 30px !important;
}

.grid.min-h-svh.lg\:grid-cols-2 {
    min-height: 65svh;
}

.text-destructive {
    color: #b4123b !important;
}

.border-destructive {
    border-color: #b4123b !important;
}

h1.text-2xl.font-bold {
    font-size: 18px;
    line-height: normal;
}

svg.\!size-6 {
    color: white;
}

.rounded-3xl {
    border-radius: 10px !important;
}

button svg {
    color: white;
}

.bg-secondary {
    background: #3193C4 !important;
}

.lucide.lucide-arrow-down.size-4 {
  color: #000 !important; /* negro */
  fill: #000 !important;  /* por si es un SVG que usa fill */
  stroke: #000 !important; /* por si es un SVG con stroke */
}


@media (max-width: 500px){
    .flex.flex-col.gap-4.p-6.md\:p-10 {
        width: 90%;
    }
    h1{
        font-size: 15px !important;
    }

    .flex.flex-1.items-center.justify-center {
        margin: 0 10px 60px;
    }
    .flex.justify-center.gap-2.md\:justify-start img.logo {
        width: 250px !important;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

/* Media query para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .spinner {
        width: 15px !important;
        height: 15px !important;
    }
}

/* Anula el justify-start en dispositivos medianos y mayores */
@media screen and (min-width: 768px) {
    .flex.justify-center.gap-2.md\:justify-start {
        justify-content: center !important;
    }
}

.salo {
    color: white;
    position: relative;
    width: 45%;
}

.salo-chat {
    position: fixed;
    bottom: 24vh;
    left: 68vw;
    margin-right: -42vw;
    max-width: 500px;
}

.salo-img {
    position: fixed;
    bottom: 0;
    left: calc(56% - 250px);
    z-index: 10;
}

.globo-1,
.globo-2,
.globo-3{
    border: 2px solid white;
    padding: 15px 35px;
    border-radius: 55px;
    margin-bottom: 15px;
    position: relative;
}

.globo-1 h3 {
    font-size: 30px;
    font-weight: bold;
}

.globo-1 p {
    text-align: right;
    font-style: italic;
}

.globo-1 {
    width: fit-content;
    left: -14vh;
}

.globo-2 {
    width: 85%;
    left: -4vw;
}

.globo-3 {
    width: 90%;
}

@media screen and (max-width: 550px) {
  /* --- Oculta chat e imágenes de salo --- */
  .salo-chat,
  .salo img {
    display: none !important;
  }
 
  /* --- Ajustes para que el login sea full width y centrado --- */
  /* Seleccionamos tu contenedor de login */
  #root > .grid.min-h-svh.lg\:grid-cols-2 > .flex.flex-col.gap-4.p-6.md\:p-10 {
    /* Ocupamos casi todo el ancho */
    width: 90% !important;
    /* Anulamos el desplazamiento lateral */
    left: 0 !important;
    /* Centramos horizontalmente */
    margin: 10% auto 0 auto !important;
    /* Opcional: ajustar padding si quieres más espacio interior */
    padding: 1.5rem !important;
  }
 
  /* Reduce un poco el tamaño del logo en el login si hace falta */
  #root > .grid.min-h-svh.lg\:grid-cols-2 .logo {
    width: 200px !important;
  }
}
 

@media (min-width:1401px){
    .salo-chat {
    bottom: 30vh;
    left: 65vw;
    }
}
 
@media (max-width:1400px){
    .globo-2 {
    width: 80% !important;
    }
 
    .globo-3 {
        width: 70%!important;
    }
}
 
@media (max-width:1200px){
    .salo-chat {
    left: 65vw;
}
    .salo-img {
    left: calc(53% - 250px);
}
        .flex.flex-1.items-center.justify-center {
    margin: 0 0 60px !important;
}
}
 
@media (max-width:1100px){
    .salo-chat {
    left: 60vw;
}
        .salo-img {
    left: calc(57% - 250px);
}
    .salo-img img{
        width: 80%;
}
}
 
@media (max-width:950px){
    .salo-chat {
    left: 50vw;
        font-size: 14px;
}
    .globo-1 {
    left: -5vh;
}
    .globo-1 h3 {
    font-size: 20px;
    }
        .salo-img {
    left: calc(53% - 150px);
}
    .salo-img img{
        width:250px;
}
    .globo-2 {
    width: 60% !important;
    }
 
    .globo-3 {
        width: 60%!important;
        margin-left: 30px;
    }
}
 
@media (max-width:700px){
.flex.justify-center.gap-2.md\:justify-start img.logo {
    content: url(salo--logo-rojo.png) !important;
    width: 300px !important;
    height: auto !important;
}
}