/* Login Page Styles */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #f1f1f1;
    font-family: 'microsoft yahei', '微软雅黑', SimHei, '黑体';
    position: relative;
    overflow: hidden;
}

body:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    z-index: 0;
}

.login-wrap {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-title {
    background: #fff;
    padding: 30px 0;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-title h2 {
    color: #2eb670;
    font-size: 24px;
    text-align: center;
    font-weight: 500;
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
}

.login-form {
    padding: 40px 50px 50px;
    margin: 0 auto;
    background: #fff;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-form .input-group {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    box-sizing: border-box;
}

.login-form .input-group .input-field {
    position: relative;
    width: 100%;
    padding: 15px 20px 15px 50px;
    color: #333;
    font-size: 15px;
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    z-index: 1;
    background-color: #f9f9f9;
    -webkit-appearance: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.login-form .input-group .input-field:focus {
    outline: 0;
    border-color: #2eb670;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(46, 182, 112, 0.1);
}

.login-form .input-group {
    position: relative;
    margin-bottom: 25px;
    box-sizing: border-box;
}

.login-form .input-group:before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 2;
    pointer-events: none;
}

.login-form .input-group:first-of-type:before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 18H7V5h10v14z"/></svg>') no-repeat center;
    background-size: contain;
}

.login-form .input-group:nth-of-type(2):before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>') no-repeat center;
    background-size: contain;
}

.login-form .input-group .input-label {
    display: none;
}

.login-form .input-group .input-field::placeholder {
    color: #999;
    font-size: 14px;
}

.login-button {
    position: relative;
    margin-top: 30px;
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2eb670 0%, #1c8d50 100%);
    box-shadow: 0 4px 15px 0 rgba(46, 182, 112, 0.4);
    text-align: center;
    border-radius: 8px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(46, 182, 112, 0.5);
    background: linear-gradient(135deg, #1c8d50 0%, #2eb670 100%);
}

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

.login-button:focus {
    outline: 0;
}

.login-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.login-button:hover i {
    transform: translateX(3px);
}

.forget {
    text-align: right;
    font-size: 14px;
    margin-top: 15px;
}

.forget a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

.forget a:hover {
    color: #2eb670;
}

