* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #e8e8e8;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.login-box {
    background: #f5f5f5;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.logo-section {
    margin-bottom: 20px;
}

.logo {
    margin-bottom: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: #5a4d9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    margin: 0 auto;
}

.system-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.system-subtitle {
    font-size: 14px;
    color: #666;
}

.login-tip {
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background: white;
}

.form-input:focus {
    border-color: #5a4d9d;
}

.form-input::placeholder {
    color: #999;
}

.login-btn {
    padding: 10px;
    background: #5a4d9d;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin-top: 5px;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #4a3d8d;
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.register-btn {
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #e8e8e8;
}

.register-link {
    margin-top: 20px;
    font-size: 13px;
}

.register-link a {
    color: #5a4d9d;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 30px;
}

.footer .copyright,
.footer .icp {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px 20px;
    }
    
    .system-title {
        font-size: 20px;
    }
}