html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.login-body {
    overflow: hidden;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    background: #070b22;
}

.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.login-shell {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-sizing: border-box;
}

.vs-login-card {
    position: relative;
    z-index: 20;
    width: 390px;
    max-width: 100%;
    padding: 42px 38px 32px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,248,252,0.94));
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255,255,255,0.35) inset;
    backdrop-filter: blur(18px);
}

.login-brand img {
    width: 118px;
    height: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.login-brand h6 {
    margin: 0 0 30px;
    font-size: 20px;
    font-weight: 800;
    color: #181348;
}

.login-form {
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
    text-align: left;
}

.input-icon {
    position: absolute;
    top: 15px;
    left: 12px;
    z-index: 2;
    color: #60606a;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    height: 48px;
    border: 0;
    border-bottom: 2px solid #cfcfd6;
    padding: 14px 10px 7px 48px;
    box-sizing: border-box;
    font-size: 15px;
    background: rgba(255,255,255,0.68);
    color: #111;
    outline: none;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.form-group input:focus {
    border-bottom-color: #1a1647;
    background: #fff;
    box-shadow: 0 8px 18px rgba(26, 22, 71, 0.08);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 38px;
    font-size: 14px;
    color: #92929c;
    pointer-events: none;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        color 0.18s ease;
}

/* .form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
    transform: translateY(-20px) scale(0.86);
    opacity: 0.75;
    color: #1a1647;
} */

.error_text {
    display: block;
    margin: 0 0 18px;
    padding: 9px 12px;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    background: #fdecea;
    color: #c0392b;
    font-size: 14px;
    text-align: left;
}

.remember-forgot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 12px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #222;
}

.remember input {
    margin: 0;
}

.forgot-password {
    color: #2f72ff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.18s ease;
}

.forgot-password:hover {
    color: #154fd0;
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a1647, #29206d);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(26, 22, 71, 0.28);
    background: linear-gradient(135deg, #241d5c, #342889);
}

.login-submit:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0 16px;
    font-size: 14px;
    color: #8b8b94;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dedee5;
}

.divider span {
    padding: 0 12px;
    white-space: nowrap;
}

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

.social-button {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #e5e5ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.social-button:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 22, 71, 0.28);
    box-shadow: 0 10px 22px rgba(26, 22, 71, 0.16);
}

.login-footer small,
.login-footer p {
    color: #91919a;
}

.login-footer small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.copyright {
    margin: 6px 0 0;
    font-size: 12px;
}

input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

@media (max-height: 760px) {
    .vs-login-card {
        transform: scale(0.92);
    }
}