/* 보내비 - 공통 스타일 */
/* 집쫀쿠 디자인: #0058be primary, NanumSquareNeo, 카드형 */

body {
  font-family: 'NanumSquareNeo', 'Inter', sans-serif;
  background: #f8f9ff;
  color: #121c2a;
  margin: 0;
}

/* Material Symbols 기본 스타일 */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* 카드 컴포넌트 */
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6eeff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 로딩 상태 */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* 결과 섹션 */
.result-section {
  display: none;
}
.result-section.active {
  display: block;
}

/* 페이드인 애니메이션 */
.fade-in {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 스피너 */
.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #0058be;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 네비게이션 */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e6eeff;
}
.navbar .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.navbar .brand-icon {
  color: #0058be;
  font-size: 28px;
  font-variation-settings: 'FILL' 1;
}
.navbar .brand-text {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: -0.5px;
  color: #0058be;
}

/* 폼 요소 */
input[type="text"],
input[type="number"],
input[type="password"],
select {
  border: 1px solid #c2c6d6;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}
input:focus,
select:focus {
  border-color: #0058be;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 88, 190, 0.15);
}

/* 버튼 */
.btn-primary {
  background: #0058be;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: filter 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  filter: brightness(1.1);
}

/* 유틸리티 */
.text-muted { color: #424754; }
.text-success { color: #006c49; }
.text-danger { color: #ba1a1a; }
.text-primary { color: #0058be; }
.bg-success-light { background: #e8f5e9; }
.bg-danger-light { background: #fbe9e7; }
