/* gamemaster/css/login.css */

/* 1. 全局背景：宝塔原版深灰色 (#202020) */
body {
    background-color: #444444; 
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* 2. 白色卡片容器：宽度严格限制为 380px */
.auth-container {
    background: #fff;
    width: 380px; /* 严格宽度 */
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* 深色背景下的投影 */
    text-align: center;
    position: relative;
}

/* Logo 图片 */
.auth-container img.logo {
    height: 60px;
    margin-bottom: 25px;
}

/* 标题 */
.auth-container h2 {
    margin: 0 0 30px 0;
    font-size: 20px;
    color: #333;
    font-weight: normal;
}

/* 输入框组 */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    text-align: left;
}

/* 输入框样式 */
.input-group input {
    width: 100%;
    height: 42px; /* 固定高度 */
    padding: 0 12px;
    border: 1px solid #e4e4e4; /* 浅灰边框 */
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s;
    outline: none;
}

.input-group input:focus {
    border-color: #20a53a; /* 聚焦时变绿 */
}

/* 错误提示样式 */
.input-error {
    border-color: #ff4d4f !important;
}

.error-text {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* --------------------------
   核心：和充值页完全一致的验证码布局
-------------------------- */
.verify-group {
    display: flex;
    gap: 8px;
    align-items: center; /* 关键：垂直居中 */
}
.verify-group input {
    flex: 1;
    margin-bottom: 0 !important; /* 强制取消输入框下边距，防止撑开布局 */
}
.verify-code-img {
    width: 110px;
    height: 42px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
    color: #333;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0; /* 关键：防止验证码被压缩变形 */
}

/* 绿色按钮 */
.btn-submit {
    width: 100%;
    height: 42px;
    background-color: #20a53a; /* 宝塔绿 */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #1d9635;
}

/* 底部链接区域：左右对齐 */
.form-footer {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.form-footer a {
    color: #666;
    text-decoration: none;
}

.form-footer a:hover {
    color: #20a53a;
}