/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  text-decoration: none;
  list-style: none;
}

body {
  background-color: #f5f7fa;
  color: #333;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
}

/* 左侧菜单栏固定效果优化 */
.sidebar {
  width: 280px;
  background-color: #12406f;
  color: #fff;
  padding: 20px 0;
  position: fixed; /* 固定定位，脱离文档流 */
  height: 100vh; /* 高度占满整个视口 */
  overflow: hidden; /* 自身内容不滚动 */
  top: 0; /* 顶部对齐 */
  left: 0; /* 左侧对齐 */
  z-index: 10; /* 确保在内容之上 */
}

.sidebar-logo {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 0 20px 20px;
  border-bottom: 1px solid #34495e;
  margin-bottom: 20px;
}

.sidebar-menu {
  padding: 0 10px;
}

.menu-item {
  display: block;
  color: #ecf0f1;
  padding: 14px 20px;
  margin-bottom: 5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
  font-size: 15px;
}

.menu-item:hover {
  background-color: #436e8b;
}

.menu-item.active {
  background-color: #3498db;
  color: #fff;
}

.login-btn {
  background-color: #4fc3f0;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
}

.login-btn:hover {
  background-color: #0d6199;
}

/* 右侧内容区样式 */
.content {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex-grow: 1;
  padding: 30px;
  overflow-y: auto;
  margin-left:260px;
}
/* 内容区滚动条样式优化（可选，增强体验） */
.content::-webkit-scrollbar {
  width: 8px;
}
.content::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.content::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.content-section {
  background-color: #fff;
  padding: 30px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  min-height: calc(100vh - 60px);
}

.section-title {
  font-size: 24px;
  margin-bottom: 25px;
  color: #2c3e50;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
}

/* 首页样式 */
.home-banner {
  background-color: #3498db;
  color: white;
  padding: 40px 30px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  margin-bottom: 30px;
  text-align: center;
}

.home-banner h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.home-cards {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}

.home-card {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background-color: #f8f9fa;
  padding: 25px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  text-align: center;
  border-left: 4px solid #3498db;
}

.home-card i {
  font-size: 40px;
  color: #3498db;
  margin-bottom: 15px;
}

.home-card h3 {
  margin-bottom: 10px;
  color: #2c3e50;
}

/* 查询页样式 */
.query-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 15px;
  -webkit-transition: border-color 0.3s;
  -moz-transition: border-color 0.3s;
  transition: border-color 0.3s;
}

.form-control:focus {
  -webkit-border-color: #3498db;
  -moz-border-color: #3498db;
  border-color: #3498db;
  outline: none;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #3498db;
  color: white;
  border: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #2980b9;
}

.query-result {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #eee;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  display: none;
}

.query-result.active {
  display: block;
}

/* 公告页样式 */
.notice-list {
  margin-top: 20px;
}

.notice-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.notice-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 5px;
}

.notice-title {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.notice-content {
  color: #666;
  line-height: 1.6;
}

/* 反馈页样式 */
.feedback-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}

.feedback-contact {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background-color: #f8f9fa;
  padding: 20px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.feedback-rules {
  -webkit-box-flex: 2;
  -moz-box-flex: 2;
  -ms-flex: 2;
  flex: 2;
}

.contact-item {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  font-size: 20px;
  color: #3498db;
  margin-right: 10px;
}

/* 微信绑定页样式 */
.bind-steps {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.bind-step {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #3498db;
  color: white;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

/* 登录页样式 */
.login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background-color: white;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.login-form .form-group {
  margin-bottom: 20px;
}

.wechat-login {
  margin-top: 20px;
  text-align: center;
}

.wechat-btn {
  background-color: #27ae60;
}

.wechat-btn:hover {
  background-color: #219653;
}
    /* 下拉菜单专属样式 */
    .dropdown-menu {
      position: relative;
    }

    .dropdown-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      color: #ecf0f1;
      cursor: pointer;
      border-radius: 4px;
      transition: background-color 0.3s;
    }

    .dropdown-title:hover {
      background-color: #436e8b;
    }

    .dropdown-title.active {
      background-color: #3498db;
      color: #fff;
    }

    .dropdown-icon {
      transition: transform 0.3s;
    }

    .dropdown-icon.active {
      transform: rotate(180deg);
    }

    .dropdown-items {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
      padding-left: 10px;
    }

    .dropdown-items.active {
      max-height: 300px; /* 足够容纳下拉项的高度 */
      transition: max-height 0.3s ease-in;
    }

    .dropdown-item {
      display: block;
      color: #ecf0f1;
      padding: 12px 20px 12px 35px; /* 缩进显示层级 */
      border-radius: 4px;
      transition: background-color 0.3s;
      font-size: 14px;
    }

    .dropdown-item:hover {
      background-color: #436e8b;
    }

    .dropdown-item.active {
      background-color: #3498db;
      color: #fff;
    }
	/* 内容区卡片样式 */
    .info-card {
      background-color: #f8f9fa;
      border-radius: 6px;
      padding: 20px;
      margin-bottom: 25px;
    }

    .info-card h3 {
      color: #2c3e50;
      margin-bottom: 15px;
      font-size: 18px;
    }

    .info-row {
      display: flex;
      margin: 36px 0;
    }

    .info-label {
      width: 16%;
      color: #666;
    }

    .info-value {
      flex: 1;
      color: #333;
    }

    /* 交易记录表格样式 */
    .record-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 15px;
    }

    .record-table th,
    .record-table td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid #eee;
    }

    .record-table th {
      background-color: #f8f9fa;
      color: #555;
      font-weight: 500;
    }

    .record-table tr:hover {
      background-color: #f5f7fa;
	  color:#3498db;
    }
	
	.text-primary {
    color: #33abf7 !important
}

.text-secondary {
    color: #7f7f7f !important
}

.text-success {
    color: #198754 !important
}

.text-info {
    color: #0dcaf0 !important
}

.text-warning {
    color: #ffc107 !important
}

.text-danger {
    color: #dc3545 !important
}

.text-light {
    color: #F3F6F9 !important
}

.text-dark {
    color: #191C24 !important
}

.text-white {
    color: #fff !important
}

.text-body {
    color: #757575 !important
}

.text-muted {
    color: #6c757d !important
}

.text-black-50 {
    color: rgba(0,0,0,0.5) !important
}

.text-white-50 {
    color: rgba(255,255,255,0.5) !important
}

.text-reset {
    color: inherit !important
}

.bg-primary {
    background-color: #009CFF !important
}

.bg-secondary {
    background-color: #6c757d !important
}

.bg-success {
    background-color: #198754 !important
}

.bg-info {
    background-color: #0dcaf0 !important
}

.bg-warning {
    background-color: #ffc107 !important
}

.bg-danger {
    background-color: #dc3545 !important
}

.bg-light {
    background-color: #F3F6F9 !important
}

.bg-dark {
    background-color: #191C24 !important
}

.bg-body {
    background-color: #F3F6F9 !important
}

.bg-white {
    background-color: #fff !important
}

.bg-transparent {
    background-color: rgba(0,0,0,0) !important
}

.bg-gradient {
    background-image: var(--bs-gradient) !important
}