/* 醉江湖通用样式 - 复活页面/表单页面共用 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", SimHei, serif;
    color: #333;
    padding: 5px 0;
    text-align: center;
    margin:0;
}

a:link, a:visited {
    text-decoration: none;
    color: #999999;
}

a:hover {
    color: #C63800;
    text-decoration: underline;
}

/* ===== 外层容器（BG1边框背景） ===== */
.reg-container {
    width: 100%;
    max-width: 600px;
    min-width: 320px;
    margin: 0 auto;
    background: url(images/BG1.GIF) repeat;
    padding: 15px;
    border: 1px solid #333;
}

/* ===== 内层内容（BGROUND背景） ===== */
.reg-inner {
    background: url(images/BGROUND.GIF) repeat;
    width: 100%;
    padding: 15px;
    border: 1px solid #333;
}

/* ===== 标题样式 ===== */
h1 {
    font-size: 24px;
    color: #de0000;
    line-height: 10px;
    height: 30px;
    text-align: center;
    margin-top: 10px;
}

/* ===== 表单区域 ===== */
.reg-form {
    padding: 15px 0;
}

.reg-table {
    width: 350px;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    border-spacing: 0;
}

.reg-table td {
    padding: 0;
    border: none;
    vertical-align: middle;
}

.input-row td {
    padding: 0 5px !important;
}

.gap-row {
    height: 20px !important;
    line-height: 20px !important;
}

.td-label {
    width: 80px;
    text-align: right;
    padding-right: 15px !important;
    color: #444;
    font-weight: bold;
    white-space: nowrap;
}

.td-input-double {
    width: 210px;
    text-align: left;
}

/* ===== 输入框 ===== */
.reg-input {
    width: 190px;
    padding: 8px 10px;
    border: 1px solid #a1887a;
    background: #fff;
    font-size: 16px;
    color: #333;
    -webkit-appearance: none;
    border-radius: 0;
}

/* ===== 密码显示隐藏 ===== */
.password-container {
    position: relative;
    display: inline-block;
}

.password-container input {
    padding-right: 30px !important;
}

.toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    width: 21px;
    height: 12px;
    margin-top: -6px;
    cursor: pointer;
}

/* ===== 按钮样式 ===== */
.submit-btn {
    width: 100px;
    height: 36px;
    line-height: 36px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #999;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0;
    display: inline-block;
    margin: 0 5px;
}

.submit-btn:hover {
    background: #e0e0e0;
    border-color: #666;
}

/* ===== 底部 ===== */
#footer {
    font-size: 14px;
    color: #999999;
    margin: 15px auto 0;
    padding: 15px 0 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* ===== 手机端适配 ===== */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
}