.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
    /* 背景照片：将图片放在 admin/images/login-bg.jpg，支持 jpg/png/webp */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 轻遮罩，提亮背景照片同时保证登录框可读 */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    z-index: 0;
}

.login-box {
    width: 420px;
    padding: 48px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.login-form .form-item {
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
}

.login-form input:focus {
    border-color: #409eff;
}

.login-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
    border: none;
}

.login-button:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.5);
    transform: translateY(-2px);
}

.login-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
