body.login-page {
    background: linear-gradient(120deg, #f8fafc 0%, #eaf3ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #347aff 0%, #43eaff 100%);
}

.login-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 48px 0 rgba(52,122,255,0.10);
    width: 370px;
    padding: 60px 36px 40px 36px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.login-logo {
    text-align: center;
    margin-bottom: 36px;
}
.login-logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #222;
    letter-spacing: 1px;
}
.login-logo p {
    color: #8a97b1;
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.login-form {
    width: 100%;
}
.login-form .form-group {
    margin-bottom: 26px;
    position: relative;
}
.login-form label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}
.login-form .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3b3b3;
    font-size: 20px;
    pointer-events: none;
}
.login-form .form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 16px;
    border: 1.5px solid #f8f8f9;
    border-radius: 12px;
    font-size: 16px;
    background: #f7f8fa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.login-form .form-control:focus {
    border-color: #347aff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52,122,255,0.10);
}
.login-form .form-group.has-error .form-control {
    border-color: #ff4d4f;
    background: #fff;
}

.login-form .error-message {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 6px;
    min-height: 20px;
    display: flex;
    align-items: center;
    padding-left: 4px;
}
.login-form .error-message:empty { display: none; }
.login-form .error-message::before {
    content: '!';
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    margin-right: 6px;
    font-size: 12px;
}

.login-form .btn {
    width: 100%;
    height: 48px;
    margin-top: 32px;
    background: linear-gradient(90deg, #347aff 0%, #43eaff 100%);
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(52,122,255,0.08);
}
.login-form .btn:hover {
    background: linear-gradient(90deg, #43eaff 0%, #347aff 100%);
    box-shadow: 0 4px 16px rgba(52,122,255,0.13);
}
.login-form .btn:active {
    box-shadow: none;
}
.login-form .btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
    background: linear-gradient(90deg, #347aff 0%, #43eaff 100%);
}
.login-form .btn.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    top: 50%;
    left: 50%;
    margin: -11px 0 0 -11px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-footer {
    text-align: center;
    margin-top: 32px;
    color: #b3bccc;
    font-size: 13px;
    opacity: 0.9;
}

@media screen and (max-width: 480px) {
    .login-box {
        width: 98%;
        padding: 24px 8px 18px 8px;
        margin: 0;
    }
    .login-logo h1 {
        font-size: 20px;
    }
}