/* 커스텀 스타일 - IU Partners 브랜드 가이드 적용 */

/* 브랜드 색상 변수 */
:root {
  --iu-navy: #121A44;        /* 기본 남색 (IU) */
  --iu-gray: #A3A3A3;        /* 서브 회색 (Partners) */
  --iu-white: #FFFFFF;       /* 배경색 */
  --iu-blue: #2F5BEA;        /* 포인트 블루 */
  --iu-navy-light: #1a2864;  /* 밝은 네이비 */
}

/* 전역 폰트 - Noto Sans KR 적용 */
body {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 500;
  color: var(--iu-navy);
  background-color: var(--iu-white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--iu-navy);
}

button {
  font-weight: 700;
  transition: all 0.2s ease;
  font-family: 'Noto Sans KR', sans-serif;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 26, 68, 0.2);
}

label {
  font-weight: 600;
  color: #374151;
}

input, select, textarea {
  font-weight: 500;
  border-width: 2px;
}

input:focus, select:focus, textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.step-wizard {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-item::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: #e5e7eb;
  z-index: -1;
}

.step-item:last-child::after {
  display: none;
}

.step-item.active .step-number {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transform: scale(1.1);
}

.step-item.completed .step-number {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.loading-spinner {
  border: 4px solid #e0e7ff;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 0.8s linear infinite;
}

.loading-spinner-small {
  border: 3px solid #dbeafe;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.match-card {
  transition: all 0.3s ease;
  border-width: 2px;
}

.match-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}

.badge-suitable {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-reference {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge-unsuitable {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.progress-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #d1d5db;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  transition: width 0.4s ease;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* 카드 스타일 강화 - IU Partners 브랜드 */
.bg-white {
  box-shadow: 0 2px 8px rgba(18, 26, 68, 0.08);
  border: 1px solid #f0f0f0;
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(18, 26, 68, 0.12) !important;
}

.shadow-md {
  box-shadow: 0 6px 15px rgba(18, 26, 68, 0.1) !important;
}

/* IU Partners 테마 색상 적용 */
.iu-navy-bg {
  background-color: var(--iu-navy);
}

.iu-blue-bg {
  background-color: var(--iu-blue);
}

.iu-gray-text {
  color: var(--iu-gray);
}

.iu-navy-text {
  color: var(--iu-navy);
}

.iu-blue-text {
  color: var(--iu-blue);
}

/* 버튼 스타일 - IU Partners 브랜드 색상 적용 */
.bg-blue-600, .bg-blue-500 {
  background: linear-gradient(135deg, var(--iu-blue), #1e40af) !important;
}

.bg-green-600 {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

.bg-orange-600 {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.bg-red-600 {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.bg-gray-500, .bg-gray-600 {
  background: linear-gradient(135deg, var(--iu-gray), #808080) !important;
}

/* IU Partners 기본 버튼 스타일 */
button.btn-primary {
  background: linear-gradient(135deg, var(--iu-blue), var(--iu-navy-light)) !important;
  color: white;
}

button.btn-primary:hover {
  background: linear-gradient(135deg, var(--iu-navy-light), var(--iu-navy)) !important;
}

/* 텍스트 강화 - IU Partners 색상 */
.text-blue-600, .text-blue-900 {
  color: var(--iu-blue) !important;
  font-weight: 700;
}

.text-green-600 {
  color: #059669 !important;
  font-weight: 700;
}

.text-gray-800 {
  color: var(--iu-navy) !important;
  font-weight: 700;
}
