/* 主体容器 */
#main {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    max-width: 600px; /* 调整最大宽度 */
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 垂直居中 */
    justify-content: center;
    min-height: 100vh; /* 垂直方向居中 */
}

/* 标题样式 */
#main .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px; /* 调整标题大小 */
    font-weight: bold;
    color: #333;
    width: 100%; /* 占满容器宽度 */
}

#main .title a {
    font-size: 14px;
    color: #fec31d;
    text-decoration: none;
    font-weight: normal;
}

#main .title a:hover {
    text-decoration: underline;
}

/* 表单容器样式 */
#main .register {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px; /* 圆角 */
    padding: 20px; /* 内边距 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 添加阴影 */
    width: 100%; /* 宽度与主容器一致 */
    max-width: 500px; /* 限制表单宽度 */
}

#main .default {
    margin-bottom: 20px; /* 调整间距 */
}

#main .default p {
    font-size: 14px; /* 提示文字稍大 */
    color: #666;
    margin-bottom: 8px;
}

#main .default input {
    width: 100%; /* 输入框占满父容器 */
    padding: 10px; /* 调整内边距 */
    font-size: 14px; /* 字体大小适中 */
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#main .default input:focus {
    border-color: #fec31d;
    box-shadow: 0 0 6px rgba(254, 195, 29, 0.5); /* 聚焦效果 */
}

/* 提交按钮样式 */
#main .submit {
    text-align: center;
    margin-top: 20px;
}

#main .submit .notice {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

#main .submit .notice a {
    color: #fec31d;
    text-decoration: none;
}

#main .submit .notice a:hover {
    text-decoration: underline;
}

#main .submit button {
    background-color: #fec31d;
    color: #fff;
    font-size: 16px; /* 调整按钮大小 */
    font-weight: bold;
    padding: 10px 20px; /* 调整按钮内边距 */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(254, 195, 29, 0.3); /* 添加按钮阴影 */
}

#main .submit button:hover {
    background-color: #d9a217;
    transform: translateY(-2px); /* 悬停时轻微上移 */
}

/* 背景图片样式 */
#main .bgPic img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* 圆角 */
    margin-bottom: 20px; /* 间距 */
}
