html,
body {
    min-height: 100%;
}

body {
    font-family: Montserrat, Arial, Helvetica, sans-serif;
}

.gradient-custom {
    min-height: 100vh;
    background:
        radial-gradient(circle at 13% 18%, rgba(255, 200, 87, 0.36), transparent 18%),
        radial-gradient(circle at 22% 72%, rgba(244, 109, 117, 0.26), transparent 24%),
        radial-gradient(circle at 78% 16%, rgba(184, 236, 244, 0.42), transparent 25%),
        radial-gradient(circle at 88% 72%, rgba(114, 200, 120, 0.34), transparent 24%),
        linear-gradient(135deg, #12324f 0%, #117197 34%, #10a9d1 62%, #20b978 100%);
    overflow-x: hidden;
}

.login-select {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-select::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.login-select__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.login-select__shape {
    position: absolute;
    display: block;
    opacity: 0.88;
    animation: loginFloat 7s ease-in-out infinite;
}

.login-select__shape--circle {
    border-radius: 50%;
}

.login-select__shape--bar {
    border-radius: 999px;
    transform: rotate(16deg);
}

.login-select__shape--ring {
    border-radius: 50%;
    background: transparent;
}

.login-select__shape--cyan {
    width: 168px;
    height: 168px;
    left: 8%;
    top: 12%;
    background: rgba(184, 236, 244, 0.55);
}

.login-select__shape--green {
    width: 96px;
    height: 96px;
    right: 12%;
    top: 20%;
    background: rgba(114, 200, 120, 0.62);
    animation-delay: -1.4s;
}

.login-select__shape--yellow {
    width: 132px;
    height: 132px;
    right: 18%;
    bottom: 12%;
    background: rgba(255, 200, 87, 0.72);
    animation-delay: -2.1s;
}

.login-select__shape--coral {
    width: 76px;
    height: 76px;
    left: 19%;
    bottom: 17%;
    background: rgba(244, 109, 117, 0.72);
    animation-delay: -3s;
}

.login-select__shape--aqua {
    width: 220px;
    height: 220px;
    right: 5%;
    bottom: -82px;
    background: rgba(184, 236, 244, 0.36);
    animation-delay: -4.1s;
}

.login-select__shape--small-yellow {
    width: 54px;
    height: 54px;
    left: 33%;
    top: 16%;
    background: rgba(255, 200, 87, 0.78);
    animation-delay: -1.9s;
}

.login-select__shape--blue {
    width: 220px;
    height: 48px;
    left: -56px;
    bottom: 28%;
    background: rgba(17, 113, 151, 0.62);
    animation-delay: -0.8s;
}

.login-select__shape--green-bar {
    width: 180px;
    height: 38px;
    right: -42px;
    top: 48%;
    background: rgba(32, 185, 120, 0.56);
    animation-delay: -2.7s;
}

.login-select__shape--coral-bar {
    width: 260px;
    height: 42px;
    left: 22%;
    top: 8%;
    background: rgba(244, 109, 117, 0.42);
    animation-delay: -3.8s;
}

.login-select__shape--yellow-bar {
    width: 190px;
    height: 34px;
    right: 9%;
    top: 34%;
    background: rgba(255, 200, 87, 0.48);
    transform: rotate(-12deg);
    animation-delay: -2.2s;
}

.login-select__shape--cyan-bar {
    width: 150px;
    height: 28px;
    left: 12%;
    top: 46%;
    background: rgba(184, 236, 244, 0.34);
    transform: rotate(-18deg);
    animation-delay: -4.6s;
}

.login-select__shape--soft-blue-bar {
    width: 230px;
    height: 36px;
    right: 14%;
    bottom: 22%;
    background: rgba(0, 166, 214, 0.28);
    transform: rotate(10deg);
    animation-delay: -1.6s;
}

.login-select__shape--ring-cyan {
    width: 310px;
    height: 310px;
    left: -92px;
    top: -92px;
    border: 34px solid rgba(184, 236, 244, 0.22);
    animation-delay: -1.1s;
}

.login-select__shape--ring-yellow {
    width: 240px;
    height: 240px;
    right: 26%;
    bottom: 4%;
    border: 28px solid rgba(255, 200, 87, 0.24);
    animation-delay: -2.4s;
}

@keyframes loginFloat {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -18px, 0) rotate(4deg); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.login-select .container {
    position: relative;
    z-index: 2;
}

.login-select__card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 80px rgba(20, 33, 61, 0.22);
    backdrop-filter: blur(16px);
}

.login-select__brand-panel {
    min-height: 430px;
    place-items: center;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(145deg, #0fa8d2 0%, #00a6d6 58%, #117197 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .login-select__brand-panel {
        display: grid !important;
    }
}

.login-select__brand-panel::before,
.login-select__brand-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.login-select__brand-panel::before {
    width: 210px;
    height: 210px;
    right: -72px;
    top: -62px;
    background: rgba(255, 200, 87, 0.86);
}

.login-select__brand-panel::after {
    width: 170px;
    height: 170px;
    left: -58px;
    bottom: -52px;
    background: rgba(114, 200, 120, 0.74);
}

.login-select__mark {
    width: min(310px, 74%);
    position: relative;
    z-index: 2;
    border-radius: 8px;
    filter: drop-shadow(0 16px 34px rgba(20, 33, 61, 0.16));
}

.login-select__form-panel {
    background: #ffffff;
}

.login-select__body {
    width: 100%;
}

.login-select__brand-logo {
    width: min(174px, 52%);
    height: auto;
    margin: 0 0 28px;
}

.login-select__body h3 {
    margin-bottom: 26px !important;
    color: #14213d;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0 !important;
}

#empresa.form-control {
    min-height: 54px;
    border: 1px solid #d7e7ee;
    border-radius: 6px;
    padding: 0 16px;
    color: #14213d;
    font-size: 16px;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

#empresa.form-control:focus {
    border-color: #00a6d6;
    box-shadow: 0 0 0 4px rgba(0, 166, 214, 0.14);
}

