/* 全局样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

/* 顶部链接样式 */
.top-links {
    width: 100%;
    background-color: #eaeaea;
    text-align: left;
    padding: 8px 20px;
}

.top-links a {
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.top-links a i {
    margin-right: 5px;
    font-size: 14px;
}

.top-links a:hover {
    text-decoration: underline;
}

/* 容器样式 */
.container {
    max-width: 750px;
    width: 100%;
    padding: 10px 20px 20px 20px;
    text-align: center;
    flex: 1;
}

/* 头部样式 */
header {
    margin-bottom: 5px;
}

header img {
  width: 180px;
  height: 65px;
}

/* 表单容器样式 */
.form-container {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

/* 表单表头样式 */
.form-header {
    font-size: 17px;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
    color:#3385ff;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
    font-weight:700;
    line-height: 1.5;
}
.form-container label b{
    display: inline-block;
    vertical-align: middle;
    color:red;
    font-size:20px;
}

.form-container input,
.form-container textarea {
    font-size: 14px;
    border-radius: 4px;
    border: 1.2px solid #aaa;
    padding: 10px;
    margin-bottom: 15px;
}

.form-container textarea {
    resize: vertical;
    min-height:118px;
}

/* 提交按钮样式 */
.submit-button {
    font-size: 16px;
    background-color: #3385ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 40px;
    white-space: nowrap;
    width: 100%; /* 设置宽度为 100%，让按钮充满表单容器宽度 */
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #2d78f4;
}


.link-already{
    color:red;
    font-size:16px;
    display: inline;
    float:left;
    text-align: center;
    margin-top:15px;
    text-decoration:none;
}


/* 底部固定样式 */
.fixed-footer{
  width: 100%;
  background-color: #eaeaea;
  text-align: center;
  padding: 10px 0 0 0;
  font-size: 12px;
}

.fixed-footer p {
  color: #777;
}


/* 底部导航样式 */
body {
     padding-bottom: 45px; /* 给 body 底部添加内边距，防止内容被遮挡 */
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #3385ff;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000; /* 确保导航栏在最上层 */
}

.bottom-nav a {
    color: #fff;
    text-decoration: none;
    display: flex; /* 修改为 flex 布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    font-size: 14px;
    position: relative;
    flex: 1; /* 让每个链接平均分配空间 */
}

.bottom-nav a::after {
    content: "";
    position: absolute;
    right: 0; /* 调整分割线位置 */
    top: 50%;
    transform: translateY(-50%);
    height: 20px; /* 分割线高度 */
    width: 1px; /* 分割线宽度 */
    background-color: #fff; /* 分割线颜色 */
}

.bottom-nav a:last-child::after {
    display: none; /* 最后一个链接后面不显示分割线 */
}

.bottom-nav a i {
    margin-right: 3px;
    font-size: 14px;
}

.bottom-nav a:hover {
    font-weight:700;
}

/* 媒体查询，在小屏幕下调整样式 */
@media (max-width: 480px) {


    .bottom-nav a {
        font-size: 13px; /* 移动端不缩小文字 */
    }


    .bottom-nav {
        padding: 10px 0; /* 移动端不改变导航栏高度 */
    }


    .tab {
        padding: 4px; /* 缩小间距 */
        margin: 3px 2px; /* 调整间距 */
        text-decoration: none;
        color: #333;
        border-radius: 4px;
        font-size: 14px; /* 缩小字号 */
        white-space: nowrap;
        flex-shrink: 1; /* 允许 tab 缩小 */
    }


}

/* 底部链接样式 */
.bottom-links {
  margin-bottom: 5px;
}

.bottom-links a {
  color: #777;
  text-decoration: none;
  margin: 0 6px;
}

.bottom-links a:hover {
  text-decoration: underline;
}
