body {
  background: #f5f7fa;
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* 콘텐츠 영역의 a 태그 기본 색상 */
a { color: #000; text-decoration: none; transition: color .15s ease; }
a:hover { color: #f97316; text-decoration: underline; }

/* === 네비게이션 바: 흰색 텍스트 유지, 밑줄 없음 === */
.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-text {
  color: rgba(255,255,255,.9) !important;
  text-decoration: none !important;
}
.navbar .navbar-brand:hover,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* === 드롭다운 메뉴 항목: 검정 텍스트, hover 시 배경 강조 === */
.dropdown-item {
  color: #212529 !important;
  text-decoration: none !important;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #f1f5f9;
  color: #2563eb !important;
  text-decoration: none !important;
}

/* === 버튼 형태의 a 태그: 밑줄 없음, 색상은 버튼 스타일 따름 === */
a.btn,
a.btn:hover,
a.btn:focus,
.btn { text-decoration: none !important; }

/* === 페이지네이션 === */
.pagination .page-link,
.pagination .page-link:hover { text-decoration: none !important; }
.pagination .page-item.active .page-link { color: #fff !important; }

/* === 알림 박스 안의 링크 === */
.alert a { color: inherit; text-decoration: underline; }

/* 전반적으로 둥근 라운드 적용 */
.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
}
.card-header {
  background: #fff;
  border-bottom: 1px solid #eef0f2;
  font-weight: 600;
  border-radius: 18px 18px 0 0 !important;
  padding: 1rem 1.25rem;
}
.card-footer {
  border-radius: 0 0 18px 18px !important;
  background: #fff;
}

/* 버튼 */
.btn {
  border-radius: 999px;
  padding: .5rem 1.2rem;
  font-weight: 500;
  transition: all .2s ease;
}
.btn-sm { padding: .3rem .85rem; }
.btn-lg { padding: .7rem 1.6rem; }
.btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.btn-success { box-shadow: 0 2px 8px rgba(34,197,94,.25); }
.btn-danger  { box-shadow: 0 2px 8px rgba(239,68,68,.25); }
.btn-link { border-radius: 8px; }

/* 폼 컨트롤 */
.form-control,
.form-select {
  border-radius: 12px;
  padding: .55rem .9rem;
  border-color: #e2e8f0;
  transition: all .15s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-control-lg { border-radius: 14px; padding: .75rem 1rem; }
.input-group > .form-control,
.input-group > .form-select { border-radius: 12px; }
.input-group > .btn { border-radius: 999px; margin-left: 6px; }

/* 네비게이션 */
.navbar {
  border-radius: 0 0 24px 24px;
  padding: .75rem 1.5rem;
}
.navbar-brand { letter-spacing: -.5px; font-size: 1.25rem; }
.navbar .nav-link { border-radius: 999px; padding: .4rem .9rem !important; margin: 0 2px; }
.navbar .nav-link:hover { background: rgba(255,255,255,.12); }
.dropdown-menu {
  border-radius: 14px;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: .5rem;
}
.dropdown-item { border-radius: 8px; padding: .5rem .8rem; }

/* 테이블 */
.table { margin-bottom: 0; }
.table thead th {
  background: #f8f9fc;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
}
.table thead th:first-child { border-top-left-radius: 14px; }
.table thead th:last-child  { border-top-right-radius: 14px; }
.table-hover tbody tr { transition: background .15s; }
.table-responsive { border-radius: 18px; }

/* 배지/상태 */
.badge {
  border-radius: 999px;
  padding: .4em .8em;
  font-weight: 500;
}
.status-badge { font-size: .8rem; padding: .4em .9em; }

/* 알림 */
.alert {
  border-radius: 14px;
  border: none;
  padding: 1rem 1.2rem;
}

/* 페이지네이션 */
.pagination .page-link {
  border-radius: 999px !important;
  margin: 0 3px;
  border: none;
  color: #475569;
  min-width: 40px;
  text-align: center;
}
.pagination .page-item.active .page-link {
  background: #2563eb;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}

/* 출퇴근 시계 */
.attendance-clock {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -1px;
}

/* 로그인 */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#2563eb,#1e40af);
}
.login-card {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

/* 대시보드 */
.dashboard-card { transition: transform .2s; }
.dashboard-card:hover { transform: translateY(-3px); }
.dashboard-card .icon { font-size: 2.5rem; opacity: .7; }

/* 게시글 본문 */
.post-content {
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 200px;
  border-radius: 14px !important;
}

/* 댓글 */
.comment-box {
  background: #f8f9fc;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

/* 리스트 그룹 */
.list-group-item:first-child { border-top-left-radius: 14px; border-top-right-radius: 14px; }
.list-group-item:last-child  { border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }

/* 결재 문서 테이블의 라벨 셀 */
.table-bordered { border-radius: 14px; overflow: hidden; }
.table-bordered th, .table-bordered td { border-color: #e2e8f0; }

/* 체크박스 살짝 라운드 */
.form-check-input { border-radius: 6px; }
.form-check-input[type=checkbox] { border-radius: 6px; }
