/* ============================================
   연차 관리 시스템 - 출장비 프로그램 스킨 기반
   Primary: #667eea, Secondary: #764ba2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* 출장비 스킨 - Primary / Secondary */
  --color-primary: #667eea;
  --color-secondary: #764ba2;
  --color-primary-hover: #5a6fd8;
  --color-secondary-hover: #6a3f91;
  --color-accent: #14b8a6;

  /* Neutral */
  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2937;
  --color-neutral-900: #111827;

  /* Semantic */
  --color-success: #10b981;
  --color-success-bg: #d1fae5;
  --color-warning: #f59e0b;
  --color-warning-bg: #fef3c7;
  --color-error: #ef4444;
  --color-error-bg: #fee2e2;
  --color-info: #3b82f6;
  --color-info-bg: #dbeafe;

  /* Layout */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  --header-height: 64px;
  --content-max-width: 1280px;
  --bp-sm: 576px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 0 3px rgba(102, 126, 234, 0.25);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;

  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-neutral-800);
  background: var(--color-neutral-50);
  min-height: 100vh;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--color-secondary);
}

/* ========== Layout ========== */
/* 사이드바 배경색 (탭 오목 코너 pseudo-element에서도 사용) */
:root {
  --sidebar-bg: #6d28d9;
}

.app-layout {
  display: flex;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
}

/* 데스크톱: 사이드바를 12px 안쪽으로 띄워 상단 흰 여백 + 상단 라운드
   · left: max(12px, calc((100vw - 1400px) / 2 + 12px))
     뷰포트 > 1400px 이면 컨테이너 좌측 기준 12px,
     뷰포트 ≤ 1400px 이면 최소값 12px 유지 */
.app-sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 12px;
  left: max(12px, calc((100vw - 1400px) / 2 + 12px));
  height: calc(100vh - 24px);
  z-index: 100;
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.28s;
  /*box-shadow: 4px 4px 28px rgba(109, 40, 217, 0.35);*/
  border-radius: 20px;
  overflow: hidden;
}

.app-sidebar-brand {
  height: var(--header-height);
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.app-sidebar-brand-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-sidebar-brand-text {
  flex: 1;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: -0.01em;
}

/* 관리자·직원 전환 탭 (회사 관리자 전용) */
.sidebar-mode-switcher {
  display: flex;
  gap: var(--space-2);
  padding: 30px 20px 0 20px;
  flex-shrink: 0;
}

.mode-tab {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mode-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.mode-tab.active {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  font-weight: var(--font-semibold);
  box-shadow: var(--shadow-sm);
}

/* ── 사이드바 네비게이션 ─────────────────────────────────────────────
   레퍼런스(_menu.php) 구조 적용:
   · .app-sidebar-nav: 퍼플 베이스 (flex 컨테이너)
   · .nav-row:         각 행을 흰색(#fff) 캔버스로 감쌈
   · .nav-row-bg:      행 안에서 퍼플 배경으로 흰 캔버스를 덮는 레이어
   · .nav-spacer:      스페이서용 높이 (첫/마지막 메뉴 active 시 캔버스 확보)
   · .nav-filler:      메뉴 아래 남은 공간을 퍼플로 채움
   ─────────────────────────────────────────────────────────────────── */
.app-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 0;
  background: var(--sidebar-bg);
}

/* ── nav-row: 각 행의 흰 캔버스 래퍼 (position:relative 필수) ── */
.nav-row {
  position: relative;
  background: #fff ; /* active 탭 border-radius 코너 안쪽에 흰색이 드러남 */
}

/* ── nav-row-bg: A 링크 아래에 깔리는 absolute 퍼플 레이어
   · 비활성 링크 → 링크 bg(퍼플)로 완전히 덮임 (사실상 숨김)
   · 활성 링크   → margin-left 왼쪽 공간 + border-radius 코너 안쪽에 퍼플로 노출 ── */
.nav-row-bg {
  position: absolute;
  inset: 0;
  background: var(--sidebar-bg);
  z-index: 0;
}

/* 스페이서 높이 (첫/마지막 메뉴 active 시 상하 흰 캔버스 확보) */
.nav-spacer {
  position: relative;
  height: 30px;
  z-index: 0;
}

/* 남은 공간 퍼플로 채움 */
.nav-filler {
  flex: 1;
  background: var(--sidebar-bg);
}

/* ── 메뉴 링크 공통 ──────────────────────────────── */
.app-nav-link {
  position: relative;
  z-index: 1;           /* nav-row-bg(absolute, z-index:0) 위에 표시 */
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  min-height: 56px;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  /* 퍼플 배경 — nav-row-bg를 완전히 덮어 비활성 메뉴를 퍼플로 표시 */
  background: var(--sidebar-bg);
  border-radius: 0;
  margin-left: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.app-nav-link:hover {
  background: #7c3aed;
  color: #fff;
}

/* ── 활성 메뉴: 흰색 탭 ──────────────────────────────────────────────
   · background:#fff         — 링크 bg를 흰색으로 변경
   · margin-left: 16px       — 왼쪽 여백 공간 → 아래 nav-row-bg(퍼플)가 노출
   · border-radius: 25px 0 0 25px
       좌상·좌하 모서리가 라운드되면서 코너 안쪽에
       nav-row-bg(absolute 퍼플)가 드러나 오목 코너 완성
   ─────────────────────────────────────────────────────────────────── */
.app-nav-link.active {
  background: #fff  !important;
  color: var(--color-accent) !important;
  font-weight: var(--font-semibold);
  margin-left: 16px !important;
  margin-right: 0 !important;
  border-radius: 35px 0 0 35px !important;
}

/* ── 오목 코너 (위아래) ─────────────────────────────────────────────────
   active 탭 바로 위/아래 행에서 .app-nav-link 와 .nav-row-bg 두 레이어를
   동시에 같은 radius로 잘라야 뒤의 nav-row 흰 캔버스가 드러난다.
   ─────────────────────────────────────────────────────────────────────── */

/* active 탭 바로 위 행 → 하단 좌우 모서리 */
.nav-row:has(+ .nav-row > .app-nav-link.active) > .app-nav-link,
.nav-row:has(+ .nav-row > .app-nav-link.active) > .nav-row-bg {
  border-bottom-right-radius: 30px;
}

/* active 탭 바로 아래 행 → 상단 좌우 모서리 */
.nav-row:has(> .app-nav-link.active) + .nav-row > .app-nav-link,
.nav-row:has(> .app-nav-link.active) + .nav-row > .nav-row-bg {
  border-top-right-radius: 30px;
}

.app-nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.9;
}

.app-nav-link.active .app-nav-icon {
  opacity: 1;
  color: var(--color-accent);
}

/* Sidebar close (mobile) - 숨김, 모바일에서만 표시 */
.sidebar-close {
  display: none;
  position: absolute;
  top: 50%;
  right: var(--space-4);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: var(--radius-lg);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sidebar-close:hover { background: rgba(255, 255, 255, 0.25); }
.sidebar-close:active { background: rgba(255, 255, 255, 0.2); }
.sidebar-close i { font-size: 1.25rem; }

/* Backdrop - 모바일 메뉴 열림 시 */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.sidebar-backdrop.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Header hamburger - PC에서 숨김 */
.header-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius-lg);
  color: var(--color-neutral-700);
  cursor: pointer;
  margin-left: calc(-1 * var(--space-2));
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s;
}
.header-menu-btn:hover { background: var(--color-neutral-100); color: var(--color-neutral-900); }
.header-menu-btn:active { background: var(--color-neutral-200); }
.header-menu-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.sidebar-close:focus-visible { outline: 2px solid rgba(255,255,255,0.8); outline-offset: 2px; }
.header-menu-btn[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-menu-btn[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.header-menu-btn[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 22px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}

.app-main {
  flex: 1;
  /* sidebar width(260) + 좌측 오프셋(12) + 사이드바와의 간격(0) */
  margin-left: calc(var(--sidebar-width) + 12px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-neutral-50);
}

.app-header {
  /* 사이드바가 top:12px 에서 시작하므로 헤더 높이를 12px 더해 하단선 높이를 맞춤 */
  height: calc(var(--header-height) + 12px);
  min-height: calc(44px + var(--safe-top));
  background: #fff;
  border-bottom: 1px solid var(--color-neutral-200);
  padding: 37px 27px 23px 27px;;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.app-header-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-800);
}

.app-header-user {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.app-header-user-name {
  font-size: var(--text-sm);
  color: var(--color-neutral-600);
}

.app-content {
  flex: 1;
  padding: var(--space-8);
  background: #fff;
}

/* ========== Cards - 출장비 그라데이션 헤더 ========== */
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-neutral-200);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: #fff;
}

