/* saebit 전용 스타일 */
.search-bar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  box-sizing: border-box;
}
.search-bar {
  background: #f7fafd;
  border: 1px solid #dde5ed;
  border-radius: 8px;
  padding: 22px 20px 16px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  min-width: 600px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
}
.search-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 170px;
  flex: 1 1 220px;
}
.search-field label {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  text-align: left;
  min-width: 80px;
  letter-spacing: -0.5px;
  margin-bottom: 0;
  white-space: nowrap;
}
.search-field input,
.search-field select {
  height: 34px;
  border: 1px solid #cfd8dc;
  border-radius: 5px;
  padding: 0 10px;
  font-size: 15px;
  background: #fff;
  text-align: left;
  width: 150px;
  transition: border 0.2s;
  color: #222;
}
.search-field input:focus,
.search-field select:focus {
  border: 1.5px solid #1976d2;
  outline: none;
}
.search-btn-box {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.search-btn-box .btn.blue {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0 28px;
  height: 34px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
}
.search-btn-box .btn.blue:hover {
  background: #1256a3;
}
@media (max-width: 900px) {
  .search-bar {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .search-bar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .search-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 2px 0 2px 0;
    background: #f7fafd;
    border-radius: 8px;
    box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
  }
  .search-field {
    width: auto;
    flex-direction: row;
    justify-content: center;
    min-width: 0;
    flex: none !important;
    max-width: 100%;
    padding: 2px;
    margin-left: 4px;
  }
  .search-field label {
    font-size: 11.5px;
    width: 55px;
    min-width: 55px;
    max-width: 55px;
    margin-bottom: 0;
    color: #444;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 8px;
  }
  .search-field input,
  .search-field select {
    width: 120px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 12px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #cfd8dc;
    padding: 0 6px;
    margin: 0;
    box-sizing: border-box;
  }
  .search-btn-box {
    width: auto;
    margin: 0 auto;
    display: flex;
  }
  .search-btn-box .btn.blue {
    min-width: 80px;
    max-width: 180px;
    display: block;
    font-size: 13px;
    height: 24px;
    border-radius: 5px;
    margin: 2px;
  }
  .contable {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
  }
}
/* 테이블(신청내역) 스타일 개선 */
.contable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
  margin-top: 10px;
}
.contable th {
  background: #f0f6fb;
  color: #1976d2;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #dde5ed;
}
.contable td {
  font-size: 15px;
  color: #222;
  padding: 11px 0;
  border-bottom: 1px solid #e2e5ea;
  text-align: center;
}
.contable tr:last-child td {
  border-bottom: none;
}
.contable .nodata td {
  color: #b0b0b0;
  font-size: 15px;
  padding: 24px 0;
  background: #fafbfc;
}
.data-row {
  cursor: pointer;
}
.contable th,
.contable td {
  white-space: nowrap;
}

/* Stepper Indicator */
.saebit-stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  gap: 12px;
}
.saebit-step {
  padding: 8px 22px;
  border-radius: 20px;
  background: #e3eaf6;
  color: #1976d2;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
  opacity: 0.7;
}
.saebit-step.active {
  background: #1976d2;
  color: #fff;
  opacity: 1;
  box-shadow: 0 2px 8px 0 rgba(30, 40, 80, 0.08);
}

/* 카드(단계별) */
.saebit-step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 48px);
  max-width: none;
  min-width: 0;
  height: 600px;
  max-height: 70vh;
  padding: 48px 0 0 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(30, 40, 80, 0.1);
  margin: 0 auto 32px auto;
  animation: fadeInStep 0.3s;
  font-size: 1.05rem;
}
@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.saebit-step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 32px;
  padding-left: 32px;
}

.saebit-step-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 48px 24px 64px;
  font-size: 1.05rem;
  color: #1a1a1a;
  line-height: 1.7;
  margin-bottom: 0;
}
.saebit-step-content .notice {
  background: #f7fafd;
  border-left: 4px solid #1976d2;
  padding: 18px 28px;
  margin-bottom: 24px;
  color: #1976d2;
  font-size: 1rem;
  font-weight: 500;
}
.saebit-step-content .notice li::before {
  content: "※ ";
  color: #1976d2;
  font-size: 1.1em;
  font-weight: bold;
  margin-right: 2px;
  position: static;
}
.saebit-step-content ul.ul {
  margin-left: 28px;
  margin-bottom: 16px;
  list-style: none;
  padding-left: 0;
}
.saebit-step-content ul.ul li {
  margin-bottom: 10px;
  font-size: 1.02rem;
  position: relative;
  padding-left: 22px;
}
.saebit-step-content ul.ul li::before {
  content: "\2022";
  color: #222;
  font-size: 1em;
  position: absolute;
  left: 2px;
  top: 0;
}
.saebit-step-content dt {
  font-weight: 700;
  color: #1976d2;
  font-size: 1.08rem;
  margin-top: 18px;
  margin-bottom: 6px;
}
.saebit-step-content .note {
  color: #1976d2;
  font-size: 0.98rem;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}
.saebit-step-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0 36px 0;
  font-size: 0.98rem;
  background: #fafbfc;
}
.saebit-step-content th,
.saebit-step-content td {
  border: 1px solid #dde5ed;
  padding: 16px 18px;
  text-align: center;
  min-width: 100px;
  word-break: keep-all;
}

