.station-sub-section {
  position: relative;
  padding: 10px 0;
}

.station-total-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
}

.download-text-btn,
.download-excel-btn {
  margin-left: 6px;
  margin-right: auto;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #0b2357;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}

.download-text-btn:hover,
.download-excel-btn:hover {
  border-color: rgba(11, 35, 87, 0.3);
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.1);
}

.download-text-btn .bi,
.download-excel-btn .bi {
  margin-right: 0;
  font-size: 18px;
}

.download-excel-btn .bi {
  color: #1c7430;
}

.station-search-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
  gap: 12px;
}

.station-filter-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f8f8;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  min-width: 36px;
  margin: 0 0 0 20px
}

.multi-select-warning {
  display: none !important;
}

.filter-group.has-warning .multi-select-trigger {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.multi-select {
  position: relative;
  flex: 1 1 200px;
  width: 230px;
}

.multi-select-trigger {
  width: 100%;
  min-height: 40px;
  height: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  transition: .15s;
  gap: 8px;
}

.multi-select-trigger:hover {
  border-color: #0479CD;
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.1);
}

.multi-select.disabled .multi-select-trigger {
  background: #eee;
  color: #999;
  cursor: not-allowed;
}

.multi-select.disabled .multi-select-trigger i {
  color: #bbb;
}

.multi-select-placeholder {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 255px;
  line-height: 1.4;
  word-break: keep-all;
}

.multi-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  display: none;
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
}

.multi-select.open .multi-select-menu {
  display: flex;
  flex-direction: column;
}

.multi-select-menu label {
  font-size: 14px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.multi-select-menu label:first-child {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.multi-select-menu label:hover {
  background: #f3f4f6;
}

.multi-select-menu input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.filter-btn-group {
  display: flex;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.filter-reset-btn {
  height: 40px;
  width: 70px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #0b2357;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .15s;
  align-items: center;
  justify-content: center;
}

.filter-search-btn {
  height: 40px;
  width: 64px;
  /*padding: 0 18px;*/
  border: none;
  border-radius: 8px;
  background: #0b2357;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .15s;
}

.filter-reset-btn:hover {
  border-color: rgba(11, 35, 87, 0.3);
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.1);
}

.filter-search-btn:hover {
  background: #153579;
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.1);
}

.station-pagination-info {
  text-align: left;
  font-size: 14px;
  color: #6b7280;
  margin: 10px;
}

.station-pagination-info strong {
  color: #111827;
}

.station-table-wrap {
  width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.station-table {
  background: #fff;
  table-layout: fixed;
  border-collapse: collapse;
  min-width: 1000px;
}

.station-table thead {
  background: #f3f4f6;
}

.station-table a {
  color: #111827;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.station-table .bi {
  font-size: 18px;
  margin-left: 4px;
  color: #0479CD;
}

.station-table th,
.station-table td {
  padding: 12px 10px;
  font-size: 14px;
  color: #111827;
  text-align: center;
  border: 1px solid #e5e7eb;
  height: 46px;
}

.station-table tbody tr:hover {
  background: #f9fafb;
}

@media (max-width: 1500px) {
  .station-filter-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .station-filter-bar {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }

  .multi-select {
    min-width: 160px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .station-search-section {
    flex-direction: column;
    align-items: stretch;
  }

  .station-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    width: 100%;
    justify-content: space-between;
  }

  .multi-select {
    width: 100%;
    max-width: none;
  }

  .station-search-form {
    width: 100%;
  }

  .station-search-input {
    flex: 1;
    width: 100%;
  }
}