#enviar.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    background: #20b978;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 14px 28px rgba(32, 185, 120, 0.24);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#enviar.btn:hover,
#enviar.btn:focus {
    background: #17a86c;
    box-shadow: 0 18px 34px rgba(32, 185, 120, 0.28);
    transform: translateY(-1px);
}

#enviar.btn:disabled {
    background: #97b8c3;
    box-shadow: none;
    transform: none;
}

#enviar.btn i {
    font-size: 16px;
}

.login-select__mobile-mark {
    margin-right: 12px;
}

.login-select__mobile-mark img {
    border-radius: 8px;
}

.spinner {
    color: #00a6d6;
}


/*INPUT PREDICTIVO*/

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 8px;
    margin: 8px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid rgba(0, 166, 214, 0.18);
    border-radius: 8px;
    -webkit-box-shadow: 0 18px 38px rgba(20, 33, 61, 0.14);
    box-shadow: 0 18px 38px rgba(20, 33, 61, 0.14);
    background-clip: padding-box;
}

.ui-autocomplete>li>div {
    display: block;
    padding: 10px 12px;
    clear: both;
    font-weight: 600;
    line-height: 1.42857143;
    color: #334155;
    white-space: nowrap;
    border-radius: 6px;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #007fa8;
    background-color: #edf9fd;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

@media (max-width: 991px) {
    .login-select .container {
        max-width: 760px;
    }

    .login-select__brand-panel {
        min-height: 380px;
    }
}

@media (max-width: 767px) {
    .login-select {
        min-height: auto;
    }

    .login-select .container {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .login-select__card {
        border-radius: 8px !important;
    }

    .login-select__form-panel {
        min-height: 0;
    }

    .login-select__body {
        padding: 30px 24px !important;
    }

    .login-select__body form {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
        column-gap: 16px;
    }

    .login-select__body form > .d-flex {
        width: auto;
        margin: 0 !important;
        padding: 0 !important;
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: end;
    }

    .login-select__mobile-mark {
        width: 44px;
        margin-right: 0;
    }

    .login-select__brand-logo {
        width: min(174px, 52%);
        margin: 0 0 16px;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
    }

    .login-select__body h3,
    .login-select__body .form-outline,
    .login-select__body .pt-1 {
        grid-column: 1 / -1;
    }

    .login-select__body h3 {
        font-size: 28px;
        line-height: 1.12;
    }

    .login-select__shape--cyan {
        width: 118px;
        height: 118px;
        left: -28px;
        top: 8%;
    }

    .login-select__shape--green,
    .login-select__shape--coral {
        display: none;
    }

    .login-select__shape--yellow {
        width: 96px;
        height: 96px;
        right: -30px;
        bottom: 16%;
    }

    .login-select__shape--blue {
        width: 150px;
        height: 34px;
        bottom: 8%;
    }

    .login-select__shape--yellow-bar,
    .login-select__shape--cyan-bar,
    .login-select__shape--soft-blue-bar {
        display: none;
    }
}
