html,
body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

.container-fluid,
.row.g-0 {
    height: 100vh;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

.row.g-0 {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.col-left {
    flex: 3 1 0;
    min-width: 0;
    padding: 0 !important;
}

.col-right {
    flex: 2 1 0;
    min-width: 0;
    padding: 0 !important;
}

.login-left {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.login-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1);
}

.login-img-bg.active {
    opacity: 1;
    z-index: 1;
}

.login-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(41, 61, 32, 0.18);
    z-index: 2;
}

.form-container {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    transition: background 0.3s;
    padding: 0 !important;
    margin: 0 !important;
}

.form-login {
    width: 100%;
    max-width: 350px;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px 6px rgba(89, 186, 71, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.logo-sei {
    width: 160px;
    margin-bottom: 28px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-sei {
    background: #59ba47;
    color: #fff;
    border: none;
}

.btn-sei:hover {
    background: #428a34;
    color: #fff;
}

.google-btn {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
}

.google-btn img {
    width: 20px;
    margin-right: 8px;
}

.forgot-link {
    color: #59ba47;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {

    .col-left,
    .col-right {
        flex: 1 1 0 !important;
    }
}

@media (max-width: 767px) {

    .login-left,
    .col-left {
        display: none !important;
    }

    .form-container {
        min-height: 100vh !important;
        height: 100vh !important;
    }
}

.password-recovery .form-container { height: auto; min-height: 100dvh; padding: 32px 24px !important; }
.password-recovery .recovery-form { width: 100%; max-width: 350px; }
.password-recovery h1 { color: #428a34; font-size: 1.5rem; font-weight: 700; }
.password-recovery .btn-sei { background: #3d8030; }
.password-recovery .btn-sei:hover { background: #326b27; }
.password-recovery .forgot-link { color: #35732a; }
.password-recovery .form-control, .password-recovery .btn { min-height: 44px; }
.password-recovery .back-link { display: inline-flex; align-items: center; min-height: 44px; }
.password-recovery :focus-visible { outline: 3px solid #428a34; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .login-img-bg { transition: none; } }
