.login-page-body {
    font-family: "Roboto", sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.login-page-body p {
    color: #b3b3b3;
    font-weight: 300;
    margin: 0;
}

.login-page-body h1, 
.login-page-body h2, 
.login-page-body h3, 
.login-page-body h4, 
.login-page-body h5, 
.login-page-body h6 {
    font-family: "Roboto", sans-serif;
    margin: 0 0 10px 0;
}

.login-page-body .text-danger {
    font-size: 12px;
    margin-top: 5px;
    display: block;
    margin-bottom: 0;
}

.login-page-body .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    height: 100%;
}

.login-page-body .row {
    margin: 0;
    height: 100%;
}

.login-page-body .col-md-7 {
    padding: 0 40px;
}

@media (max-width: 991.98px) {
    .login-page-body .col-md-7 {
        padding: 0 20px;
    }
}

.login-half {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.login-half .container {
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.login-half .row {
    width: 100%;
    height: 100%;
    margin: 0;
}

.login-half .contents {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.login-half .bg-image {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('../images/bg-login.jpg');
    flex-shrink: 0;
}

/* --- Panel hero: imagen + overlay + proceso --- */
.login-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    --login-accent-green: #34d399;
    --login-accent-orange: #f97316;
}

/* TEMP: ocultar overlay y texto informativo; solo mostrar imagen */
.login-hero__overlay {
    display: none;
}

.login-hero__content {
    display: none !important;
}

/*
.login-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(12, 18, 32, 0.92) 0%,
        rgba(12, 18, 32, 0.78) 45%,
        rgba(12, 18, 32, 0.88) 100%
    );
    pointer-events: none;
}
*/

.login-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2.5rem 2.75rem;
    color: #e8edf4;
    overflow-y: auto;
}

.login-page-body .login-hero .login-hero__eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--login-accent-green);
    margin: 0 0 1.15rem;
}

.login-page-body .login-hero .login-hero__title {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 2.8vw, 2.4rem);
    font-weight: 500;
    line-height: 1.22;
    color: #fff;
    margin: 0 0 1rem;
}

.login-page-body .login-hero .login-hero__lead {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(232, 237, 244, 0.78);
    margin: 0 0 2rem;
    max-width: none;
}

.login-page-body .login-hero .login-hero__compact-flow {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    color: #fff;
    margin: 0;
}

.login-hero__compact-flow span {
    color: var(--login-accent-green);
    margin: 0 0.35rem;
}

.login-hero__content--compact {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem 1.5rem;
}

.login-process {
    list-style: none;
    margin: 0;
    padding: 0;
}

.login-process__step {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 0 1.25rem;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-process__step:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-process__num {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.75rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.35);
}

.login-page-body .login-hero .login-process__name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0.45rem;
}

.login-page-body .login-hero .login-process__desc {
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.45;
    color: rgba(232, 237, 244, 0.7);
    margin: 0 0 0.75rem;
}

.login-process__states {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
}

.login-page-body .login-hero .login-process__states li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(232, 237, 244, 0.85);
    margin: 0;
}

.login-page-body .login-hero .login-process__states li:has(.login-process__dot--warn) {
    color: var(--login-accent-orange);
}

.login-process__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.login-process__dot--ok {
    background-color: var(--login-accent-green);
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.45);
}

.login-process__dot--warn {
    background-color: #f97316;
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.4);
}

.login-process-mobile {
    font-size: 0.85rem;
    color: #888;
    margin: -1rem 0 1.5rem;
    letter-spacing: 0.02em;
}

@media (min-width: 1200px) {
    .login-half .bg-image {
        width: 60%;
    }

    .login-half .contents {
        width: 40%;
    }

    .login-hero__content--full {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .login-hero__content--compact {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .login-hero__content--full {
        display: none;
    }

    .login-hero__content--compact {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .login-half {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-half .contents {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        order: 1;
    }

    .login-page-body {
        height: auto;
        overflow-y: auto;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .login-half {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-half .contents {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        order: 2;
    }

    .login-half .bg-image {
        width: 100%;
        height: 200px;
        order: 1;
    }

    .login-page-body {
        height: auto;
        overflow-y: auto;
    }
}

.login-half .contents .form-group {
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid #efefef;
    padding: 15px 20px;
    border-bottom: none;
    position: relative;
    background: #fff;
}

.login-half .contents .form-group label {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    left: 20px;
    font-size: 14px;
    display: block;
    margin-bottom: 0;
    color: #b3b3b3;
    pointer-events: none;
    font-weight: 400;
}

.login-half .contents .form-group input:focus + label,
.login-half .contents .form-group input:not(:placeholder-shown) + label {
    margin-top: -28px;
    font-size: 12px;
    color: #007bff;
}

.login-half .contents .form-group.field--not-empty label {
    margin-top: -28px;
    font-size: 12px;
}

.login-half .contents .form-group.first {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.login-half .contents .form-group.last {
    border-bottom: 1px solid #efefef;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.login-half .contents .form-control {
    border: none;
    padding: 0 20px;
    font-size: 16px;
    border-radius: 0;
    height: 54px;
    background: transparent;
    font-weight: 400;
    width: 100%;
}

.login-half .contents .form-control:active,
.login-half .contents .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.login-half a {
    color: #888;
    text-decoration: underline;
}

.login-half .btn-login {
    height: 54px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 7px;
    background: var(--color-primary-bg);
    border-color: var(--color-primary-bg);
    width: 100%;
}

.login-half .btn-login:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.login-half .forgot-pass {
    position: relative;
    top: 2px;
    font-size: 14px;
}

.social-login a {
    display: block;
    text-decoration: none;
    display: block;
    position: relative;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 4px;
    padding: 12px;
    font-weight: 500;
}

.social-login a:hover {
    color: #fff;
    opacity: 0.9;
}

.social-login a.facebook {
    background: #3b5998;
}

.social-login a.twitter {
    background: #1da1f2;
}

.social-login a.google {
    background: #ea4335;
}

.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 0;
}

.control .caption {
    position: relative;
    top: .2rem;
    color: #888;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 4px;
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #ccc;
}

.control input:checked ~ .control__indicator {
    background: #007bff;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #1a88ff;
}

.control__indicator:after {
    font-family: 'icomoon';
    content: '\e5ca';
    position: absolute;
    display: none;
    font-size: 16px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.control input:checked ~ .control__indicator:after {
    display: block;
    color: #fff;
    top: 50%;
    left: 50%;
    margin-top: -1px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.login-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.login-subtitle {
    color: #b3b3b3;
    font-weight: 300;
    margin-bottom: 30px;
}

.login-error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-error-message ul {
    margin: 0;
    padding-left: 20px;
}