/* 모바일에서 표 가독성 개선 */
@media (max-width: 768px) {
  .saebit-step-content table {
    font-size: 0.85rem;
    margin: 24px 0 24px 0;
  }
  .saebit-step-content th,
  .saebit-step-content td {
    padding: 10px 8px;
    min-width: 60px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .saebit-step-content table {
    font-size: 0.75rem;
    margin: 20px 0 20px 0;
  }
  .saebit-step-content th,
  .saebit-step-content td {
    padding: 6px 4px;
    min-width: 50px;
    font-size: 0.75rem;
  }
}
.saebit-step-content th {
  background: #f0f6fb;
  color: #1976d2;
  font-weight: 600;
}
.saebit-step-content .red {
  color: #e53935;
}
.saebit-step-content .underLine {
  text-decoration: underline;
}

/* 동의 체크 영역 */
.saebit-step-check {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
  margin-top: 8px;
}
.saebit-step-check label {
  font-size: 1.05rem;
  color: #1976d2;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  padding-left: 32px;
}
.saebit-step-check input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #1976d2;
  border-radius: 50%;
  background: #fff;
  outline: none;
  margin-right: 8px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.06);
}
.saebit-step-check input[type="radio"]:checked {
  background: #1976d2;
  border: 2px solid #1976d2;
}
.saebit-step-check input[type="radio"]:checked::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 3px;
  top: 3px;
}

/* 버튼 영역 */
.saebit-step-btn-box {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0;
}

.btn.blue {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 38px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1.2;
  height: 40px;
  min-width: 80px;
  box-sizing: border-box;
}
.btn.blue:active,
.btn.blue:focus {
  outline: none;
  background: #1256a3;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.1);
}

/* 스크롤바 디자인 */
.saebit-step-content::-webkit-scrollbar {
  width: 8px;
  background: #f0f6fb;
  border-radius: 8px;
}
.saebit-step-content::-webkit-scrollbar-thumb {
  background: #dde5ed;
  border-radius: 8px;
}

