.gsp-file-lookup-lock { overflow: hidden; }
.gsp-file-lookup-entry {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  padding: 2px 0 0;
}
.gsp-file-lookup-open {
  width: min(290px, 100%);
  min-height: 54px;
  border: 0;
  border-radius: 11px;
  padding: 14px 22px;
  background: #b3202a;
  color: #fff;
  font: 800 16px/1.25 "Malgun Gothic", sans-serif;
  box-shadow: 0 8px 20px rgba(179, 32, 42, .20);
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.gsp-file-lookup-open:hover { background: #7f151d; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(127, 21, 29, .22); }
.gsp-file-lookup-open:focus-visible { outline: 3px solid rgba(179, 32, 42, .25); outline-offset: 3px; }
.gsp-file-lookup-modal[hidden] { display: none !important; }
.gsp-file-lookup-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: "Malgun Gothic", sans-serif;
}
.gsp-file-lookup-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .52); }
.gsp-file-lookup-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 14px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .28);
  color: #1e2933;
}
.gsp-file-lookup-dialog h2 { margin: 0 38px 10px 0; font-size: 23px; }
.gsp-file-lookup-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #586774;
}
.gsp-file-lookup-close:disabled { opacity: .35; cursor: not-allowed; }
.gsp-file-lookup-help { margin: 0 0 20px; color: #52616e; line-height: 1.65; font-size: 14px; }
.gsp-file-lookup-label { display: block; margin-bottom: 8px; font-weight: 700; }
.gsp-file-lookup-input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #b9c6d1;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.gsp-file-lookup-selection-summary { margin: 12px 0 0; color: #435461; font-weight: 700; }
.gsp-file-lookup-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid #dce4ea;
  border-radius: 10px;
  background: #fff;
}
.gsp-file-lookup-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 13px; }
.gsp-file-lookup-table th,
.gsp-file-lookup-table td { border-bottom: 1px solid #e2e8ed; padding: 10px 9px; text-align: left; vertical-align: middle; }
.gsp-file-lookup-table th { background: #f3f6f8; color: #344552; white-space: nowrap; }
.gsp-file-lookup-table tbody tr:last-child td { border-bottom: 0; }
.gsp-file-lookup-results-table { min-width: 940px; }
.gsp-check-cell { width: 34px; text-align: center !important; }
.gsp-file-name { max-width: 270px; overflow-wrap: anywhere; }
.gsp-status-success { color: #176b3a; font-weight: 700; }
.gsp-status-error { color: #b42318; font-weight: 700; }
.gsp-file-lookup-message { min-height: 22px; margin: 14px 0 0; font-size: 14px; line-height: 1.55; }
.gsp-file-lookup-message.is-error { color: #b42318; }
.gsp-file-lookup-message.is-success { color: #176b3a; }
.gsp-file-lookup-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.gsp-file-lookup-actions button,
.gsp-row-download {
  border-radius: 8px;
  padding: 10px 14px;
  font: 700 14px/1.2 "Malgun Gothic", sans-serif;
  cursor: pointer;
}
.gsp-file-lookup-primary { border: 1px solid #1f5f99; background: #1f5f99; color: #fff; }
.gsp-file-lookup-primary:disabled { opacity: .45; cursor: not-allowed; }
.gsp-file-lookup-secondary { border: 1px solid #aebbc5; background: #fff; color: #35434f; }
.gsp-file-lookup-secondary:disabled { opacity: .45; cursor: not-allowed; }
.gsp-row-download { border: 1px solid #1f5f99; background: #fff; color: #1f5f99; white-space: nowrap; padding: 7px 10px; font-size: 12px; }
.gsp-row-download:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 700px) {
  .gsp-file-lookup-entry { margin-top: 18px; }
  .gsp-file-lookup-open { width: 100%; min-height: 52px; }
  .gsp-file-lookup-dialog { padding: 22px 16px; }
  .gsp-file-lookup-actions { display: grid; grid-template-columns: 1fr; }
  .gsp-file-lookup-actions button { width: 100%; }
}
