.table-responsive table {
  white-space: nowrap;
}
.table-responsive table td.content {
  padding: 0.75rem 0.75rem;
  white-space: normal;
  word-break: keep-all;
}

.pager {
  display: flex;
  justify-content: end;
}
.white-normal {
  white-space: normal;
}

/* 프로필 사진 업로드 영역 */
.img-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: #f9fafb;
  transition: all 0.3s ease;
  cursor: pointer;
}
.modal .modal-body .img-upload-area {
  padding: 20px;
}
.img-upload-area:hover,
.img-upload-area.dragover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.profile-preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
  background: #fff;
}

.upload-icon {
  width: 80px;
  height: 80px;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.upload-icon i {
  font-size: 32px;
  color: #6b7280;
}

.upload-text {
  color: #374151;
  font-size: 14px;
  margin-bottom: 4px;
}

.upload-hint {
  color: #9ca3af;
  font-size: 12px;
}

.btn-remove {
  padding: 6px 12px;
  font-size: 12px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-remove:hover {
  background: #dc2626;
}

.btn-change {
  padding: 6px 12px;
  font-size: 12px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-change:hover {
  background: #2563eb;
}

.button-group {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/*엑셀일괄등록 모달내 업로드영역*/
.excel-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: #f9fafb;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 8px;
}
.modal .modal-body .excel-upload-area {
  padding: 20px;
}

.excel-upload-area:hover,
.excel-upload-area.dragover {
  border-color: #10b981;
  background: #f9fffc;
}

.excel-upload-area .upload-icon {
  width: 80px;
  height: 80px;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.excel-upload-area .upload-icon i {
  font-size: 36px;
  color: #6b7280;
}

.excel-upload-area .upload-text {
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.excel-upload-area .upload-hint {
  color: #6b7280;
  font-size: 12px;
}

/* 업로드 후 미리보기 */
.excel-preview-container {
  margin-top: 8px;
}

.excel-file-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #10b981;
  border-radius: 10px;
  margin-bottom: 12px;
}

.excel-file-info {
  flex: 1;
}

.excel-file-name {
  font-size: 14px;
  font-weight: 600;
  color: #047857;
  margin-bottom: 4px;
  word-break: break-all;
}

.excel-file-size {
  font-size: 12px;
  color: #6b7280;
}

.btn-excel-remove {
  width: 32px;
  height: 32px;
  background: #047857;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-excel-remove:hover {
  background: #065f46;
}

.excel-change-area {
  text-align: center;
}

.btn-excel-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  color: #10b981;
  border: 1px solid #10b981;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-excel-change:hover {
  background: #f0fdf4;
}

/* 템플릿 다운로드 */
.excel-template-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: #374151;
}

.excel-template-info i {
  font-size: 16px;
  flex-shrink: 0;
}

.excel-template-info span {
  flex: 1;
}

.btn-template-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-template-download:hover {
  background: #2563eb;
}

/* 결과 카드 */
.excel-result-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #10b981;
  font-weight: 600;
}

.result-header i {
  font-size: 18px;
}

.result-stats {
  display: flex;
  gap: 12px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.stat-item.success {
  border-color: #10b981;
  background: #f0fdf4;
}

.stat-item.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

.stat-item.success .stat-value {
  color: #10b981;
}

.stat-item.error .stat-value {
  color: #ef4444;
}

.icon_img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  overflow: hidden;
}
.icon_img img {
  width: 100%;
  height: 100%;
}
.modal_table .table {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}
.modal_table .table th {
    background-color: #f1f5f9; 
    color: #374151;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid #e5e7eb;
}
.modal_table .table tbody td {
    color: #374151;
    vertical-align: middle;
    text-align: center;
    padding: 10px 12px;
    border-color: #e5e7eb;
}


.modal-open .modal {
    overflow-x: inherit !important;
    overflow-y: inherit !important;
}
.modal-body {
    overflow: auto;
    max-height: 700px;
}
@media (max-width: 1300px) {
    .topnav .navbar-nav .nav-link {
        padding: 1rem 0.5rem;
    }
}