.korp-content {
  margin-top: 22px;
}

.korp-search-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
  gap: 12px;
}

.korp-filter-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8f8f8;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  width: 32px;
  margin: 0 0 0 20px
}

.single-select {
  position: relative;
  width: 150px;
}

.single-select.open .select-menu {
  display: flex;
  flex-direction: column;
}

.select-placeholder {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 235px;
  line-height: 1.4;
  word-break: keep-all;
}

.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;
}

.select-trigger:hover {
  border-color: #0479CD;
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.12);
}

.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;
}

.select.open .select-menu {
  display: flex;
  flex-direction: column;
}

.select-menu label {
  font-size: 14px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.select-menu label:first-child {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.select-menu label:hover {
  background: #f3f4f6;
}

.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);
}

.korp-viewer {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.korp-viewer-bar {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #f8f8f8;
  border-bottom: 1px solid #e5e7eb;
}

.image-label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  text-align: center;
}

.image-arrows {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
}

.image-arrow {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #111827;
  cursor: pointer;
  border-radius: 25%;
  transition: .15s;
}

.image-arrow:hover {
  background: #e5e7eb;
}

.korp-viewer-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 10px;
}

@media (max-width: 1400px) {
  .korp-filter-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .filter-row {
    flex-wrap: wrap;
  }
}
