/* 登录表单整体样式（框架变大） */
.login-form {
    width: 75%; /* 调整宽度，使整体更宽 */
    max-width: 500px; /* 增加最大宽度，使其更稳重 */
    margin: 50px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* 标签样式 */
.login-form label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    align-self: flex-start; /* 让标签左对齐 */
}

/* 输入框样式（长度适中） */
.login-input {
    width: 90%; /* 控制输入框长度，使其不过长 */
    max-width: 350px; /* 避免在大屏幕上过长 */
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: transparent;
    color: white;
    outline: none;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 输入框聚焦效果 */
.login-input:focus {
    border-color: #66b3ff;
    box-shadow: 0 0 6px rgba(102, 179, 255, 0.6);
}

/* 提交按钮 */
.login-button {
    width: 95%; /* 让按钮和输入框长度一致 */
    max-width: 360px; /* 确保不会太长 */
    padding: 12px 16px;
    background: #66b3ff;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* 按钮悬停效果 */
.login-button:hover {
    background: #5599dd;
    transform: scale(1.05);
}

/* 按钮点击效果 */
.login-button:active {
    background: #4488cc;
    transform: scale(0.98);
}

/* 通用表单容器 */
.form-container {
    width: 75%;
    max-width: 500px;
    margin: 50px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* 标签样式 */
.form-container label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    align-self: flex-start; /* 让标签左对齐 */
}

/* 输入框 */
.form-input {
    width: 90%;
    max-width: 350px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: transparent;
    color: white;
    outline: none;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 输入框聚焦效果 */
.form-input:focus {
    border-color: #66b3ff;
    box-shadow: 0 0 6px rgba(102, 179, 255, 0.6);
}

/* 提交按钮 */
.form-button {
    width: 95%;
    max-width: 360px;
    padding: 12px 16px;
    background: #66b3ff;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* 按钮悬停效果 */
.form-button:hover {
    background: #5599dd;
    transform: scale(1.05);
}

/* 按钮点击效果 */
.form-button:active {
    background: #4488cc;
    transform: scale(0.98);
}