.card-body {
  padding: var(--space-6);
}

/* ========== Buttons - 출장비 그라데이션 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  font-family: inherit;
  line-height: 1.5;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-secondary-hover) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: var(--color-neutral-100);
  color: var(--color-neutral-700);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-neutral-200);
}

.btn-ghost {
  background: transparent;
  color: var(--color-neutral-600);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--color-neutral-100);
}

.btn-light {
  background: var(--color-neutral-50);
  color: var(--color-neutral-700);
  border: 1px solid var(--color-neutral-200);
}

.btn-light:hover:not(:disabled) {
  background: var(--color-neutral-100);
  border-color: var(--color-neutral-300);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.btn-outline-primary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline-primary:hover:not(:disabled) {
  background: rgba(102, 126, 234, 0.08);
  border-color: var(--color-primary-hover);
  color: var(--color-primary-hover);
}

.btn-outline-danger {
  background: transparent;
  color: #dc2626;
  border: 1px solid #dc2626;
}

.btn-outline-danger:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.08);
  border-color: #ef4444;
  color: #ef4444;
}

.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
}

/* ── 테이블 아이콘 액션 버튼 ── */
.tbl-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.tbl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s, transform 0.12s;
  background: var(--color-neutral-100);
  color: var(--color-neutral-500);
  flex-shrink: 0;
}
.tbl-btn:hover { background: var(--color-neutral-200); color: var(--color-neutral-700); transform: scale(1.08); }
.tbl-btn.tbl-btn-edit:hover  { background: #e8f0fe; color: #1a56db; }
.tbl-btn.tbl-btn-del         { background: #fee2e2; color: #dc2626; }
.tbl-btn.tbl-btn-del:hover   { background: #fecaca; color: #b91c1c; }
.tbl-btn.tbl-btn-ok:hover    { background: #d1fae5; color: #059669; }
.tbl-btn.tbl-btn-reject:hover{ background: #fee2e2; color: #dc2626; }
.tbl-btn-ok    { background: #f0fdf4; color: #16a34a; }
.tbl-btn-reject{ background: #fff5f5; color: #e53e3e; }

.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
}

/* ========== Form Controls - 출장비 포커스 글로우 ========== */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-neutral-700);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-family: inherit;
  color: var(--color-neutral-800);
  background: #fff;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.form-select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%234b5563' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-textarea {
  border-radius: var(--radius-lg);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-neutral-400);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-neutral-500);
  margin-top: var(--space-1);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form-row-time .form-input-flex { flex: 1; min-width: 0; }

/* ========== Tables ========== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-neutral-200);
}

.table th {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-neutral-50);
}

.table tbody tr:hover {
  background: var(--color-neutral-50);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ========== Progress ========== */
.progress {
  height: 8px;
  background: var(--color-neutral-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* ========== Badges ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
}

.badge-pending {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}

.badge-approved {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.badge-rejected {
  background: var(--color-error-bg);
  color: var(--color-error);
}

/* ========== Leave Manage Buttons (대시보드 관리 버튼) ========== */
.leave-manage-btns {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}

/* 비활성 기본 — 모두 회색 아웃라인 (시각 노이즈 최소화) */
.leave-manage-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border-radius: 5px;
  border: 1.5px solid var(--color-neutral-300);
  background: #fff;
  color: var(--color-neutral-500);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.01em;
  vertical-align: middle;
  user-select: none;
}
.leave-manage-btn i {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
}
.leave-manage-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 호버 — 각 컬러 힌트 */
.leave-manage-btn.lmb-pending:hover:not(:disabled)  { border-color: #e8a020; color: #c97a00; background: #fffbf0; }
.leave-manage-btn.lmb-approved:hover:not(:disabled) { border-color: #34a853; color: #1e7e34; background: #f2fbf5; }
.leave-manage-btn.lmb-rejected:hover:not(:disabled) { border-color: #e53935; color: #c62828; background: #fff5f5; }

/* 활성(현재 상태) — 컬러 아웃라인 + 연한 fill */
.leave-manage-btn.lmb-pending.is-active {
  border-color: #e8a020;
  color: #c97a00;
  background: #fff8e1;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(232,160,32,.20);
}
.leave-manage-btn.lmb-approved.is-active {
  border-color: #34a853;
  color: #1e7e34;
  background: #e8f5e9;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(52,168,83,.20);
}
.leave-manage-btn.lmb-rejected.is-active {
  border-color: #e53935;
  color: #c62828;
  background: #ffebee;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(229,57,53,.20);
}

/* 관리 컬럼 최소 너비 보장 (PC) */
.dashboard-page .table-docs th:nth-child(2),
.dashboard-page .table-docs td:nth-child(2) {
  white-space: nowrap;
}

/* ========== Stats / Metrics ========== */
.stat-card {
  display:block;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-neutral-200);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  margin-bottom: var(--space-1);
}

.stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-neutral-800);
}

.stat-value.primary {
  color: var(--color-primary);
}

/* ========== Dashboard - 전문가급 대시보드 스타일 ========== */
.dashboard-page .app-content {
  background: #fff;
  min-height: calc(100vh - var(--header-height));
}

.dashboard-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
/* ========== 글로벌 페이지 헤더 ========== */
.page-title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.page-title-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  /* 기본 — teal (대시보드) */
  background: linear-gradient(145deg, #b8e6e1 0%, #80cbc4 100%);
  color: #00695c;
  box-shadow: 0 4px 12px rgba(0,137,123,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
}
/* 페이지별 컬러 변형 */
.page-title-icon.icon-blue   { background: linear-gradient(145deg, #bbdefb 0%, #90caf9 100%); color: #1565c0; box-shadow: 0 4px 12px rgba(21,101,192,.18), inset 0 1px 0 rgba(255,255,255,0.6); }
.page-title-icon.icon-violet { background: linear-gradient(145deg, #e1bee7 0%, #ce93d8 100%); color: #6a1b9a; box-shadow: 0 4px 12px rgba(106,27,154,.18), inset 0 1px 0 rgba(255,255,255,0.6); }
.page-title-icon.icon-amber  { background: linear-gradient(145deg, #fff8e1 0%, #ffe082 100%); color: #e65100; box-shadow: 0 4px 12px rgba(230,81,0,.15),  inset 0 1px 0 rgba(255,255,255,0.6); }
.page-title-icon.icon-green  { background: linear-gradient(145deg, #c8e6c9 0%, #a5d6a7 100%); color: #2e7d32; box-shadow: 0 4px 12px rgba(46,125,50,.18),  inset 0 1px 0 rgba(255,255,255,0.6); }
.page-title-icon.icon-red    { background: linear-gradient(145deg, #ffcdd2 0%, #ef9a9a 100%); color: #c62828; box-shadow: 0 4px 12px rgba(198,40,40,.15),  inset 0 1px 0 rgba(255,255,255,0.6); }
.page-title-icon.icon-indigo { background: linear-gradient(145deg, #c5cae9 0%, #9fa8da 100%); color: #283593; box-shadow: 0 4px 12px rgba(40,53,147,.18),  inset 0 1px 0 rgba(255,255,255,0.6); }
.page-title-icon.icon-cyan   { background: linear-gradient(145deg, #b2ebf2 0%, #80deea 100%); color: #00606e; box-shadow: 0 4px 12px rgba(0,96,110,.15),   inset 0 1px 0 rgba(255,255,255,0.6); }

/* 타이틀 크기 통일 */
.page-title {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: var(--color-neutral-900) !important;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0;
}
.dashboard-page .page-title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.dashboard-page .page-title-icon {
  background: linear-gradient(145deg, #b8e6e1 0%, #80cbc4 100%);
  color: #00695c;
  box-shadow: 0 4px 12px rgba(0,137,123,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
}
.dashboard-page .page-subtitle {
  font-size: 0.9rem;
  color: var(--color-neutral-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ── 관리자 모드 상단: 2열 (회사 연차율 | 내 연차율) ── */
.dashboard-page .admin-rate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
/* ── 직원 모드 상단: 3열 (바로가기 | 회사 연차율 | 내 연차율) ── */
.dashboard-page .admin-stat-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: var(--space-5);
}
/* ── 관리자 대시보드 2행: 2열 (오늘 신청 | 회사 현황) ── */
.dashboard-page .admin-stat-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
/* 수치 표시 */
.dashboard-page .stat-sub-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-neutral-400);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}
.dashboard-page .stat-value-lg {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-neutral-800);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.dashboard-page .stat-value-lg .stat-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-neutral-500);
  margin-left: 2px;
  letter-spacing: 0;
}

/* Stat Grid - 직원·employee 모드 2열 */
.dashboard-page .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
.dashboard-page .stat-grid > div {
  min-height: 0;
}
.dashboard-page .stat-grid-leave-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.dashboard-page .stat-card-leave {
  min-height: 160px;
}
.dashboard-page .stat-card-leave-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex: 1;
}
.dashboard-page .stat-card-leave-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.dashboard-page .stat-card-leave-chart {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.dashboard-page .stat-grid-shortcut {
  grid-column: 1 / -1;
}
.dashboard-page .stat-grid-shortcut .stat-card {
  min-height: 140px;
  cursor: default;
  justify-content: center;
}
.dashboard-page .stat-grid-shortcut .stat-card:hover {
  transform: none;
}
.dashboard-page .stat-grid-shortcut .stat-card::before {
  display: none;
}

.dashboard-page .dash-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-height: 54px;
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.22), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.dashboard-page .dash-action-btn i.bi {
  font-size: 1.2rem;
  opacity: 0.9;
}
.dashboard-page .dash-action-btn:hover {
  background: linear-gradient(135deg, #5558e3 0%, #4338ca 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.dashboard-page .dash-action-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

.dashboard-page .stat-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none !important;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.05);
  background: #fff;
  overflow: hidden;
  padding: var(--space-5) !important;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dashboard-page .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00897b 0%, #00695c 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.dashboard-page .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04) !important;
}
.dashboard-page .stat-card:hover::before { opacity: 1; }

.dashboard-page .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.dashboard-page .stat-icon-blue { background: linear-gradient(145deg, #e8f5f3 0%, #b2dfdb 100%); color: #00695c; }
.dashboard-page .stat-icon-teal { background: linear-gradient(145deg, #e0f2f1 0%, #80cbc4 100%); color: #004d40; }
.dashboard-page .stat-icon-amber { background: linear-gradient(145deg, #fffbf0 0%, #ffecb3 100%); color: #e65100; }
.dashboard-page .stat-icon-cyan { background: linear-gradient(145deg, #e8f7f8 0%, #b2ebf2 100%); color: #006064; }

/* 회사 현황 카드 */
.dashboard-page .company-status-card {
  justify-content: flex-start;
}
.dashboard-page .company-status-items {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  flex: 1;
  padding: var(--space-2) 0;
  justify-content: space-around;
}
.dashboard-page .company-status-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.dashboard-page .company-status-icon {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.dashboard-page .company-status-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dashboard-page .company-status-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-neutral-800);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.dashboard-page .company-status-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-neutral-500);
  margin-left: 1px;
  letter-spacing: 0;
}

/* 오늘 신청 카드 헤더 여백 */
.dashboard-page .stat-card-today .stat-card-today-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
}
.dashboard-page .stat-value-sm {
  font-size: 1.15rem;
}

.dashboard-page .stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--color-neutral-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.dashboard-page .stat-grid .text-muted,
.dashboard-page .stat-grid .small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-neutral-500);
}
.pill-label {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #fff;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.pill-blue { background: linear-gradient(145deg, #009688 0%, #00695c 100%); }
.pill-teal { background: linear-gradient(145deg, #00796b 0%, #004d40 100%); }
.pill-amber { background: linear-gradient(145deg, #ff9800 0%, #e65100 100%); }
.pill-cyan { background: linear-gradient(145deg, #00838f 0%, #006064 100%); }
.badge-sm { font-size: 0.7rem; font-weight: 600; }


/* Donut / Pie Charts — Grid 오버레이 방식: mini-donut + donut-center를 같은 셀에 배치 */
.dashboard-page .donut-wrapper {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}
.dashboard-page .donut-wrapper.donut-wrapper-lg {
  width: 108px;
  height: 108px;
}
.dashboard-page .mini-donut {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* 초기 배경 (JS drawDonut으로 덮어씀) */
  background: #e8edf2;
  mask: radial-gradient(circle at center, transparent 60%, #000 61%);
  -webkit-mask: radial-gradient(circle at center, transparent 60%, #000 61%);
}
.dashboard-page .donut-wrapper .donut-center {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--color-neutral-700);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.dashboard-page .donut-wrapper-lg .donut-center {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-neutral-800);
}
.mini-pie {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.mini-pie .pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.mini-pie .pie-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* 처리현황 원형 */
.dashboard-page .status-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.dashboard-page .status-circle-success { background: #ecfdf5; border-color: #10b981; }
.dashboard-page .status-circle-warning { background: #fffbeb; border-color: #f59e0b; }
.dashboard-page .status-circle-danger { background: #fef2f2; border-color: #ef4444; }
.dashboard-page .status-value { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--color-neutral-900); }
.dashboard-page .status-label { font-size: 0.7rem; color: var(--color-neutral-500); margin-top: 6px; font-weight: 600; }

/* 카드 헤더 화이트 (테이블용) */
.card-header-light {
  background: #fff !important;
  color: var(--color-neutral-800) !important;
  border-bottom: 1px solid var(--color-neutral-200);
  padding: var(--space-4) var(--space-6) !important;
}
.card-header-light .card-title { color: var(--color-neutral-800) !important; font-size: 0.95rem; font-weight: 700; }
.card-header-light.flex-between { display: flex; justify-content: space-between; align-items: center; }
.card-title-sm { font-size: 0.92rem; }
.doc-link { color: var(--color-neutral-800); font-weight: 600; text-decoration: none; }
.doc-link:hover { color: #00838f; }
.status-dot { font-size: 5px; vertical-align: middle; }
.progress-custom {
  height: 10px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: #e2e8f0;
}
.progress-bar-custom {
  background: linear-gradient(90deg, #26a69a 0%, #00897b 100%);
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* 테이블 전문가 스타일 */
.table-docs thead th {
  padding: 1rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
  border-bottom: 2px solid var(--color-neutral-200);
}
.table-docs tbody td { padding: 1rem 1.25rem; vertical-align: middle; font-size: 0.9rem; color: var(--color-neutral-800); }
.table-docs tbody tr { transition: background 0.15s; }
.table-docs tbody tr:hover { background: #faf9f7; }
/* 대시보드 레이아웃 */
.dashboard-page .dash-body {
  display: block;
}
.dashboard-page .dash-main { min-width: 0; }
.dashboard-page .dash-main-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;       /* 모든 행의 높이를 동일하게 */
  gap: var(--space-5, 20px);
  align-items: stretch;      /* 카드 높이를 행 높이에 맞게 늘림 */
  width: 100%;
}
/* 카드 내부: 컨텐츠를 위쪽부터 정렬 */
.dashboard-page .dash-main-single > .dash-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.dashboard-page .dash-main-single > .dash-card .card-body {
  flex: 1;
  overflow: auto;
}
/* 카드가 1개뿐일 때(직원 모드 등) 전체 폭 */
.dashboard-page .dash-main-single > .dash-card:only-child {
  grid-column: 1 / -1;
}

/* 신청 건수 뱃지 */
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--color-primary, #00897b);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.dashboard-page .dash-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}
.dashboard-page .dash-side-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}
.dashboard-page .dash-side-card .card-header-light { padding: var(--space-4) var(--space-5) !important; }
.dashboard-page .dash-side-card .card-body { padding: var(--space-5) !important; }

.dashboard-page .dash-card .card-header-light { padding: var(--space-4) var(--space-6) !important; }
.dashboard-page .dash-card .card-body { padding: var(--space-5) var(--space-6) !important; }

.dashboard-page .tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  background: #0d9488;
}
.dashboard-page .tl-dot-teal { background: #0d9488; }

.dashboard-page .dash-link-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  color: var(--color-neutral-700);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s;
  border-radius: 10px;
}
.dashboard-page .dash-link-item:hover {
  color: #00796b;
  background: #f8faf9;
}
.dashboard-page .dash-link-item .bi:first-child { font-size: 1.1rem; color: var(--color-neutral-500); }
.dashboard-page .dash-link-item .bi-chevron-right { margin-left: auto; font-size: 0.7rem; color: var(--color-neutral-400); }

.dashboard-page .form-group { margin-bottom: 0; }
.dashboard-page .dash-form-company { max-width: 200px; }
.dashboard-page .form-select,
.dashboard-page .form-input {
  font-size: 0.9rem;
  border: 1px solid var(--color-neutral-200);
  border-radius: 10px;
  padding: 10px 14px;
}
.dashboard-page .form-label { font-size: 0.78rem; color: var(--color-neutral-500); font-weight: 500; }

/* Empty State - 전문가급 */
.dashboard-page .dash-card .empty-state {
  padding: var(--space-10) var(--space-6);
  text-align: center;
}
.dashboard-page .dash-card .empty-state::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-3);
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 10px;
  opacity: 0.7;
}
.dashboard-page .dash-card .empty-state-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-neutral-500);
  line-height: 1.5;
}

/* ========== Grid ========== */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ========== Empty State ========== */
.empty-state {
  padding: var(--space-12);
  text-align: center;
  color: var(--color-neutral-500);
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  opacity: 0.5;
}

.empty-state-title {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-neutral-600);
  margin-bottom: var(--space-2);
}

/* ========== Alerts ========== */
.alert {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.alert-error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ========== Department Cards (개인정보파일 관리시스템 포맷) ========== */
.dept-page-icon {
  width: 44px;
  height: 44px;
  background: #b1e4e1;
  color: #00897b;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.btn-register-dept {
  background: #00897b;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s;
}
.btn-register-dept:hover {
  background: #00796b;
  color: #fff;
}
.dept-section {
  min-height: 200px;
}

/* 4열 그리드 + 반응형 */
.dept-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1199.98px) {
  .dept-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 991.98px) {
  .dept-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 575.98px) {
  .dept-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* 카드 본체 */
.dept-card {
  background: #fff;
  border: 1px solid #e8eeec;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: #b2dfdb;
}
.dept-card-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 160px;
}
.dept-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dept-card-icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #b1e4e1 0%, #80cbc4 100%);
  color: #00695c;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 2px 8px rgba(0, 137, 123, 0.15);
}
.dept-card-sort-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #e8f5f3;
  color: #00695c;
  padding: 5px 10px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}
.dept-card-main {
  flex: 1;
}
.dept-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #263238;
  margin: 0 0 10px 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.dept-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dept-card-members {
  font-size: 0.9rem;
  color: #546e7a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dept-card-members i {
  color: #00897b;
  font-size: 1rem;
}
.dept-card-members strong {
  color: #00695c;
  font-weight: 700;
}
.dept-card-footer {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.dept-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid #d0d7de;
  background: #fff;
  color: #546e7a;
}
.dept-btn:hover {
  text-decoration: none;
}
.dept-btn-edit:hover {
  border-color: #00897b;
  color: #00897b;
  background: #e0f7fa;
}
.dept-btn-del {
  border-color: #fca5a5;
  color: #dc2626;
  background: #fee2e2;
}
.dept-btn-del:hover {
  border-color: #ef5350;
  color: #b91c1c;
  background: #fecaca;
}
.dept-empty-state {
  padding: 60px 24px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eeec;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.dept-empty-icon {
  font-size: 3rem;
  color: #b2dfdb;
  margin-bottom: 16px;
  display: block;
}
.dept-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #546e7a;
  margin-bottom: 8px;
}
.dept-empty-sub {
  font-size: 0.88rem;
  color: #90a4ae;
}

/* ========== Page Title ========== */
.page-header {
  margin-bottom: var(--space-8);
}

.page-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-neutral-900);
}

.page-subtitle {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
  margin-top: var(--space-1);
}

/* ========== Login Page - 출장비 로그인 카드 스타일 ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #f9fafb 100%);
  padding: var(--space-6);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--color-neutral-200);
}

.login-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: var(--space-10);
  text-align: center;
}

.login-card-header-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 1.75rem;
  color: #fff;
}

.login-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: #fff;
  margin-bottom: var(--space-2);
}

.login-subtitle {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}

.login-card-body {
  padding: var(--space-8);
}

.login-footer {
  margin-top: var(--space-6);
  text-align: center;
}

.login-footer a {
  font-size: var(--text-sm);
  color: var(--color-neutral-500);
}

.login-footer a:hover {
  color: var(--color-primary);
}

/* ========== Utility ========== */
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-4 { margin-top: var(--space-4); }
.mt-1 { margin-top: var(--space-1); }
.ms-2 { margin-left: var(--space-2); }
.ms-3 { margin-left: var(--space-3); }
.me-1 { margin-right: var(--space-1); }

.text-muted { color: var(--color-neutral-500); }
.text-dark { color: var(--color-neutral-800); }
.text-sm { font-size: var(--text-sm); }
.small { font-size: var(--text-xs); }

.fw-bold { font-weight: var(--font-bold); }
.fw-semibold { font-weight: var(--font-semibold); }

.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow-1 { flex-grow: 1; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }
.align-items-flex-start { align-items: flex-start; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }

.text-center { text-align: center !important; }
.text-start { text-align: left; }
.text-right { text-align: right; }
.rounded-3 { border-radius: var(--radius-xl); }
.rounded-circle { border-radius: 50%; }
.border { border: 1px solid var(--color-neutral-200); }
.border-0 { border: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.p-4 { padding: var(--space-4); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.h-100 { height: 100%; }

.bg-secondary { background: var(--color-neutral-500); }
.bg-success { background: var(--color-success); }
.bg-warning { background: var(--color-warning); }
.bg-danger { background: var(--color-error); }
.bg-secondary.bg-opacity-10 { background: rgba(107, 114, 128, 0.1); }
.bg-success.bg-opacity-10 { background: rgba(16, 185, 129, 0.1); }
.bg-danger.bg-opacity-10 { background: rgba(239, 68, 68, 0.1); }
.bg-warning.bg-opacity-10 { background: rgba(245, 158, 11, 0.1); }

.text-secondary { color: var(--color-neutral-500); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-error); }
.text-primary { color: var(--color-primary); }

.inline-block { display: inline-block; }
.vertical-align-middle { vertical-align: middle; }

/* ========== Floating Label ========== */
.fl-group {
  position: relative;
  margin-bottom: 1rem;
}
.fl-control {
  width: 100%;
  padding: 1.65rem 1rem 0.8rem;
  border: 1.5px solid var(--color-neutral-200);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-neutral-900);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.4;
}
select.fl-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
textarea.fl-control {
  resize: vertical;
  min-height: 90px;
  padding-top: 1.5rem;
}
.fl-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,137,123,0.12);
}
.fl-control[readonly],
.fl-control:disabled {
  background: var(--color-neutral-50);
  color: var(--color-neutral-500);
  cursor: default;
}
.fl-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--color-neutral-400);
  pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease, transform 0.18s ease;
  line-height: 1;
  white-space: nowrap;
}
textarea.fl-control ~ .fl-label {
  top: 1.5rem;
  transform: none;
}
/* floated states */
.fl-control:focus ~ .fl-label,
.fl-control:not(:placeholder-shown) ~ .fl-label,
.fl-control.has-value ~ .fl-label {
  top: 0.42rem;
  transform: none;
  font-size: 0.68rem;
  color: var(--color-primary);
  font-weight: 600;
}
textarea.fl-control:focus ~ .fl-label,
textarea.fl-control.has-value ~ .fl-label {
  top: 0.42rem;
}
select.fl-control ~ .fl-label,
input[type="date"].fl-control ~ .fl-label,
input[type="number"].fl-control ~ .fl-label {
  top: 0.42rem;
  transform: none;
  font-size: 0.68rem;
  color: var(--color-primary);
  font-weight: 600;
}
/* date input 기본 색 보정 */
input[type="date"].fl-control {
  color: var(--color-neutral-900);
}
input[type="date"].fl-control:not(:has(+ .fl-label)) {
  padding-top: 0.8rem;
}
.fl-required { color: #e53935; margin-left: 2px; }

/* 모달 내 fl-group 마지막 항목 여백 제거 */
.app-modal-body .fl-group:last-child {
  margin-bottom: 0;
}
/* fl-row 내 모바일 1열 처리 */
@media (max-width: 575.98px) {
  .fl-row { grid-template-columns: 1fr; }
}
.fl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ========== 연차 현황 탭 ========== */
.status-view-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 엑셀 내보내기 버튼 */
.btn-excel-export {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  background: #1d6f42;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.btn-excel-export:hover  { background: #165a35; }
.btn-excel-export:active { background: #0f3d24; }
.btn-excel-export i { font-size: 1rem; }

.status-view-tabs {
  display: inline-flex;
  gap: 0;
  background: var(--color-neutral-100);
  border-radius: 10px;
  padding: 8px;
}
.status-view-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--color-neutral-500);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.status-view-tab.is-active {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* 잔여현황 카드 — PC 4열 1행 */
.leave-balance-grid-row {
  grid-template-columns: repeat(4, 1fr);
}

/* 연차 현황 달력: 날짜 + 라벨 */
.sc-cal-grid { gap: 4px; }
.sc-day {
  aspect-ratio: unset !important;
  min-height: 99px;
  padding: 6px 4px 5px;
  flex-direction: column;
  justify-content: flex-start !important;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: default !important;
  pointer-events: none;
}
.sc-day:hover { background: inherit !important; }
.sc-day-label {
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 4px;
  white-space: nowrap;
}
.sc-legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-neutral-600);
  flex-wrap: wrap;
}
.sc-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

/* ========== Admin 연차달력 — 직원 칩 ========== */
.sc-day.admin-day {
  align-items: flex-start;
  padding: 5px 4px 4px;
  min-height: 110px;
  pointer-events: auto;
  cursor: default !important;
}
.sc-day-num {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
  align-self: flex-start;
  padding-left: 2px;
}
.sc-chip-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  overflow: hidden;
}
.sc-chip {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.sc-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.sc-chip-tag {
  flex-shrink: 0;
  opacity: 0.85;
}
.sc-chip-more {
  font-size: 0.58rem;
  color: var(--color-neutral-500);
  padding: 1px 4px;
  font-weight: 600;
}
.sc-chip.chip-approved { background: #e8f5e9; color: #2e7d32; }
.sc-chip.chip-pending  { background: #fff8e1; color: #e65100; }
.sc-chip.chip-rejected { background: #ffebee; color: #c62828; }

/* ========== Leave Apply — 전체 레이아웃 ========== */
.leave-apply-wrap {
  max-width: 1100px;
  /*margin: 0 auto;*/
}
/* PC: 달력 + 폼 2열 */
.leave-apply-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.leave-apply-cal-col,
.leave-apply-form-col { margin-bottom: 0; }

/* 잔여 현황 카드: 2열 전체 폭 */
.leave-balance-grid-full {
  grid-column: 1 / -1;
}

/* ========== Leave Apply — Balance Cards ========== */
.leave-balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.leave-balance-card {
  border-radius: 16px;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lb-card-blue  { background: #1565c0; }
.lb-card-amber { background: #f9a825; }
.lb-card-green { background: #2e7d32; }
.lb-card-cyan  { background: #006064; }
.leave-balance-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.leave-balance-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.leave-balance-unit {
  font-size: 0.95rem;
  font-weight: 600;
}
/* 잔여 연차 "/ 전체" 표시 */
.leave-balance-total {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 2px;
}

/* ========== Leave Apply — Calendar ========== */
.leave-cal-wrap { user-select: none; }
.leave-cal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.leave-cal-nav {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--color-neutral-200);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-600);
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s;
}
.leave-cal-nav:hover { background: var(--color-neutral-100); border-color: var(--color-neutral-400); }
.leave-cal-title { font-size: 1rem; font-weight: 700; color: var(--color-neutral-900); }
.leave-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.leave-cal-dow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0;
  color: var(--color-neutral-500);
}
.leave-cal-dow.is-sun { color: #e53935; }
.leave-cal-dow.is-sat { color: #1565c0; }
.leave-cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-neutral-800);
  transition: background 0.12s;
  position: relative;
  gap: 1px;
  line-height: 1.1;
}
.leave-cal-day:hover:not(.is-empty):not(.is-disabled) { background: var(--color-neutral-100); }
.leave-cal-day.is-sun { color: #e53935; }
.leave-cal-day.is-sat { color: #1565c0; }
.leave-cal-day.is-today { font-weight: 800; color: var(--color-primary); }
.leave-cal-day.is-today::before {
  content: '';
  position: absolute;
  inset: 0px;
  border-radius: 6px;
  border: 1.5px solid var(--color-primary);
  opacity: 0.4;
  background:#f7f7f7;
}
.leave-cal-day.is-selected {
  background: var(--color-primary) !important;
  color: #fff !important;
  font-weight: 700;
}
.leave-cal-day.is-applied { background: #e8f5e9; }
.leave-cal-day.is-applied .cal-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #2e7d32;
}
.leave-cal-day.is-selected .cal-dot { display: none; }
.leave-cal-day.is-disabled,
.leave-cal-day.is-empty { pointer-events: none; color: transparent; }
.leave-cal-day.is-past:not(.is-applied):not(.is-selected) { color: var(--color-neutral-300); }

/* ========== Settings Page ========== */
.settings-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.settings-card { margin-bottom: 0; }
.settings-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px 0;
}
.settings-section-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.settings-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-neutral-900);
  line-height: 1.3;
}
.settings-card-desc { font-size: 0.82rem; margin-top: 2px; }
.settings-card-body { padding: 16px 24px 24px; }
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.settings-row.settings-row-col {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.settings-row-info { flex: 1; min-width: 0; }
.settings-row-label {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-neutral-800);
}
.settings-row-label.settings-row-label-sm { font-size: 0.87rem; }
.settings-row-desc { font-size: 0.8rem; margin-top: 3px; }
.settings-divider {
  height: 1px;
  background: var(--color-neutral-100);
  margin: 0;
}
.settings-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0 10px 20px;
  border-left: 3px solid var(--color-primary-light, #c7d2fe);
  margin-left: 4px;
  background: var(--color-neutral-50);
  border-radius: 0 8px 8px 0;
  padding-left: 16px;
  margin-bottom: 4px;
}

/* 토글 스위치 */
.settings-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}
.settings-toggle input { opacity: 0; width: 0; height: 0; }
.settings-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-neutral-300);
  border-radius: 26px;
  transition: background 0.2s;
}
.settings-toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform 0.2s;
}
.settings-toggle input:checked + .settings-toggle-slider {
  background: var(--color-primary);
}
.settings-toggle input:checked + .settings-toggle-slider::before {
  transform: translateX(22px);
}

/* 숫자 입력 */
.settings-number-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.settings-number-input {
  width: 72px;
  padding: 8px 10px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  font-size: 0.93rem;
  text-align: center;
  outline: none;
  transition: border-color .15s;
}
.settings-number-input:focus { border-color: var(--color-primary); }
.settings-number-unit { font-size: 0.85rem; color: var(--color-neutral-500); }

/* 점심 시간 범위 */
.settings-time-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-time-range .fl-group { margin: 0; width: 110px; }
.settings-time-sep { color: var(--color-neutral-400); font-size: 1rem; }

/* fl-group-sm (settings 내 select용) */
.fl-group.fl-group-sm .fl-control {
  padding-top: 24px;
  padding-bottom: 10px;
  font-size: 0.85rem;
}
.fl-group.fl-group-sm .fl-label { font-size: 0.68rem; top: 10px; }

/* ========== Mandatory Leave — 달력 추가뷰 ========== */
.leave-cal-day.mand-existing { background: #fff3e0; }
.cal-dot.cal-dot-red { background: #c62828 !important; }
.mand-cal-legend {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--color-neutral-500);
  padding: 0 2px;
}
.mand-legend-item { display: flex; align-items: center; gap: 5px; }
.mand-legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mand-legend-existing { background: #c62828; }
.mand-legend-selected { background: var(--color-primary); }
.mand-save-info {
  background: var(--color-neutral-50);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.8rem;
  color: var(--color-neutral-500);
}

/* ========== Mandatory Leave — 제외 직원 선택 ========== */
.mand-excl-section {
  border: 1px solid var(--color-neutral-200);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 4px;
}
.mand-excl-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--color-neutral-200);
}
.mand-excl-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-neutral-800);
}
.mand-excl-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-neutral-100);
  background: #fff;
  flex-wrap: wrap;
}
.mand-excl-search-wrap {
  flex: 1;
  min-width: 130px;
  position: relative;
  display: flex;
  align-items: center;
}
.mand-excl-search {
  width: 100%;
  padding: 16px 36px 16px 12px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 8px;
  font-size: 0.85rem;
  background: var(--color-neutral-50);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--color-neutral-800);
}
.mand-excl-search:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 79,70,229), 0.1);
  background: #fff;
}
.mand-excl-search::placeholder { color: var(--color-neutral-400); }
.mand-excl-search-icon {
  position: absolute;
  right: 10px;
  color: var(--color-neutral-400);
  font-size: 0.85rem;
  pointer-events: none;
}
.mand-excl-selectall { display: flex; gap: 4px; flex-shrink: 0; }
.mand-excl-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-neutral-100);
  color: var(--color-neutral-600);
  border: 1px solid var(--color-neutral-200);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, color 0.15s;
}
.mand-excl-badge:hover {
  background: var(--color-neutral-200);
  color: var(--color-neutral-800);
}
.mand-excl-badge.is-active {
  background: #ffebee;
  color: #c62828;
  border-color: #ef9a9a;
}
.mand-excl-badge.is-active:hover {
  background: #ffcdd2;
  color: #b71c1c;
}
.mand-excl-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 0;
  background: #fff;
}
.mand-excl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.mand-excl-item:hover { background: var(--color-neutral-50); }
.mand-excl-item.is-checked { background: #eef2ff; }
.mand-excl-item input[type="checkbox"] { display: none; }
.mand-excl-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light, #e8eeff);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mand-excl-item.is-checked .mand-excl-avatar {
  background: var(--color-primary);
  color: #fff;
}
.mand-excl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.mand-excl-name { font-size: 0.88rem; font-weight: 600; }
.mand-excl-dept { font-size: 0.77rem; }
.mand-excl-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-neutral-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 0.7rem;
  transition: all 0.15s;
}
.mand-excl-item.is-checked .mand-excl-check {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.mand-excl-count {
  padding: 16px;
  border-top: 1px solid var(--color-neutral-100);
  background: var(--color-neutral-50);
  font-size: 0.8rem;
}

/* 제외 설정 편집 뷰 — 정보 행 */
.mand-excl-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mand-excl-badge-date {
  padding: 4px 12px;
  border-radius: 20px;
  background: #ffebee;
  color: #c62828;
  font-weight: 600;
  font-size: 0.9rem;
}
.mand-excl-badge-name {
  font-size: 1rem;
}


/* ========== Leave Apply — form section ========== */
/* ── 연차 신청 완료 카드 ── */
.leave-success-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  animation: leave-success-in 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes leave-success-in {
  0%   { opacity: 0; transform: scale(0.85) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.leave-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #43a047, #1b5e20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 24px rgba(43,160,43,0.35);
  animation: success-bounce 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.1s both,
             success-glow 0.7s ease 0.5s 3;
}
@keyframes success-bounce {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes success-glow {
  0%, 100% { box-shadow: 0 6px 24px rgba(43,160,43,0.35); }
  50%       { box-shadow: 0 6px 32px rgba(43,160,43,0.7), 0 0 0 10px rgba(67,160,71,0.12); }
}
.leave-success-icon i {
  font-size: 2rem;
  color: #fff;
}
.leave-success-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-neutral-800);
  margin-bottom: 0.5rem;
}
.leave-success-info {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  background: var(--color-neutral-50);
  border: 1px solid var(--color-neutral-200);
  border-radius: 12px;
  padding: 14px 22px;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--color-neutral-700);
  width: 100%;
  text-align: left;
}
.leave-success-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.leave-success-info-row i {
  color: var(--color-primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.leave-success-hint {
  font-size: 0.8rem;
  color: var(--color-neutral-400);
  display: flex;
  align-items: center;
  gap: 5px;
}

.leave-apply-hint {
  font-size: 0.8rem;
  color: var(--color-neutral-500);
  background: var(--color-neutral-50);
  border-radius: 8px;
  padding: 16px 14px;
  margin-bottom: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.leave-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -0.25rem;
  margin-bottom: 1.7rem;
}
.leave-date-count {
  font-size: 0.82rem;
  color: var(--color-neutral-500);
  font-weight: 500;
}
.btn-clear-dates {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--color-neutral-400);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.btn-clear-dates:hover { color: var(--color-error); background: #fff0f0; }
.usage-display {
  background: var(--color-neutral-50) !important;
  font-weight: 600;
  color: var(--color-primary) !important;
}

/* ========== Leave Type Radio Buttons ========== */
.leave-type-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
}
.leave-type-label .fl-required { color: #e53935; margin-left: 2px; }
.leave-type-radio-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.leave-type-radio { position: relative; cursor: pointer; }
.leave-type-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.leave-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 6px;
  border-radius: 12px;
  border: 1.5px solid var(--color-neutral-200);
  background: #fff;
  color: var(--color-neutral-500);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  user-select: none;
  line-height: 1;
}
.leave-type-btn i {
  font-size: 1.1rem;
}
.leave-type-radio input[type="radio"]:checked ~ .leave-type-btn {
  border-color: var(--color-primary);
  background: #e8f5f3;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(0,137,123,0.15);
}
.leave-type-radio:hover .leave-type-btn {
  border-color: var(--color-neutral-400);
  background: var(--color-neutral-50);
  color: var(--color-neutral-700);
}
@media (max-width: 575.98px) {
  .leave-type-radio-group { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================
   App Modal — 전역 모달 시스템
   ======================================================== */
.app-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.app-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.app-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
  opacity: 0;
}
.app-modal-backdrop.is-open .app-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.app-modal.modal-sm { max-width: 380px; }
.app-modal.modal-lg { max-width: 680px; }

.app-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--color-neutral-100);
  flex-shrink: 0;
}
.app-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-neutral-800);
  margin: 0;
}
.app-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--color-neutral-100);
  color: var(--color-neutral-500);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.app-modal-close:hover {
  background: var(--color-error-bg);
  color: var(--color-error);
}
.app-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}
.app-modal-footer {
  padding: 14px 24px 20px;
  border-top: 1px solid var(--color-neutral-100);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* 모바일 */
@media (max-width: 575.98px) {
  .app-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .app-modal {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    transform: translateY(40px);
  }
  .app-modal-backdrop.is-open .app-modal {
    transform: translateY(0);
  }
  .app-modal-header {
    padding: 18px 18px 14px;
  }
  .app-modal-body {
    padding: 16px 18px;
  }
  .app-modal-footer {
    padding: 12px 18px 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

/* ========================================================
   Toast 알림 시스템
   ======================================================== */
#toastContainer {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  pointer-events: auto;
  min-width: 240px;
  max-width: 420px;
  animation: toast-in 0.38s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.toast-item.toast-hide {
  animation: toast-out 0.3s ease forwards;
}
.toast-item.toast-success {
  background: #1b5e20;
  color: #fff;
}
.toast-item.toast-error {
  background: #b71c1c;
  color: #fff;
}
.toast-item.toast-info {
  background: #0d47a1;
  color: #fff;
}
.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.toast-msg { flex: 1; line-height: 1.4; }
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  background: rgba(255,255,255,0.45);
  animation: toast-progress linear forwards;
}
.toast-item { position: relative; overflow: hidden; }

@keyframes toast-in {
  0%   { opacity: 0; transform: translateY(-20px) scale(0.9); }
  60%  { opacity: 1; transform: translateY(4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(0.92); }
}
@keyframes toast-progress {
  from { width: 100%; }
  to   { width: 0%; }
}
@keyframes toast-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 0 rgba(255,255,255,0.4); }
  50%       { box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 8px rgba(255,255,255,0); }
}
.toast-item.toast-success {
  animation: toast-in 0.38s cubic-bezier(0.34,1.56,0.64,1) forwards,
             toast-pulse 0.7s ease 0.4s 3;
}

@media (max-width: 575.98px) {
  #toastContainer {
    top: auto;
    bottom: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  .toast-item {
    min-width: 0;
    width: calc(100vw - 32px);
  }
  @keyframes toast-in {
    0%   { opacity: 0; transform: translateY(20px) scale(0.9); }
    60%  { opacity: 1; transform: translateY(-4px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes toast-out {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
  }
}

/* ============================================================
   PWA 액션 바 (앱 설치 + 푸시 알림)
   ============================================================ */
.pwa-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(102, 126, 234, 0.13);
  box-shadow: 0 -6px 32px rgba(102, 126, 234, 0.11), 0 -1px 0 rgba(0,0,0,0.04);
  transform: translateY(100%);
  /* 천천히 올라오는 이징 */
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.pwa-bar-open {
  transform: translateY(0);
}
.pwa-bar-closing {
  transform: translateY(110%);
  transition: transform 0.34s cubic-bezier(0.4, 0, 1, 1);
  animation: none;
}

.pwa-action-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  /* 버튼 높이가 커졌으므로 상하 여백도 넉넉하게 */
  padding: 16px 20px 18px;
  max-width: var(--content-max-width, 1280px);
  margin: 0 auto;
}

/* ── 앱 설치 버튼 (높이 2배) ── */
.pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  /* 세로 패딩을 키워 버튼 높이를 약 2배로 */
  padding: 17px 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.015em;
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.44);
  transition: opacity 0.18s, transform 0.15s, box-shadow 0.18s;
  flex-shrink: 0;
}
.pwa-install-btn svg { width: 20px; height: 20px; }
.pwa-install-btn:hover  { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(102, 126, 234, 0.54); }
.pwa-install-btn:active { opacity: 1;   transform: translateY(0); }

/* ── 구분선 ── */
.pwa-bar-divider {
  width: 1px;
  height: 28px;
  background: var(--color-neutral-200);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── 알림 버튼 (높이 2배) ── */
.pwa-push-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 17px 26px;
  background: var(--color-neutral-100);
  color: var(--color-neutral-700);
  border: 1.5px solid var(--color-neutral-200);
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.015em;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
  flex-shrink: 0;
}
.pwa-push-btn svg { width: 20px; height: 20px; }
.pwa-push-btn:hover  { background: var(--color-neutral-200); transform: translateY(-2px); }
.pwa-push-btn:active { transform: translateY(0); }
.pwa-push-btn.pwa-push-active {
  background: #ecfdf5;
  color: #065f46;
  border-color: #6ee7b7;
}

/* ── 닫기 버튼 ── */
.pwa-bar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--color-neutral-400);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pwa-bar-close:hover { background: var(--color-neutral-100); color: var(--color-neutral-600); }

/* ── 데스크탑: 사이드바 오프셋 ── */
@media (min-width: 992px) {
  .pwa-action-bar { left: var(--sidebar-width, 260px); }
}
@media (max-width: 991.98px) {
  .pwa-action-bar-inner   { padding: 13px 16px 15px; }
  .pwa-install-btn        { padding: 15px 22px; font-size: 0.9375rem; }
  .pwa-push-btn           { padding: 15px 20px; font-size: 0.9375rem; }
}

/* ============================================================
   설치 완료 안내 토스트
   ============================================================ */
.toast-item.toast-install-guide {
  background: #fff;
  color: var(--color-neutral-800);
  border: 1.5px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18), 0 2px 8px rgba(0,0,0,0.08);
  padding: 14px 16px;
  min-width: 300px;
  max-width: 400px;
}
.toast-guide-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.toast-guide-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f2ff;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}
.toast-guide-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.toast-guide-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}
.toast-guide-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-neutral-900);
}
.toast-guide-text span {
  font-size: 0.8125rem;
  color: var(--color-neutral-600);
  line-height: 1.5;
}
.toast-guide-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
}

/* ============================================================
   포그라운드 푸시 토스트
   ============================================================ */
.toast-item.toast-push {
  background: var(--color-neutral-900);
  color: #fff;
  flex-direction: column;
  gap: 4px;
  min-width: 280px;
  max-width: 380px;
  padding: 14px 16px;
  cursor: pointer;
}
.toast-push-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-push-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
}
.toast-push-title {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
}
.toast-push-time {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.toast-push-body {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.45;
  padding-left: 30px;
}
