﻿
.login-form {
    font-family: system-ui;
    background-color: white;
    gap: 15px;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.login-form-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form .login-form-head {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.login-form-item .ismember {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #555;
    font-weight: bold;
}

.login-form-item .ismember a {
    margin-left: 1px;
    color: #3399ff;
    cursor: pointer;
    font-weight: bold;
}

.login-form-item .ismember a:hover{
    color: #3399ff;
}

.login-form-item input {
    display: block;
    width: 100%;
    height: 35px;
    background: transparent;
    border: solid 1px #ccc;
    transition: all .2s ease;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 4px;
}

.login-form-item input:focus {
    border-color: #0078d4;
    outline: none;
}

.login-form-item input + label {
    position: absolute;
    cursor: text;
    z-index: 2;
    top: 10px;
    left: 15px;
    font-size: 14px;
    color: #999;
    background: #fff;
    padding: 0 4px;
    transition: all .2s ease;
    font-weight: bold;
    font-size: 11px;
}

.login-form-item input:focus + label,
.login-form-item input:not(:placeholder-shown) + label {
    font-size: 11px;
    top: -8px;
    left: 10px;
    color: #0078d4;
}

.login-form-item .viewpass-icon-deactive {
    position: absolute;
    cursor: pointer;
    top: 6px;
    right: 10px;
    fill: #ccc;
}

.login-form-item .viewpass-icon-active {
    position: absolute;
    cursor: pointer;
    top: 6px;
    right: 10px;
    fill: #3399ff;
}

.login-form-item .btn {
    width: 100px;
    height: 35px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
}

.login-form-item.checkbox-item .iagree {
    display: block;
    width: 100%;
    text-align: left;
    color: #555;
    font-size: 12px;
}

.login-form-item.checkbox-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.login-form-item.checkbox-item label {
    position: static;
    color: #3399ff;
}

.login-form-item.checkbox-item input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0;
    cursor: pointer;
}

.login-form-item.checkbox-item a {
    margin-left: 1px;
    color: #3399ff;
    cursor: pointer;
    font-weight: bold;
    font-size: 11px;
}

.login-form-item.checkbox-item a:hover {
    color: #3399ff;
}

.top-row-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-row-header1 {
    position: absolute;
    font-size: small;
    font-weight: bold;
    top: 5px;
    z-index: 1;
}

.top-row-header2 {
    position: absolute;
    font-weight: bold;
    top: 25px;
    z-index: 1;
}

.bottom-row-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-row-footer1-login {
    position: absolute;
    font-size: small;
    font-weight: bold;
    bottom: 30px;
    z-index: 1;
}

.bottom-row-footer2-login {
    position: absolute;
    font-weight: bold;
    bottom: 5px;
    z-index: 1;
}