/* 카드(단계별) 하단 버튼 영역 */
.saebit-step-actions {
  flex-shrink: 0;
  background: #fff;
  padding: 24px 48px 32px 48px;
  padding-left: 32px;
  margin-top: 0;
  position: sticky;
  bottom: 0;
  z-index: 2;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 -2px 12px 0 rgba(30, 40, 80, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1.5px solid #e3eaf6;
}

/* 반응형 */
@media (max-width: 1100px) {
  .saebit-step-card {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    padding: 24px 0 0 0;
    height: 65vh;
    font-size: 0.98rem;
    border-radius: 16px;
  }
  .saebit-step-card h3 {
    padding-left: 32px;
  }
  .saebit-step-content {
    padding: 0 3vw 16px 6vw;
    font-size: 0.98rem;
  }
  .saebit-step-actions {
    padding: 16px 3vw 20px 3vw;
    padding-left: 3vw;
    border-radius: 0 0 16px 16px;
  }
  .saebit-step-btn-box {
    padding-right: 3vw;
    margin-bottom: 8px;
  }
}
@media (max-width: 430px) {
  body {
    background: #f5f7fa;
  }
  .saebit-step-card {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding: 5vw 3vw 0 3vw;
    border-radius: 16px;
    box-shadow: 0 4px 18px 0 rgba(30, 40, 80, 0.1);
    margin: 3vw auto 3vw auto;
    background: #fff;
    font-size: 0.98rem;
    height: 60vh;
  }
  .saebit-step-card h3 {
    font-size: 1.12rem;
    padding-left: 8px;
  }
  .saebit-step-content {
    font-size: 0.97rem;
    padding: 0 2vw 6vw 3vw;
    line-height: 1.75;
  }
  .saebit-step-content ul.ul li {
    font-size: 0.95rem;
    margin-bottom: 13px;
    line-height: 1.6;
  }
  .saebit-step-content dt {
    font-size: 1.01rem;
  }
  .btn.blue {
    font-size: 0.98rem;
    padding: 8px 16px;
    height: 36px;
  }
  .saebit-step-check label {
    font-size: 0.97rem;
    padding-left: 24px;
    gap: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .saebit-step-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 6px 1vw 6px 1vw;
    padding-left: 1vw;
    border-radius: 0 0 10px 10px;
  }
  .saebit-step-btn-box {
    padding-right: 1vw;
    margin-bottom: 8px;
  }
}

/* width 유틸리티 클래스 */
.w-80 {
  width: 80px !important;
}
.w-100 {
  width: 100px !important;
}
.w-120 {
  width: 120px !important;
}
.w-150 {
  width: 150px !important;
}
.w-180 {
  width: 180px !important;
}
.w-200 {
  width: 200px !important;
}
.w-250 {
  width: 250px !important;
}
.w-300 {
  width: 300px !important;
}
.w-350 {
  width: 350px !important;
}
.w-400 {
  width: 400px !important;
}
.w-100p {
  width: 100% !important;
}
.w-50p {
  width: 50% !important;
}

@media (max-width: 700px) {
  .w-300,
  .w-350,
  .w-400 {
    width: 100% !important;
  }
}

/* height 유틸리티 클래스 */
.h-40 {
  height: 40px !important;
}
.h-44 {
  height: 44px !important;
}
.h-52 {
  height: 52px !important;
}
.h-50 {
  height: 50px !important;
}
.h-80 {
  height: 80px !important;
}
.h-100 {
  height: 100px !important;
}
.h-120 {
  height: 120px !important;
}
.h-150 {
  height: 150px !important;
}
.h-180 {
  height: 180px !important;
}
.h-200 {
  height: 200px !important;
}
.h-250 {
  height: 250px !important;
}
.h-300 {
  height: 300px !important;
}
.h-350 {
  height: 350px !important;
}
.h-400 {
  height: 400px !important;
}
.h-100p {
  height: 100% !important;
}
.h-50p {
  height: 50% !important;
}

/* margin 유틸리티 클래스 */
.m-0 {
  margin: 0 !important;
}
.m-5 {
  margin: 5px !important;
}
.m-10 {
  margin: 10px !important;
}
.m-15 {
  margin: 15px !important;
}
.m-20 {
  margin: 20px !important;
}
.mt-5 {
  margin-top: 5px !important;
}
.mt-10 {
  margin-top: 10px !important;
}
.mt-15 {
  margin-top: 15px !important;
}
.mt-20 {
  margin-top: 20px !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-5 {
  margin-bottom: 5px !important;
}
.mb-10 {
  margin-bottom: 10px !important;
}
.mb-15 {
  margin-bottom: 15px !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
.ml-5 {
  margin-left: 5px !important;
}
.ml-10 {
  margin-left: 10px !important;
}
.ml-15 {
  margin-left: 15px !important;
}
.ml-20 {
  margin-left: 20px !important;
}
.mr-5 {
  margin-right: 5px !important;
}
.mr-10 {
  margin-right: 10px !important;
}
.mr-15 {
  margin-right: 15px !important;
}
.mr-20 {
  margin-right: 20px !important;
}

/* padding 유틸리티 클래스 */
.p-0 {
  padding: 0 !important;
}
.p-5 {
  padding: 5px !important;
}
.p-10 {
  padding: 10px !important;
}
.p-15 {
  padding: 15px !important;
}
.p-20 {
  padding: 20px !important;
}
.pt-5 {
  padding-top: 5px !important;
}
.pt-10 {
  padding-top: 10px !important;
}
.pt-15 {
  padding-top: 15px !important;
}
.pt-20 {
  padding-top: 20px !important;
}
.pb-5 {
  padding-bottom: 5px !important;
}
.pb-10 {
  padding-bottom: 10px !important;
}
.pb-15 {
  padding-bottom: 15px !important;
}
.pb-20 {
  padding-bottom: 20px !important;
}
.pl-5 {
  padding-left: 5px !important;
}
.pl-10 {
  padding-left: 10px !important;
}
.pl-15 {
  padding-left: 15px !important;
}
.pl-20 {
  padding-left: 20px !important;
}
.pr-5 {
  padding-right: 5px !important;
}
.pr-10 {
  padding-right: 10px !important;
}
.pr-15 {
  padding-right: 15px !important;
}
.pr-20 {
  padding-right: 20px !important;
}

/* ===== 새빛주차패스 신청 폼 스타일 ===== */

.saebit-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(30, 40, 80, 0.1);
  padding: 48px;
  margin: 32px 0;
}

.form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 24px;
}

.form-row label {
  min-width: 200px;
  font-size: 16px;
  font-weight: 600;
  color: #1976d2;
  padding-top: 8px;
  text-align: left;
}

.form-row .form-content {
  flex: 1;
  text-align: left;
}

.form-text {
  width: 100%;
  max-width: 400px;
  height: 44px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  background: #fff;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-text:focus {
  border: 2px solid #1976d2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-text.readonly {
  background: #f5f7fa;
  color: #666;
}

.form-select {
  width: 100%;
  max-width: 400px;
  height: 44px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  background: #fff;
  transition: border 0.2s, box-shadow 0.2s;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(1em + 6px), calc(100% - 8px) calc(1em + 6px);
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.form-radio {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* ---- 라디오 버튼 네이티브 스타일 최소화 ---- */
.form-radio label {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  margin-right: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.form-radio input[type="radio"] {
  margin-right: 8px;
  accent-color: #1976d2;
}

.saebit-form-check {
  display: flex;
  gap: 24px;
  align-items: center;
}

.saebit-form-check label {
  min-width: auto;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  padding-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.saebit-form-check input[type="checkbox"],
.saebit-form-check .checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #1976d2;
  border-radius: 4px;
  background: #fff;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  position: relative;
  cursor: pointer;
}

.saebit-form-check input[type="checkbox"]:checked,
.saebit-form-check .checkbox:checked {
  background: #1976d2;
  border: 2px solid #1976d2;
}

.saebit-form-check input[type="checkbox"]:checked::before,
.saebit-form-check .checkbox:checked::before {
  content: "✓";
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 14px;
  position: absolute;
  left: 3px;
  top: 0px;
}

.form-btn-box {
  display: flex;
  /* gap: 12px; */
  align-items: center;
}

.btn {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.06);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.btn:hover {
  background: #1256a3;
}

.btn.default {
  background: #fff;
  color: #1976d2;
  border: 2px solid #1976d2;
}

.btn.default:hover {
  background: #f0f6fb;
}

.btn.lg {
  padding: 16px 32px;
  font-size: 16px;
  height: 52px;
}

.file-upload-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7fafd;
  border: 1px solid #dde5ed;
  border-radius: 8px;
  padding: 10px 16px;
  min-height: 44px;
  margin-bottom: 8px;
}

.file-upload-btn {
  background: #fff;
  color: #1976d2;
  border: 1.5px solid #1976d2;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.file-upload-btn:hover {
  background: #f0f6fb;
}

.fileNameBox {
  color: #1976d2;
  font-weight: 500;
  margin-left: 8px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

.file-remove-btn {
  background: none;
  border: none;
  color: #e53935;
  font-size: 16px;
  cursor: pointer;
  margin-left: 8px;
  padding: 0 4px;
  line-height: 1;
}

.file-delete-btn {
  margin-left: 8px;
  background: transparent;
  border: none;
  color: #b0b0b0;
  font-size: 22px;
  line-height: 1;
  padding: 0 8px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.file-delete-btn:hover,
.file-delete-btn:focus {
  background: #f0f0f0;
  color: #1976d2;
}

.notice {
  background: #f7fafd;
  border-left: 4px solid #1976d2;
  padding: 12px 16px;
  margin-bottom: 16px;
  color: #1976d2;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
}

.fileInfoBox {
  font-size: 14px;
  color: #e53935;
  margin-top: 8px;
}

.hidden-messages {
  background: #ffebee;
  border-left: 4px solid #e53935;
  padding: 12px 16px;
  margin-top: 8px;
  color: #e53935;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
}

.asterisk {
  color: #e53935;
  font-weight: bold;
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e3eaf6;
}

.form-error-box {
  background: #ffeaea;
  color: #e53935;
  border: 1.5px solid #e53935;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  word-break: keep-all;
  box-shadow: 0 2px 8px 0 rgba(229, 57, 53, 0.04);
  z-index: 10;
}

.modal-error-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 400px;
  max-width: 90vw;
  width: 400px;
  min-height: 100px;
  max-height: 90vh;
  background: #ffffff;
  border: 1.5px solid #e53935;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  z-index: 9999;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.2s;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.modal-error-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 24px 18px 24px;
}
#errorModalMsg {
  color: #e53935;
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  margin-right: 12px;
  word-break: keep-all;
  text-align: center;
  white-space: pre-line;
}
.modal-error-close {
  background: none;
  border: none;
  color: #e53935;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  margin-left: 8px;
}
.modal-error-close:hover,
.modal-error-close:focus {
  color: #e53935;
  background: #ffeaea;
}
@media (max-width: 480px) {
  .modal-error-box {
    min-width: 220px;
    width: 90vw;
    padding: 0;
  }
  .modal-error-content {
    padding: 14px 10px 14px 10px;
  }
  #errorModalMsg {
    font-size: 15px;
  }
}

.modal-error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  z-index: 9998;
  display: none;
}

/* 성공 모달 스타일 */
.modal-success-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 400px;
  max-width: 90vw;
  width: 400px;
  min-height: 100px;
  max-height: 90vh;
  background: #ffffff;
  border: 1.5px solid #4caf50;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  z-index: 9999;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.2s;
}

