.oauth-btn {
    cursor: pointer;
    width: 50%;
}

.chat-bubble {
    display: none !important;
}



:root {
    --black: #000000;
    --blue-ribbon: #194368;
    --dodger-blue: #09304a;
    --mine-shaft: #ffffff;
    --scorpion: #d7e9ff;
    --torch-red: #fd6a4b;
    --white: #e6f2ff;
}

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    height: 100vh;
    width: 100vw;
    display: grid;
    place-items: center;
    /* Fondo fijo: degradado azul a celeste */
    background: linear-gradient(180deg, #09304a 0%, #27aae1 100%);
    position: relative;
    overflow: hidden;
}

.hvh-100 {
    height: 100vh !important;
}

/* ---------- Red neuronal animada de fondo ---------- */
.network-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none; /* No interfiere con los elementos interactivos */
}

.network-brain {
    width: 75vw;
    max-width: 1000px;
    opacity: 0.3; /* Opacidad reducida */
    filter: drop-shadow(0 0 12px #ffffff80);
    animation:
    network-brain-glow 4s ease-in-out infinite alternate,
    network-brain-move 10s ease-in-out infinite alternate;
    z-index: 2;
    position: relative;
}

@keyframes network-brain-glow {
    0%   { filter: drop-shadow(0 0 6px #ffffff40) brightness(1);   opacity: 0.3; }
    50%  { filter: drop-shadow(0 0 32px #ffffffb0) brightness(1.15); opacity: 0.3; }
    100% { filter: drop-shadow(0 0 6px #ffffff40) brightness(1);   opacity: 0.3; }
}

/* Movimiento sutil como un latido/flotación */
@keyframes network-brain-move {
    0%   { transform: scale(1)       translateY(0);              }
    20%  { transform: scale(1.012)   translate(-2px,-3px);       }
    40%  { transform: scale(0.993)   translate( 2px, 3px);       }
    60%  { transform: scale(1.008)   translate(-1px,-2px);       }
    80%  { transform: scale(0.995)   translate( 1px, 2px);       }
    100% { transform: scale(1)       translateY(0);              }
}

.neuron-glow {
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    animation: neuron-blink 2.5s infinite;
}

@keyframes neuron-blink {
    0%, 100% { opacity: 0;   }
    10%,60%  { opacity: 0.3; }
    70%      { opacity: 0.15;}
}
/* ---------- Fin red neuronal ---------- */

/* ----------------------------------------------------------------- */
/* ---------- ESTILOS ORIGINALES (SIN CAMBIOS) ---------------------- */
/* ----------------------------------------------------------------- */
/* Logo centrado arriba, fijo, totalmente independiente */
.signin-logo {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    justify-content: center;
    width: 100%;
    pointer-events: none; /* Para no interferir jamás */
    user-select: none;
}
.signin-logo img {
    max-width: 350px;
    width: auto;
    display: block;
    margin: 0 auto;
    pointer-events: none;
    user-select: none;
}
.btn-volver {
    position: fixed;
    top: 22px;
    left: 18px;
    z-index: 11000;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0,0,0,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s, background 0.2s;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    backdrop-filter: blur(1.5px);
}
.btn-volver:hover, .btn-volver:focus {
    opacity: 1;
    background: rgba(0,0,0,0.28);
}
.btn-volver svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
/* TEXTO PEQUEÑO INFERIOR CENTRADO */
.signin-footer-aviso {
    position: fixed;
    left: 0;
    bottom: 12px;
    width: 100vw;
    text-align: center;
    z-index: 9999;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 9px;
    color: rgba(255,255,255,0.50);
    letter-spacing: 0.02em;
    user-select: none;
    pointer-events: none;
    font-weight: 400;
}
.signin-checkbox {
    display: none;
}
.signin-form-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 0;
    background-color: var(--blue-ribbon);
    transition: width 2s;
    z-index: 10;
}
#signin-finish:checked ~ .signin-form-progress {
    width: 100vw;
    transition: width 2s;
}
.signin-form-cont {
    width: 180px;
    height: 65px;
    z-index: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.signin-form {
    position: relative;
    width: inherit;
    height: inherit;
    background-color: var(--white);
    box-shadow: 0 5px 10px -2px rgba(0,0,0,0.2), 0 2px 4px -1px rgba(0,0,0,0.3);
    z-index: 3;
}
.signin-form-toggle {
    width: inherit;
    height: inherit;
    font-size: 18px;
    color: #000000;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.signin-form-toggle-icon {
    display: inline-block;
    margin-left: 10px;
    position: relative;
    width: 15px;
    height: 17px;
}
.signin-form-toggle-icon::before,
.signin-form-toggle-icon::after {
    content: "";
    position: absolute;
    background-color: var(--torch-red);
}
.signin-form-toggle-icon::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.signin-form-toggle-icon::after {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7px;
    border-radius: 7px 7px 0 0;
}
.signin-form-group {
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    padding: 12px 15px;
    box-sizing: border-box;
    transition: 0.2s 0.2s;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
}
.signin-form-label {
    position: relative;
    cursor: pointer;
    width: calc(100% - 40px);
    height: 100%;
    display: flex;
    align-items: flex-end;
}
.signin-form-input {
    font-size: 20px;
    font-family: inherit;
    width: 100%;
    height: 90%;
    border: 0;
    outline: 0;
    color: var(--black);
    box-sizing: border-box;
    cursor: pointer;
    background: transparent;
    padding: 0;
}
.signin-form-input:focus ~ .signin-form-group-label,
.signin-form-input:not(:placeholder-shown) ~ .signin-form-group-label {
    font-size: 10px;
    top: -4px;
    transform: translateY(0);
    color: #000000;
    transition: 0.3s;
}
.signin-form-input:focus ~ .signin-form-border,
.signin-form-input:not(:placeholder-shown) ~ .signin-form-border,
.signin-form-input:focus ~ .signin-form-next,
.signin-form-input:not(:placeholder-shown) ~ .signin-form-next {
    transition: 0.3s;
}
.signin-form-input:focus {
    cursor: initial;
}
.signin-form-group-label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: 0.2s;
    pointer-events: none;
    color: #000000;
    font-size: 16px;
}
.signin-form-border {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    color: var(--torch-red);
    background-color: currentColor;
    transition: 1s 0.2s ease-out;
}
.signin-form-next {
    color: var(--scorpion);
    position: absolute;
    right: -40px;
    height: 100%;
    width: 40px;
    cursor: pointer;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: 0.3s;
}
.signin-form-next-password {
    color: var(--scorpion);
    height: 100%;
    width: 40px;
    cursor: pointer;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: 0.3s;
}
.signin-form-back {
    color: var(--torch-red);
    height: 100%;
    margin-right: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.3s;
}
/* Visibilidad y pasos del formulario */
.signin-checkbox:nth-of-type(1):checked ~ .signin-form-cont .signin-form-toggle {
    visibility: hidden;
    opacity: 0;
    transform: scale(0.7);
    transition: 0.2s;
}
.signin-checkbox:nth-of-type(1):checked ~ .signin-form-cont .signin-form {
    min-width: 382px;
    transition: width 0.3s;
}
.signin-checkbox:nth-of-type(1):checked ~ .signin-form-cont .signin-form-group:nth-child(1) {
    visibility: visible;
    opacity: 1;
    transition: 0.2s 0.2s;
}
.signin-checkbox:nth-of-type(1):checked ~ .signin-form-cont .signin-form-group:nth-child(1) .signin-form-border {
    width: 100%;
}
.signin-checkbox:nth-of-type(1):checked ~ .signin-form-cont .signin-form-group:nth-child(1) .signin-form-input:not(:placeholder-shown):invalid ~ .signin-form-border {
    color: var(--torch-red);
}
.signin-checkbox:nth-of-type(1):checked ~ .signin-form-cont .signin-form-group:nth-child(1) .signin-form-input:not(:placeholder-shown):invalid ~ .signin-form-next {
    color: var(--scorpion);
}
.signin-checkbox:nth-of-type(1):checked ~ .signin-form-cont .signin-form-group:nth-child(1) .signin-form-input-valid ~ .signin-form-next {
    pointer-events: initial !important;
    color: var(--torch-red) !important;
}
.signin-checkbox:nth-of-type(2):checked ~ .signin-form-cont .signin-form-group:nth-child(1) {
    visibility: hidden;
    opacity: 0;
}
.signin-checkbox:nth-of-type(2):checked ~ .signin-form-cont .signin-form-group:nth-child(2) {
    visibility: visible;
    opacity: 1;
}
.signin-checkbox:nth-of-type(2):checked ~ .signin-form-cont .signin-form-group:nth-child(2) .signin-form-border {
    width: 100%;
}
.signin-checkbox:nth-of-type(2):checked ~ .signin-form-cont .signin-form-group:nth-child(2) .signin-form-input:not(:placeholder-shown):invalid ~ .signin-form-border {
    color: var(--torch-red);
}
.signin-checkbox:nth-of-type(2):checked ~ .signin-form-cont .signin-form-group:nth-child(2) .signin-form-input:not(:placeholder-shown):invalid ~ .signin-form-next-password {
    color: var(--scorpion);
}
.signin-password-label-checked {
    cursor: pointer !important;
    pointer-events: initial !important;
    color: var(--torch-red) !important;
}

.signin-valid-password {
    color: var(--torch-red) !important;
}
#signin-finish:checked ~ .signin-form-progress {
    width: 100vw;
    transition: width 2s;
}
#signin-finish:checked ~ .signin-form-cont .signin-form {
    transition: opacity 2s, transform 2s;
    opacity: 0;
    transform: translateX(50%) scaleX(0);
}
#signin-finish:checked ~ .signin-form-cont .signin-form-group:nth-child(2) {
    transition: 2s;
    visibility: hidden;
    opacity: 0;
}
.signin-last-tech {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    background: transparent !important;
    transition: opacity 0.4s cubic-bezier(.33,1.25,.68,1) 0s;
}
.signin-last-tech.visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.4s cubic-bezier(.33,1.25,.68,1) 0s;
}
.signin-last-tech-content {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.35;
    text-align: center;
    font-weight: 500;
    font-family: 'Open Sans', system-ui, Arial, sans-serif;
    padding: 36px 46px;
    border-radius: 22px;
    background: transparent !important;
    box-shadow: none;
    text-shadow: 0 2px 18px rgba(16, 20, 50, 0.39), 0 1px 0 #2223;
    backdrop-filter: none;
    min-width: 250px;
    max-width: 90vw;
    letter-spacing: 0.01em;
    white-space: pre-line;
    min-height: 2.7em;
    display: flex;
    align-items: center;
}
.c-ia-circle-inline {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    border-radius: 50%;
    background: var(--torch-red);
    vertical-align: middle;
    margin-right: 0.45em;
    animation: c-ia-pulse 1s infinite;
}
@keyframes c-ia-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(253,106,75,0.5); }
    80%  { box-shadow: 0 0 0 7px rgba(253,106,75,0); }
    100% { box-shadow: 0 0 0 0 rgba(253,106,75,0); }
}
.signin-last-tech-content .typed {
    border-right: 0.13em solid #fff6;
    animation: blink-caret .7s steps(1) infinite;
}
@keyframes blink-caret {
    0%, 100% { border-color: transparent; }
    50% { border-color: #fff6; }
}
@media (max-width: 700px) {
    .signin-logo img {
    max-height: 150px; /* Reducido en 25% respecto a 200px */
    }
    .signin-last-tech-content {
    font-size: 0.9rem;
    padding: 22px 7vw;
    border-radius: 16px;
    min-width: 140px;
    }
    .c-ia-circle-inline {
    width: 0.65em;
    height: 0.65em;
    margin-right: 0.25em;
    }
    .btn-volver {
    top: 10px;
    left: 8px;
    width: 34px;
    height: 34px;
    }
    .btn-volver svg {
    width: 18px;
    height: 18px;
    }
    .signin-footer-aviso {
    font-size: 8px;
    bottom: 6px;
    }
}