﻿/* 다계산 Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background-color: var(--bg-main);
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

/* AdSense Unit Placeholder */
.adsense-placeholder {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  margin: 1.5rem auto;
  text-align: center;
}

.adsense-placeholder::before {
  content: 'Google AdSense 영역';
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.adsense-leaderboard {
  width: 100%;
  max-width: 970px;
  min-height: 90px;
  padding: 1.25rem;
}

.adsense-rectangle {
  width: 100%;
  max-width: 336px;
  min-height: 280px;
  padding: 1rem;
}

.adsense-infeed {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
}

/* Interactive Card Animations */
.tool-card {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(37, 99, 235, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Number display styling */
.result-highlight {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Print Friendly Styles */
@media print {
  .no-print, nav, footer, .adsense-placeholder {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .print-area {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
}