.modal-success-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 24px 18px 24px;
}

.modal-success-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.modal-success-confirm {
  background: #4caf50;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
  min-width: 60px;
}

.modal-success-confirm:hover,
.modal-success-confirm:focus {
  background: #45a049;
}

#successModalMsg {
  color: #4caf50;
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  margin-right: 12px;
  word-break: keep-all;
  text-align: center;
  white-space: pre-line;
}

.modal-success-close {
  background: none;
  border: none;
  color: #4caf50;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  margin-left: 8px;
}

.modal-success-close:hover,
.modal-success-close:focus {
  color: #4caf50;
  background: #e8f5e8;
}

.modal-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  z-index: 9998;
  display: none;
}

@media (max-width: 480px) {
  .modal-success-box {
    min-width: 220px;
    width: 90vw;
    padding: 0;
  }
  .modal-success-content {
    padding: 14px 10px 14px 10px;
  }
  #successModalMsg {
    font-size: 15px;
  }
  .modal-success-buttons {
    gap: 8px;
    margin-left: 8px;
  }
  .modal-success-confirm {
    font-size: 13px;
    padding: 6px 12px;
    min-width: 50px;
  }
}

/* 확인 모달 스타일 */
.modal-confirm-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 400px;
  max-width: 90vw;
  width: 400px;
  min-height: 120px;
  max-height: 90vh;
  background: #ffffff;
  border: 1.5px solid #1976d2;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  z-index: 9999;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.2s;
}

.modal-confirm-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px;
  gap: 20px;
}

.modal-confirm-message {
  text-align: center;
  width: 100%;
}

#confirmModalMsg {
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  word-break: keep-all;
  white-space: pre-line;
}

.modal-confirm-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.modal-confirm-btn {
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s;
  min-width: 80px;
}

.modal-confirm-cancel {
  background: #f5f5f5;
  color: #666666;
  border: 1px solid #e0e0e0;
}

.modal-confirm-cancel:hover,
.modal-confirm-cancel:focus {
  background: #e8e8e8;
  color: #333333;
}

.modal-confirm-ok {
  background: #1976d2;
  color: #ffffff;
}

.modal-confirm-ok:hover,
.modal-confirm-ok:focus {
  background: #1565c0;
}

.modal-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  z-index: 9998;
  display: none;
}

@media (max-width: 480px) {
  .modal-confirm-box {
    min-width: 280px;
    width: 90vw;
    padding: 0;
  }
  .modal-confirm-content {
    padding: 20px 16px;
    gap: 16px;
  }
  #confirmModalMsg {
    font-size: 15px;
  }
  .modal-confirm-buttons {
    gap: 8px;
  }
  .modal-confirm-btn {
    font-size: 13px;
    padding: 8px 16px;
    min-width: 70px;
  }
}

