#loginPage {
    display: flex;
    justify-content: space-between;
    min-height: 100dvh;
    padding-top: 60px;
    align-items: center;
    background: var(--surface-white)
}

#loginPageLeft {
    width: 50%;
    height: calc(100dvh - 60px);
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.leftContent {
    width: 80%;
    height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



#loginPageRight {
    width: 50%;
    display: flex;
    justify-content: center;
    padding: 16px;
}

#loginPageRightContent {
    display: flex;
    width: 100%;
    max-width: 430px;
    padding: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: var(--transparent);
}

#loginPageRight h3 {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0;
    color: var(--gray-900);
    text-align: center;
}

#loginPageRight form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#loginPageRight button {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: var(--surface-button-primary);
    color: var(--accent-text);
    margin-top: 16px;
    box-shadow: 0 1px 2px var(--shadow-sm);
}

.inputItem {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.inputItem label {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--gray-900);
}

.inputItem input {
    height: 44px;
    padding: 0 12px;
    border-radius: 5px;
    border: 1px solid var(--border-subtle);
    background: var(--white);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
}

.google-login {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--white);
    box-shadow: 0 1px 2px var(--shadow-sm);
    cursor: pointer;
    flex-shrink: 0;
}

.google-login:hover {
    background-color: var(--bg-secondary);
    /* subtle hover effect */
}

.google-login .google-icon {
    flex-shrink: 0;
}

.google-login p {
    margin: 0;
}

.login-divider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-divider span {
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.login-divider p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--gray-600);
}

.password-wrapper {
    width: 100%;
}

.password-wrapper .password-input {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 12px;
    border-radius: 5px;
    border: 1px solid var(--border-subtle);
    background: var(--white);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
}

.password-wrapper svg path,
.password-wrapper svg circle {
    fill: var(--gray-600);
}

.forgot-password {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--blue-500);
}

.form-error {
    margin: 0;
    color: var(--danger-500);
    font-size: 14px;
    line-height: 1.4;
    min-height: 20px;
}

.login-bottom-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.sso-link {
    line-height: 1.5;
    font-size: 16px;
    font-weight: 600;
    color: var(--blue-500);
    text-align: center;
}

.loginswitch {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    color: var(--gray-900);
}

.loginswitch span {
    font-weight: 600;
    color: var(--blue-500);
}


@media (max-width: 850px) {
    #loginPage {
        min-height: 100vh;
    }

    #loginPageLeft {
        display: none;
    }

    #loginPageRight {
        width: 100%;
        padding: 0;
    }

    #loginPageRightContent {
        max-width: 430px;
        padding: 48px 16px;
        gap: 32px;
    }
}
