/* Reset some default styles */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield; 
  appearance: textfield;      
}

input[type="number"] {
  text-align: left; 
}

input[type="number"].readonly, 
input[type="number"]:not(:focus) {
  text-align: right; 
}
/* end Reset some default styles */


a {
  text-decoration: none;
}
.nob {
  border: none;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.popup button {
  padding: 5px 20px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.ptr0,
.ptr1 {
  background-color: #fff2cc;
}

.ptr2,
.ptr3 {
  background-color: #e2f0d9;
}

.patternTable td {
  text-align: right;
}

.page-content {
}

.page-content.blurred {
  filter: blur(3px);
  pointer-events: none; /* Prevent interaction with blurred content */
}

.image-container {
  display: inline-flex;
  flex-direction: row;
}

.image-item {
  margin: 15px;
  text-align: center;
  flex-grow: 1;
}

.image-item img {
}

.image-title {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

body.blurred {
  filter: blur(3px); /* Apply blur to body when dialog is open */
}

.dialog-container {
  width: 800px;
  min-height: 600px;
  max-height:800px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dialog-header {
  background-color: #1e90ff; /* Blue background */
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-title {
  font-size: 18px;
  font-weight: bold;
}

.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  color: #f0f0f0;
}

.dialog-content {
  padding: 20px;
  overflow-y: auto;
  overflow-x: auto;
  flex-grow: 1;
}

.wide-content {
  /*  width: 1500px; Wider than the dialog to demonstrate scrolling */
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px dashed #ccc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  font-family: "Segoe UI", "Microsoft Yahei", sans-serif;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 20%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
 background-color: #165DFF;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* 轻微阴影增加层次感 */
  border-bottom: 1px solid #f1f5f9; /* 细边框分隔 */
}

.header-left {
  display: flex;
  align-items: center;

}
.header .logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.header h1 {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
}

.header .currency {
  font-size: 14px;
}
.header-right {
  display: flex;
  gap: 10px;
  font-size: 16px;
}
.notice-panel {
  padding: 10px;
}
.user-panel {
  padding: 10px;
}
.user-panel a {
  color: white;
}
.language-panel {
  padding: 10px;
}
.user {
  padding: 0px;
  margin: 0px;
  font-family: auto;
}
.user-panel .notice {
  color: white;
}

/* Navigation Bar */
.nav {
  background-color: #f0f0f0;
  padding: 12px;
  display: flex;
  gap: 10px;
}

.nav span {
  padding: 5px 0px;
}

.nav button {
  padding: 10px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
}

.nav button:hover {
  background-color: #ddd;
}

.nav button:active {
  background-color: #ffd;
  transform: translateY(1px);
}

/* Main Layout */
.container {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 200px;
  background-color: #e0e0e0;
  padding: 10px;
  border-right: 1px solid #ccc;
}

.sidebar h3 {
  margin-bottom: 10px;
}

.sidebar select {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
}

.select {
  font-size: large;
}

button .select {
  background-color: #3eb0ff;
  transform: translateY(1px);
}

option {
  font-size: large;
}

.menu {
}

.menu li {
  text-align: center;
}

.menu li a {
  display: block;
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #1e90ff;
  color: white;
  font-size: large;
  border: none;
  cursor: pointer;
}

.menu li .select {
  font-weight: bolder;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.footer {
  position: fixed; /* 固定在页面底部 */
  bottom: 0; /* 距离底部0px */
  left: 0; /* 左对齐 */
  right: 0; /* 右对齐，确保宽度占满屏幕 */
  height: 30px; /* 指定高度 */
  z-index: 999; /* 设置层级，避免被其他元素覆盖 */
}
.record {
  height: 39px;
  line-height: 39px;
  text-align: center;
  font-size: 14px;
  font-family: Source Han Sans CN normal;
  background-color: #fff;
}
.main-content h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.table-container {
  /*	margin-bottom: 20px; */
}

table {
  /* width: 100%; */
  border-collapse: collapse;
  margin-bottom: 10px;
}

th,
td {
  border: 1px solid #ccc;
  padding: 5px 5px 5px 5px;
  text-align: center;
  white-space: nowrap;
}

/* th {
	background-color: #f0f0f0;
} */

.highlight {
  background-color: #ffff99;
}

/* Right Panel */
.right-panel {
  width: 240px;
  background-color: #e0e0e0;
  padding: 10px;
  border-left: 1px solid #ccc;
}

.right-panel h3 {
  margin-bottom: 10px;
}

.sidebar button {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #1e90ff;
  color: white;
  font-size: large;
  border: none;
  cursor: pointer;
}

.sidebar button:hover {
  background-color: #2ea0ff;
}

.sidebar button:active {
  background-color: #3eb0ff;
  transform: translateY(1px);
}

.right-panel button {
  font-size: large;
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #1e90ff;
  color: white;
  border: none;
  cursor: pointer;
}

.right-panel button:hover {
  background-color: #2ea0ff;
}

.right-panel button:active {
  background-color: #3eb0ff;
  transform: translateY(1px);
}

.right-panel select {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
}

.container2 {
  display: flex; /* Enable Flexbox */
  /* 	flex-direction: column; Stack items in rows (vertically) */
  justify-content: space-between; /* Space rows evenly */
  gap: 20px; /* Space between rows */
  padding: 20px;
  /* background-color: #f0f0f0; */
}

.ele {
  flex: 1; /* Each column takes equal space */
  /*  background-color: #4CAF50;
            color: white;
            padding: 20px;
           
	text-align: center;
	 */
}

.bgBlue1 {
  background-color: #ccf9fe;
}

.bgWhite1 {
  background-color: #ffffff;
  text-align: left;
}

.bgBlue1 th {
  width: 165px;
}
.bgYellow1 {
  background-color: #ffff00;
}

.bgYellow2 {
  background-color: #ffff99;
}

.bgYellow3 {
  background-color: #fff2cc;
}

.bgYellow4 {
  background-color: #ffc000;
}

.fgRed {
  color: red;
}

.bold {
  font-weight: bold;
}

.borderGreen {
  border-style: solid;
  border-width: 4px;
  border-color: #038857;
}

.borderGrey {
  border-style: solid;
  border-width: 4px;
  border-color: #808080;
}

.fginvGrey {
  background-color: #808080;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  padding: 0px 40px;
  margin-top: 0px;
  margin-bottom: 40px;
}

.invGrey {
  background-color: #808080;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  padding: 0px 40px;
}

.invGreen {
  background-color: #038857;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  padding: 0px 40px;
}

.hidden-file-input {
  visibility: hidden;
  display: none;
}

.toolbar {
  display: flex;
  justify-content: space-between; 
  align-items: flex-start; 
  background-color: #f0f0f0;
  padding: 20px 12px;
  border: 1px solid #e0e0e0;
  height: 80px; 
}

.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: flex-start;
}
.toolbar-lable {
  padding: 6px 6px 6px 0px;
  width: 140px;
}
.file-input-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 6px;
  width: 135px;
}

.hidden-file-input {
  display: none;
}

.toolbar-right button,
.file-input-container button {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  margin-right: 12px;
  min-width: 80px;
}

.file-input-container button:hover {
  background: #f0f0f0;
}
.file-input-container span {
  font-size: 14px;
  color: green;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: none; 
}

.file-input-container span:not(:empty) {
  display: inline-block; 
}

#fn1,
#fn2,
#fnTest1,
#fnTest2 {
  color: green;
}

.input1 {
  width: 80px;
  font-size: 16px;
  text-align: center;
}

/* 语言选择器调整 */
.language-switch{
  padding: 10px;
  color: #334155;
}
.language-switch select {
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: white;
  color: #334155;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.language-switch select:hover,
.language-switch select:focus {
  border-color: #94a3b8;
  outline: none;
}

.container3 {
  display: flex;
  flex-wrap: wrap; 
  gap: 10px; 
  padding: 20px;
}

.chart-item {
  flex: 0 0 calc((100% - 20px) / 3);
  min-width: 400px;
  height: 500px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title1 {
  width: 170px;
}

.result1 {
  width: 80px;
  background-color: #fff;
}

.resultMax {
  width: 80px;
  background-color: #fce4d6;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 4px;
  text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
}

.form-button-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.submit-button {
  padding: 12px 24px;
  font-size: 1.1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  width: 160px;
}

.submit-button:hover {
  background-color: #45a049;
}

.normal-button {
  padding: 12px 24px;
  font-size: 1.1rem;
  background-color: #f8f9fa;
  color: #6c757d;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  width: 160px;
}

.normal-button:hover {
  background-color: #e9ecef;
}
.button-auto {
  padding: 8px 14px;
  font-size: 1rem;
  border-radius: 4px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-auto:hover {
  background-color: #e0e0e0;
}
.user-dialog-container {
  width: 600px;
  height: 600px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-dialog-content {
  padding: 20px;
  overflow-y: auto;
  overflow-x: auto;
  flex-grow: 1;
}

.form-wrapper {
  display: flex;
  padding-top: 10px;
  margin-left: 20px;
  width: 100%;
  max-width: 500px;
}
#editUserForm {
  width: 100%;
}
.authority-form-wrapper {
  width: 600px;
  max-width: 95vw;
  max-height: 85vh;
  margin: 2em auto;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 20px 30px;
  background-color: white;
  border-radius: 8px;
}

.authority-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15em;
}

.authority-table th,
.authority-table td {
  padding: 12px 20px;
  border: 1px solid #ddd;
  text-align: left;
}

.label-note {
  color: #999;
  font-size: 0.75em;
  margin-left: 20px;
}

/* bodyMovement */

.copy-button {
  margin: 0px 0px 10px 0px;
  padding: 8px 16px;
  background-color: #f79022bd;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.chart-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  max-width: 1600px;
  margin: 0 auto;
  background-color: white;
}
.chart-item-wrapper {
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}
.chart-item-wrapper .chart-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
}
.chart-item-wrapper .chart-button-wrapper .chart-button {
  padding: 10px 20px;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 10px;
}

.chart-item-wrapper .chart-item {
  flex: 1; /* Each chart item takes equal space */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chart-item-wrapper .chart-item img {
  width: 100%;
}

.top-container {
  display: flex;
  align-items: flex-start; /* 所有子项顶部对齐 */
  gap: 10px; /* 左右间距 */
}

.btn-display {
  padding: 5px 10px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  margin: 10px 30px;
}

.btn-display:hover {
  background-color: #ddd;
}

.btn-display:active {
  background-color: #ffd;
  transform: translateY(1px);
}

.result-message {
  background-color: coral;
  color: #000;
  padding: 5px;
}
.resultRow {
  height: 29px;
}

.test-data-container {
  display: flex;
  gap: 10px;
}

.test-data-item {
  background-color: #f9f9f9;
  padding: 0px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1;
}
.test-data-item h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}
.test-data-table {
  width: 100%;
  border-collapse: collapse;
}

.input-number-long {
  width: 280px;
  font-size: 16px;
  text-align: center;
  /*	background-color: #ccf9fe;
				border: 1px solid #aaa;
				*/
}
.content-label {
  background-color: #e0e0e0; 
  color: #000; 
  padding: 4px 8px;
  font-size: 14px; 
}
.input-value-number {
  width: 280px;
  font-size: 16px;
  text-align: center;
}
.fgbtn-display {
  padding: 5px 10px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  margin-top: 0px;
  margin-left: 140px;
}


.input-wrapper-cell {
  margin: 0px;
  text-align: right !important;
}
.input-wrapper {
  position: relative;
  display: inline-block;
}

.input-wrapper input[type="number"] {
  padding-right: 2em; 
  box-sizing: border-box;
}

.input-wrapper .unit {
  position: absolute;
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  pointer-events: none; 
}

.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.chart-card {
  background: white;
  padding: 50px 15px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.chart-card h3 {
  font-size: 16px;
  margin: 10px 0;
  text-align: center;
}

.chart {
  min-width: 400px; 
  height: 360px;
  background: #f0f2f5;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.btn-data {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0078d4;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-data:hover {
  background: #005fa3;
}

.comparison-label {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: -10px;
  text-align: left;
}

.chart-dialog-warp {
  display: flex;
  justify-content: center; 
  padding: 10px;
}
.chart-dialog{
  min-width: 600px; 
  height: 460px;
  background: #f0f2f5;
  border: 1px solid #ddd;
  border-radius: 8px;
}

   .dialog-table-wrapper {        
      overflow-x: auto;          
      overflow-y: visible;         
      border: 1px solid #ccc;
      position: relative;
      margin-top: 15px;
      margin-bottom: 15px;
      margin-left: 10px;
      margin-right: 10px;
    }

    .dialog-table {
      border-collapse: collapse;
      min-width: 1000px;        
    }

    .dialog-table th, .dialog-table td {
      border: 1px solid #ccc;
      padding: 8px 12px;
      text-align: center;
      white-space: nowrap;
    }

    .dialog-table  th {
      position: sticky;
      left: 0;                  
      width: 180px;                
      background: #f5f5f5;
      z-index: 3;  
  box-shadow: 2px 0 0 #ccc;
    }

  .button-row{
    background-color: #fff;
    border: none!important;
  }
  .button-row td{
    border: none!important;
  }

    /* 高亮边框 */
  .is-invalid {
    border: 1px solid red;
    background-color: #ffe6e6;
    transition: border 0.3s, background-color 0.3s;
  }
  .is-valid {
    border: 1px solid #ccc;
    background-color: #ccf9fe;
    transition: border 0.3s, background-color 0.3s;
  }
   .error-message { color: red; font-size: 0.9em; opacity: 0; transition: opacity 0.3s ease; margin-top: -8px; }
  .error-message.is-visible { opacity: 1; }

  /* -------------------------------------- */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* 悬停显示逻辑（保持不变） */
.dropdown:hover .dropdown-content {
  display: block;
}

/* -------------------------------------- */
/* 针对 `<button>` 的新样式 (关键调整) */
/* -------------------------------------- */

.dropdown-content .dropdown-item {
  color: black;
  padding: 12px 16px;
  
  /* 关键：覆盖按钮默认样式 */
  background: none; /* 移除默认背景 */
  border: none;    /* 移除默认边框 */
  width: 100%;     /* 确保按钮填充整个下拉项宽度 */
  text-align: left; /* 文本左对齐 */
  cursor: pointer; /* 确保鼠标指针是可点击状态 */
  display: block;  /* 确保按钮独占一行 */
  box-sizing: border-box; /* 确保 padding 不会增加总宽度 */
  font-size: 16px; /* 确保字体大小一致 */
}

/* 鼠标悬停在按钮上时的样式 */
.dropdown-content .dropdown-item:hover {
  background-color: #ddd;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 40px 0;
}

.main-title {
  font-size: 32px;
  color: #1e293b;
  margin-bottom: 40px;
  font-weight: 600;
}

/* 登录框样式优化 */
.login-box {
  background-color: white;
  padding: 36px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 392px;
}

.login-box h3 {
  color: #1e293b;
  margin: 0 0 24px 0;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 10x;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 表单选项区域 */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.remember-me {
  display: flex;
  align-items: center;
  color: #64748b;
  cursor: pointer;
}

.remember-me input {
  margin-right: 6px;
}

.forgot-password {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* 登录按钮优化 */
.login-btn {
  width: 100%;
  padding: 12px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* 页脚样式 */
footer {
  text-align: center;
  padding: 10px;
  color: #94a3b8;
  font-size: 13px;
  border-top: 1px solid #f1f5f9;
  background-color: white;
}
footer a {
   color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}


/* 侧边栏容器优化 */
.sidebar {
    width: 220px;
    background-color: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 24px 0;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.03);
}

/* 菜单标题优化 */
.sidebar h3 {
    padding: 0 24px 16px;
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
}

/* 菜单容器 */
.menu {
    list-style: none;
    margin-top: 16px;
}

/* 菜单项项 */
.menu li {
    margin-bottom: 4px;
    position: relative;
}

/* 菜单项链接 */
.menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* 悬停效果 */
.menu a:hover {
    background-color: #f1f5f9;
    color: #165DFF;
    padding-left: 28px;
}

/* 选中状态 */
.menu a.select {
    background-color: #e6f0ff;
    color: #165DFF;
    font-weight: 600;
}

/* 选中状态装饰 */
.menu a.select::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #165DFF;
}

/* 菜单项点击反馈 */
.menu a:active {
    transform: translateY(1px);
}

/* 菜单分组标题 */
.menu-group-title {
    padding: 16px 24px 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .sidebar {
        width: 190px;
    }
    
    .menu a span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px 0;
    }
    
    .menu {
        display: flex;
        flex-wrap: wrap;
        margin-top: 8px;
    }
    
    .menu li {
        flex: 1 0 50%;
        margin-bottom: 0;
    }
    
    .menu a {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .menu a:hover {
        padding-left: 16px;
    }
}


.search-bar .form-group {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-bottom: 0; /* 移除底部间距 */
}

.search-bar .form-group label {
  font-weight: bold;
  margin-bottom: 4px;
  text-align: left;
  margin-right: 10px; /* 标签和输入框之间的间距 */
}

.search-bar .form-group input,
.search-bar .form-group select,
.search-bar .form-group textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  width: auto;
  box-sizing: border-box;
}
.bar-btn {
  padding: 10x;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  transition: all 0.2s ease;
}