/* 새빛주차패스 폼 반응형 */
@media (max-width: 768px) {
  .saebit-form {
    padding: 24px;
    margin: 16px 0;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .form-row label {
    min-width: auto;
    font-size: 15px;
  }

  .form-text,
  .form-select {
    max-width: 100%;
  }

  .form-radio,
  .saebit-form-check {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .form-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn.lg {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .saebit-form {
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    min-width: 0;
  }
  .form-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0;
  }
  .form-row label {
    min-width: 0;
    font-size: 15px;
    padding-top: 0;
    margin-bottom: 2px;
  }
  .form-content,
  .form-text,
  .form-select,
  .file-upload-group,
  .btn,
  .file-upload-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .fileNameBox {
    max-width: 100%;
    font-size: 14px;
  }
  .btn.lg {
    padding: 12px 0;
    font-size: 15px;
    height: 44px;
  }
  .saebit-step-check label {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    font-size: 15px;
    margin-right: 18px;
  }

  .saebit-radio-qualify label {
    padding-top: 9px;
  }

  .file-upload-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7fafd;
    border: 1px solid #dde5ed;
    border-radius: 8px;
    padding: 8px 12px;
    min-height: 40px;
    margin-bottom: 8px;
  }
  .file-upload-btn {
    width: auto !important;
    min-width: 90px;
    max-width: 120px;
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 15px;
  }
  .fileNameBox {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1976d2;
    font-weight: 500;
    font-size: 15px;
  }
  .saebit-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
  }
  .form-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    padding: 0;
    margin-top: 24px;
  }
  .form-actions .btn,
  .form-actions .btn.lg {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    border-radius: 12px;
    font-size: 16px;
    height: 48px;
    padding: 0;
  }
}

.pass-auth-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  width: 100%;
  margin: 0 auto 32px auto;
  text-align: center;
}
.pass-auth-area h3 {
  font-size: 1.2rem;
  color: #1976d2;
  margin-bottom: 12px;
  font-weight: 700;
}
.pass-auth-area p {
  margin-bottom: 18px;
  color: #444;
  font-size: 1rem;
}
.pass-auth-area .btn.blue {
  min-width: 120px;
  font-size: 1.08rem;
  font-weight: 600;
  height: 40px;
}

.saebit-list-box {
  width: 100%;
  max-width: none;
}
.saebit-form {
  width: 100%;
  max-width: none;
}
.saebit-form .article-title {
  color: #1976d2;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  text-align: left;
}
.saebit-form .notice {
  background: #f7fafd;
  border-left: 4px solid #1976d2;
  padding: 12px 16px;
  margin-bottom: 16px;
  color: #1976d2;
  font-size: 15px;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
}
.saebit-search-bar {
  background: #f7fafd;
  border: 1px solid #dde5ed;
  border-radius: 8px;
  padding: 16px 16px 12px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto 0 auto;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
  justify-content: center;
}
.saebit-search-bar .search-field label {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  min-width: 80px;
  text-align: left;
  margin-bottom: 0;
  white-space: nowrap;
}
.saebit-search-bar .search-field input,
.saebit-search-bar .search-field select {
  height: 36px;
  border: 1px solid #cfd8dc;
  border-radius: 5px;
  padding: 0 10px;
  font-size: 15px;
  background: #fff;
  text-align: left;
  width: 150px;
  transition: border 0.2s;
  color: #222;
}
.saebit-search-bar .search-btn-box .btn.blue {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0 28px;
  height: 36px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
}
.saebit-list-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
  margin-top: 18px;
}
.saebit-list-table th {
  background: #f0f6fb;
  color: #1976d2;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #dde5ed;
}
.saebit-list-table td {
  font-size: 15px;
  color: #222;
  padding: 13px 0;
  border-bottom: 1px solid #e2e5ea;
  text-align: center;
}
.saebit-list-table tr:last-child td {
  border-bottom: none;
}
.saebit-list-table .nodata td {
  color: #b0b0b0;
  font-size: 15px;
  padding: 24px 0;
  background: #fafbfc;
}
@media (max-width: 900px) {
  .saebit-form {
    padding: 18px 4vw 18px 4vw;
    max-width: 100vw;
  }
  .saebit-search-bar {
    padding: 10px 2vw 10px 2vw;
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .saebit-search-bar {
    border-radius: 10px;
  }

  .saebit-search-bar .search-field label {
    font-size: 12px;
  }

  .saebit-search-bar .search-field input,
  .saebit-search-bar .search-field select {
    border-radius: 7px;
    font-size: 12px;
    height: 30px;
    padding: 0 5px;
  }
  .saebit-search-bar .search-btn-box .btn.blue {
    border-radius: 7px;
    font-size: 12px;
    height: 30px;
  }
  .saebit-form {
    box-shadow: 0 2px 12px 0 rgba(30, 40, 80, 0.1);
    border-radius: 12px;
    background: #fff;
    padding: 16px 8px 18px 8px;
  }
  
  .saebit-list-table td {
    font-size: 12px;
    padding: 8px 4px;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0; /* 텍스트 말줄임표가 제대로 작동하도록 설정 */
  }
}

/* ===================== 새빛주차패스 상세조회(view.jsp) ===================== */
.saebit-view-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 24px;
  width: 100%;
}

