/* assets/css/style.css */

body {
  background-color: #f8f9fa;
  font-family: "Noto Sans KR", sans-serif;
}

/* 로그인 카드 스타일 */
.login-card {
  max-width: 400px;
  margin: 100px auto;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 최근 검색어 배지 */
.recent-search-badge {
  cursor: pointer;
  transition: all 0.2s;
}

.recent-search-badge:hover {
  background-color: #0d6efd !important;
  color: white !important;
}

/* 검색 결과 영역 래퍼 */
.result-card {
  margin-bottom: 2rem;
  display: none; /* 초기에는 숨김 */
}

/* 로딩 오버레이 */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1050;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* 테이블 폰트 크기 조정 (모바일) */
@media (max-width: 768px) {
  .table-sm th,
  .table-sm td {
    font-size: 0.85rem;
  }

  .employee-inline-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .employee-inline-mobile > .col-sm-3,
  .employee-inline-mobile > .col-sm-9 {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .employee-inline-mobile .employee-label,
  .employee-inline-mobile #resEmployee {
    white-space: nowrap;
  }

  .employee-inline-mobile > .col-sm-9 {
    padding-left: 0;
    text-align: right;
  }
}
