/**
 * 🤖 뉴로 AI 상담사 - 스타일시트
 * v1.0.0 (2026-03-17)
 */

/* ===== 홈 화면 뉴로 카드 (간략 버전) ===== */

.neuro-coach-card {
  background: linear-gradient(135deg, #F3F0FF 0%, #E8DDFF 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.neuro-coach-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: neuro-pulse 4s ease-in-out infinite;
}

@keyframes neuro-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

.neuro-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.neuro-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  position: relative;
  animation: neuro-robot-blink 3s ease-in-out infinite;
}

@keyframes neuro-robot-blink {
  0%, 90%, 100% { transform: scale(1); }
  95% { transform: scale(0.95); }
}

.neuro-avatar::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: #10B981;
  border: 2px solid #F3F0FF;
  border-radius: 50%;
  animation: neuro-online-pulse 2s ease-in-out infinite;
}

@keyframes neuro-online-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}

.neuro-card-title {
  flex: 1;
}

.neuro-card-label {
  font-size: 14px;
  font-weight: 700;
  color: #8B5CF6;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.neuro-card-name {
  font-size: 15px;
  color: #1F2937;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 52px;
}

.neuro-card-more {
  font-size: 13px;
  color: #8B5CF6;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.neuro-coach-card:hover .neuro-card-more {
  transform: translateX(2px);
}

.neuro-card-body {
  position: relative;
  z-index: 1;
}

.neuro-card-message {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 12px;
  font-weight: 500;
}

.neuro-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.neuro-stat-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.neuro-stat-label {
  font-size: 11px;
  color: #6B7280;
  margin-bottom: 4px;
  font-weight: 500;
}

.neuro-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #8B5CF6;
}

.neuro-stat-unit {
  font-size: 11px;
  font-weight: 500;
  color: #9CA3AF;
  margin-left: 2px;
}

/* 날씨 & 감정 인사이트 */
.neuro-insights {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.neuro-insight-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  font-size: 12px;
  color: #374151;
  font-weight: 500;
}

.neuro-insight-icon {
  font-size: 16px;
  line-height: 1;
}

.neuro-insight-text {
  line-height: 1;
}


.neuro-priority-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  animation: neuro-badge-glow 2s ease-in-out infinite;
}

@keyframes neuro-badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}

.neuro-priority-1 {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.neuro-priority-2 {
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FCD34D;
}

.neuro-priority-3 {
  background: #DBEAFE;
  color: #2563EB;
  border: 1px solid #93C5FD;
}

.neuro-priority-4,
.neuro-priority-5 {
  background: #D1FAE5;
  color: #059669;
  border: 1px solid #6EE7B7;
}



/* 반응형 */
@media (max-width: 360px) {
  .neuro-coach-card {
    padding: 16px;
  }

  .neuro-avatar {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .neuro-card-message {
    font-size: 13px;
  }

  .neuro-stat-item {
    min-width: 70px;
    padding: 8px 10px;
  }
  
  .neuro-insight-item {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  .neuro-insight-icon {
    font-size: 14px;
  }

  .neuro-status-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