/* 버튼 컨테이너 스타일 */
.saebit-btn-container {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.saebit-btn {
  width: 90px;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.saebit-btn:focus {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

/* 접근성 개선 */
.saebit-btn[aria-label]:focus::after {
  content: attr(aria-label);
  position: absolute;
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  margin-top: -30px;
}
.saebit-detail-box {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 32px 24px;
  margin-bottom: 32px;
}
.saebit-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.saebit-pay-btn {
  height: 36px !important;
  width: 100px;
  min-width: 100px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
}
.saebit-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.saebit-detail-table th {
  background: #f5f7fa;
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  height: 45px;
  color: #1976d2;
  border-bottom: 1px solid #e0e0e0;
}
.saebit-detail-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
}
.saebit-files-row {
  width: 100%;
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  max-width: 100%;
  padding: 0;
}
.saebit-application-files {
  flex: 1;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 18px 16px;
  width: 100%;
  max-width: 100%;
}
.saebit-application-files h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 12px;
}
.saebit-application-files .file-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.saebit-application-files .file-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  flex: 1;
}
.saebit-application-files .file-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.saebit-application-files .file-title {
  font-weight: 600;
  font-size: 16px;
  color: #1976d2;
  margin-bottom: 0;
  display: block;
  flex: 1;
}
.saebit-application-files .file-status {
  margin-left: 12px;
}
.saebit-application-files .file-status span {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
}
.saebit-application-files .status-approved {
  background: #e8f5e9;
  color: #2e7d32;
}
.saebit-application-files .status-rejected {
  background: #ffebee;
  color: #c62828;
}
.saebit-application-files .status-pending {
  background: #fff3e0;
  color: #ef6c00;
}
.saebit-application-files .status-note {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
  font-style: italic;
  position: relative;
  cursor: help;
  display: inline-block;
}

/* Tooltip styles */
.saebit-application-files .status-note[data-tooltip] {
  position: relative;
}

.saebit-application-files .status-note[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #222;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  z-index: 1000;
  margin-bottom: 12px;
  min-width: 300px !important;
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.03);
  line-height: 1.5;
  border: 1px solid #cfd8dc;
}

.saebit-application-files .status-note[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
  margin-bottom: -6px;
  z-index: 1000;
}

/* 모바일에서 툴팁 개선 */
@media (max-width: 768px) {
  .saebit-application-files .status-note[data-tooltip]:hover::after {
    max-width: 400px;
    font-size: 12px;
    padding: 12px 16px;
    border-radius: 5px;
  }
}

/* 툴팁이 화면 밖으로 나가지 않도록 조정 */
.saebit-application-files .status-note[data-tooltip]:hover::after {
  left: 50%;
  transform: translateX(-50%);
}
.saebit-application-files .file-content {
  margin-top: 12px;
}
.saebit-application-files .file-download-btn {
  background: none;
  border: none;
  color: #1976d2;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  margin-bottom: 8px;
}
.saebit-application-files .file-download-btn:hover {
  color: #1256a3;
}
.saebit-bottom-row {
  width: 800px;
  display: flex;
  justify-content: flex-end;
}

