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

body {
    margin: 0;
    background: #FDFDFD;
    color: #263844;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

.login-header {
    height: 24px;
    background: #1f9ec5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #1f9ec5;
}

.login-brand {
    width: 100%;
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    margin-bottom: 10px;
}

.login-brand img {
    max-width: 300px;
    height: auto;
    width: 260px; /* ajusta el valor */
}

.login-brand-mobile {
    justify-content: center;
}

.login-section {
    min-height: calc(100vh - 110px);
    overflow: hidden;
}

.login-layout {
    min-height: calc(100vh - 110px);
    display: flex;
}

.login-hero {
    padding: 0;
    background: #eaf5f8;
}

.login-carousel-wrap,
#carouselImagenes,
#carouselImagenes .carousel-inner,
#carouselImagenes .item {
    height: 100%;
}

#carouselImagenes {
    background: #eaf5f8;
}

.hero-slide {
    background-color: #eaf5f8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-empty {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.hero-slide-empty img {
    width: 220px;
    max-width: 60%;
    opacity: 0.9;
}

.carousel-control {
    width: 8%;
    background-image: none !important;
    opacity: 0.25;
}

.carousel-control:hover,
.carousel-control:focus {
    opacity: 0.55;
}

.carousel-indicators li {
    border-color: #1f9ec5;
}

.carousel-indicators .active {
    background: #1f9ec5;
}

.login-panel {
    min-height: calc(100vh - 110px);
    padding: 34px 38px;
    background: #ffffff;
    border-left: 1px solid #d9e6ec;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.login-card-header {
    margin-bottom: 26px;
}

.login-card-logo {
    display: block;
    max-width: 150px;
    max-height: 54px;
    margin: 0 auto 22px;
    object-fit: contain;
}

.login-card-header h1 {
    margin: 0 0 8px;
    color: #17313f;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.login-card-header p {
    margin: 0;
    color: #647783;
    font-size: 15px;
    line-height: 1.5;
}

.login-card label {
    color: #334b59;
    font-size: 13px;
    font-weight: 600;
}

.login-input-group .input-group-addon {
    /* width: 46px; */
    background: #eef7fa;
    color: #147fa2;
    border-color: #cbdce4;
}

.login-input-group .form-control,
.login-card > .form-group > .form-control {
    height: 44px;
    border-color: #cbdce4;
    box-shadow: none;
    font-size: 14px;
}

.login-input-group .form-control:focus,
.login-card > .form-group > .form-control:focus {
    border-color: #1f9ec5;
    box-shadow: 0 0 0 2px rgba(31, 158, 197, 0.12);
}

.login-actions {
    margin-top: 24px;
    text-align: center;
}

.login-submit {
    height: 46px;
    border: 0;
    border-radius: 4px;
    background: #1f9ec5;
    font-weight: 700;
    box-shadow: none;
}

.login-submit:hover,
.login-submit:focus {
    background: #147fa2;
}

.login-submit i {
    margin-right: 8px;
}

.login-link {
    display: inline-block;
    margin-top: 14px;
    color: #147fa2;
    font-weight: 600;
}

.login-link:hover,
.login-link:focus {
    color: #0c5e79;
}

.login-divider {
    width: 100%;
    height: 1px;
    margin: 22px 0 16px;
    background: #e5edf1;
}

.login-trial {
    text-align: center;
}

.login-footer-links {
    width: 100%;
    max-width: 420px;
    margin: 30px auto 0;
    text-align: center;
    color: #6a7f8c;
}

.login-footer-links h5 {
    margin: 0 0 12px;
    font-weight: 600;
}

.social-icon {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.social-icon a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef7fa;
    font-size: 17px;
}

.social-icon .facebook {
    color: #2f5d9c;
}

.social-icon .instagram {
    color: #d65376;
}

.social-icon .youtube {
    color: #c72929;
}

.login-sites {
    font-size: 13px;
}

.login-sites a {
    color: #147fa2;
}

.login-sites span {
    color: #a5b5bd;
    margin: 0 6px;
}

.login-back {
    width: 100%;
    max-width: 420px;
    margin: 14px auto 0;
}

.login-loading {
    text-align: center;
}

.login-loading #imgOk {
    max-width: 84px;
    margin: 0 auto 18px;
}

.login-footer {
    height: 40px;
    background: #1f9ec5;
}

@media (max-width: 767px) {
    .login-header {
        height: 64px;
    }

    .login-brand {
        height: 64px;
        padding: 0 18px;
    }

    .login-brand img {
        max-height: 46px;
    }

    .login-section,
    .login-layout,
    .login-panel {
        min-height: calc(100vh - 104px);
    }

    .login-layout {
        display: block;
    }

    .login-panel {
        padding: 26px 22px;
        border-left: 0;
        justify-content: flex-start;
    }

    .login-card {
        max-width: 100%;
    }

    .login-card-header {
        text-align: center;
        margin-bottom: 24px;
    }

    .login-card-header h1 {
        font-size: 27px;
    }

    .login-footer-links {
        margin-top: 26px;
    }

    .login-footer {
        height: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .login-panel {
        padding: 30px 24px;
    }

    .login-card-header h1 {
        font-size: 27px;
    }
}