/* 파일등록 버튼 스타일 (신청서와 통일) */
.btn.file-upload-btn,
.btn.blue.sm {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.btn.file-upload-btn:hover,
.btn.blue.sm:hover {
  background: #1256a6;
}

/* 결제하기 버튼 */
.saebit-bottom-row .btn.blue.lg {
  min-width: 120px;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 32px;
  border-radius: 6px;
}

/* 반응형 (모바일) */
@media (max-width: 900px) {
  .saebit-detail-box,
  .saebit-files-row,
  .saebit-bottom-row {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .saebit-files-row {
    flex-direction: column;
    gap: 12px;
  }
  .saebit-application-files .file-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  .saebit-application-files .file-item {
    width: 100%;
  }
  .saebit-application-files .file-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .saebit-application-files .file-status {
    margin-left: 0;
  }
}

/* ===================== 새빛주차패스 상세조회(view.jsp) 파일등록 개선 ===================== */
.saebit-file-drop {
  border: 2px dashed #b0c4de;
  border-radius: 10px;
  background: #f7fafd;
  padding: 18px 16px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
  margin-bottom: 8px;
}
.saebit-file-drop.dragover {
  border-color: #1976d2;
  background: #e3eaf6;
}
.saebit-file-drop.file-attached {
  border-color: #43a047;
  background: #e8f5e9;
}
.saebit-file-drop.file-attached .file-drop-text {
  color: #388e3c;
}
.saebit-file-drop.file-attached .fileNameBox {
  color: #388e3c;
}
.saebit-file-drop.file-attached .file-upload-btn {
  background: #43a047;
  color: #fff;
}
.saebit-file-drop.file-attached .file-upload-btn:hover {
  background: #2e7031;
}
.saebit-file-drop input[type="file"] {
  display: none;
}
.saebit-file-drop .file-drop-text {
  color: #1976d2;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.saebit-file-drop .fileNameBox {
  color: #1976d2;
  font-size: 14px;
  font-weight: 600;
  margin-right: 10px;
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.saebit-file-drop .file-remove-btn {
  background: none;
  border: none;
  color: #e53935;
  font-size: 18px;
  cursor: pointer;
  margin-left: 4px;
  vertical-align: middle;
  padding: 0 4px;
}
.saebit-file-drop .file-remove-btn:hover {
  color: #1976d2;
}
.saebit-file-drop .file-upload-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 0;
  transition: background 0.2s;
  display: inline-block;
}
.saebit-file-drop .file-upload-btn:hover {
  background: #1256a6;
}


@media (max-width: 700px) {
  .saebit-detail-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  .article-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .saebit-detail-table th,
  .saebit-detail-table td {
    font-size: 14px;
    padding: 7px 6px;
  }
  .saebit-file-drop {
    padding: 12px 6px;
    font-size: 13px;
  }
  .saebit-file-drop .fileNameBox {
    max-width: 120px;
    font-size: 13px;
  }
  .saebit-detail-table col:first-child {
    width: 100px !important;
  }
}

/* 배정 내역 테이블 전용 스타일 */
.saebit-assign-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.saebit-assign-table th {
  background: #f5f7fa;
  text-align: center;
  padding: 14px 16px;
  font-weight: 600;
  height: 45px;
  color: #1976d2;
  border-bottom: 1px solid #e0e0e0;
}
.saebit-assign-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

/* 배정 내역 테이블의 버튼 가운데 정렬 */
.saebit-assign-table .saebit-pay-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 모바일 배정 내역 테이블 반응형 */
@media (max-width: 768px) {
  .saebit-assign-table {
    font-size: 14px;
  }
  
  .saebit-assign-table th,
  .saebit-assign-table td {
    padding: 10px 8px;
    font-size: 14px;
  }
  
  .saebit-assign-table .saebit-pay-btn {
    font-size: 13px;
    padding: 8px 16px;
    height: 32px;
    min-width: 80px;
  }
}

@media (max-width: 600px) {
  .saebit-assign-table {
    font-size: 13px;
  }
  
  .saebit-assign-table th,
  .saebit-assign-table td {
    padding: 8px 6px;
    font-size: 13px;
  }
  
  .saebit-assign-table .saebit-pay-btn {
    font-size: 12px;
    padding: 6px 12px;
    height: 28px;
    min-width: 70px;
  }
}

@media (max-width: 480px) {
  /* 모바일에서 카드 형태로 변경 */
  .saebit-assign-table {
    display: none; /* 기존 테이블 숨김 */
  }
  
  /* 모바일 카드 형태 배정 내역 */
  .saebit-assign-cards {
    display: block !important;
  }
  
  .saebit-assign-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .saebit-assign-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 0;
  }
  
  .saebit-assign-card-row:last-child {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
  }
  
  .saebit-assign-card-label {
    font-weight: 600;
    color: #1976d2;
    font-size: 13px;
    min-width: 80px;
  }
  
  .saebit-assign-card-value {
    font-size: 13px;
    color: #333;
    text-align: right;
    flex: 1;
  }
  
  .saebit-assign-card-btn {
    width: 100%;
    margin-top: 8px;
  }
  
  .saebit-assign-card-btn .saebit-pay-btn {
    width: 100%;
    font-size: 14px;
    height: 36px;
    border-radius: 6px;
  }
  
  
  /* 480px 이하에서 테이블 열 너비 최종 조정 */
  .saebit-list-table th:nth-child(1),
  .saebit-list-table td:nth-child(1) {
    min-width: 50px;
    width: 20%;
  }
  
  .saebit-list-table th:nth-child(2),
  .saebit-list-table td:nth-child(2) {
    min-width: 60px;
    width: 30%;
  }
  
  .saebit-list-table th:nth-child(3),
  .saebit-list-table td:nth-child(3) {
    min-width: 50px;
    width: 30%;
  }
  
  .saebit-list-table th:nth-child(4),
  .saebit-list-table td:nth-child(4) {
    min-width: 50px;
    width: 20%;
  }
}

@media (max-width: 600px) {
  .saebit-assign-table {
    font-size: 13px;
  }
  
  .saebit-assign-table th,
  .saebit-assign-table td {
    padding: 8px 6px;
    font-size: 13px;
  }
  
  .saebit-assign-table .saebit-pay-btn {
    font-size: 12px;
    padding: 6px 12px;
    height: 28px;
    min-width: 70px;
  }
}

/* ===================== 수납내역 모달 스타일 ===================== */
.receipt-list-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  align-items: center;
  justify-content: center;
}

.receipt-list-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.receipt-list-modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  overflow: hidden;
  z-index: 2;
  animation: receiptListModalFadeIn 0.3s ease-out;
}

@keyframes receiptListModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.receipt-list-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.receipt-list-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1976d2;
  margin: 0;
}

.receipt-list-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.receipt-list-modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

.receipt-list-modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.receipt-list-modal-loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

.receipt-list-modal-error {
  text-align: center;
  padding: 40px 20px;
  color: #e53935;
  font-size: 16px;
  background: #ffebee;
  border-radius: 8px;
  border: 1px solid #ffcdd2;
}

/* 반응형 수납내역 모달 */
@media (max-width: 768px) {
  .receipt-list-modal-content {
    width: 95vw;
    max-width: 95vw;
    margin: 20px;
  }
  
  .receipt-list-modal-header {
    padding: 16px 20px;
  }
  
  .receipt-list-modal-title {
    font-size: 16px;
  }
  
  .receipt-list-modal-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .receipt-list-modal-content {
    width: 98vw;
    max-width: 98vw;
    margin: 10px;
  }
  
  .receipt-list-modal-header {
    padding: 12px 16px;
  }
  
  .receipt-list-modal-body {
    padding: 16px;
  }
}

/* ===================== 수납내역 테이블 스타일 ===================== */
.receipt-list-container {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.receipt-list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: #fff;
}

.receipt-list-table th {
  background: #f5f7fa;
  text-align: center;
  padding: 14px 10px;
  font-weight: 600;
  color: #1976d2;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
}

.receipt-list-table td {
  text-align: center;
  padding: 14px 10px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  font-size: 16px;
}

.receipt-list-table tr:last-child td {
  border-bottom: none;
}

.receipt-row {
  cursor: pointer;
  transition: background 0.2s;
}

.receipt-row:hover {
  background: #f0f6fb;
}

.receipt-no-data {
  text-align: center;
  padding: 40px 0;
  color: #999;
  background: #fafbfc;
  font-size: 14px;
}

/* 반응형 수납내역 테이블 */
@media (max-width: 768px) {
  .receipt-list-table {
    font-size: 15px;
  }
  
  .receipt-list-table th,
  .receipt-list-table td {
    padding: 12px 8px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .receipt-list-table {
    font-size: 14px;
  }
  
  .receipt-list-table th,
  .receipt-list-table td {
    padding: 10px 6px;
    font-size: 14px;
  }
}

/* ===================== 기타서류 라디오박스 스타일 ===================== */
.other-doc-radio-group {
  margin: 8px 0;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 14px;
}

.other-doc-radio-group label {
  display: inline-block;
  margin-right: 20px;
  cursor: pointer;
  font-weight: normal;
  font-size: 14px;
  color: #222;
  font-weight: 500;
  margin-right: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.other-doc-radio-group label:hover {
  color: #1976d2;
}

.other-doc-radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #1976d2;
  border-radius: 50%;
  background: #fff;
  outline: none;
  margin-right: 8px;
  position: relative;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px 0 rgba(30, 40, 80, 0.06);
  vertical-align: middle;
}

.other-doc-radio-group input[type="radio"]:checked {
  background: #1976d2;
  border: 2px solid #1976d2;
}

.other-doc-radio-group input[type="radio"]:checked::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 3px;
  top: 3px;
}

.other-doc-radio-group input[type="radio"]:hover {
  border-color: #1256a3;
  box-shadow: 0 2px 8px 0 rgba(30, 40, 80, 0.1);
}

/* ===================== 수납 상세보기 모달 스타일 ===================== */
.receipt-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.receipt-detail-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.receipt-detail-modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  max-width: 90vw;
  max-height: 90vh;
  width: 600px;
  overflow: hidden;
  z-index: 2;
  animation: receiptModalFadeIn 0.3s ease-out;
}

@keyframes receiptModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.receipt-detail-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.receipt-detail-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1976d2;
  margin: 0;
}

.receipt-detail-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.receipt-detail-modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

.receipt-detail-modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.receipt-detail-modal-loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

.receipt-detail-modal-error {
  text-align: center;
  padding: 40px 20px;
  color: #e53935;
  font-size: 16px;
  background: #ffebee;
  border-radius: 8px;
  border: 1px solid #ffcdd2;
}

/* 수납 상세보기 전용 스타일 */
.receipt-detail-container {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  margin-bottom: 0;
}

.receipt-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.receipt-detail-title {
  font-size: 18px;
  font-weight: 700;
  color: #1976d2;
  margin: 0;
}

.receipt-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.receipt-detail-table colgroup col:first-child {
  width: 140px;
}

.receipt-detail-table th {
  background: #f5f7fa;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: #1976d2;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.receipt-detail-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  color: #333;
}

.receipt-detail-table tr:last-child td {
  border-bottom: none;
}

/* 수납 상세보기 모달 전용 스타일 - 완전히 독립적인 클래스명 */
.receipt-detail-modal-container {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  margin-bottom: 0;
}

.receipt-detail-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.receipt-detail-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1976d2;
  margin: 0;
}

.receipt-detail-modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.receipt-detail-modal-table colgroup col:first-child {
  width: 160px;
}

.receipt-detail-modal-table th {
  background: #f5f7fa;
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: #1976d2;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
}

.receipt-detail-modal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
  color: #333;
}

.receipt-detail-modal-table tr:last-child td {
  border-bottom: none;
}

/* 반응형 모달 */
@media (max-width: 768px) {
  .receipt-detail-modal-content {
    width: 95vw;
    max-width: 95vw;
    margin: 20px;
  }

  .receipt-detail-modal-header {
    padding: 16px 20px;
  }

  .receipt-detail-modal-title {
    font-size: 16px;
  }

  .receipt-detail-modal-body {
    padding: 20px;
  }

  .receipt-detail-modal-table {
    font-size: 15px;
  }

  .receipt-detail-modal-table th,
  .receipt-detail-modal-table td {
    padding: 12px 14px;
    font-size: 15px;
  }

  .receipt-detail-modal-table colgroup col:first-child {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .receipt-detail-modal-content {
    width: 98vw;
    max-width: 98vw;
    margin: 10px;
  }

  .receipt-detail-modal-header {
    padding: 12px 16px;
  }

  .receipt-detail-modal-body {
    padding: 16px;
  }

  .receipt-detail-modal-table {
    font-size: 14px;
  }

  .receipt-detail-modal-table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* 기타서류 타입 표시 스타일 */
.other-doc-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.other-doc-type {
  background: #f5f5f5;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* 기타서류 업로드 섹션 스타일 */
.other-doc-upload-section {
  margin-top: 12px;
}

.other-doc-title {
  font-size: 14px;
  font-weight: 600;
  color: #1976d2;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid #1976d2;
}
