/* Base Styles using System Font Stack (Native to OS, bypasses CSP blocks) */
body {
	background-color: #f8fafc;
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	color: #1e293b;
}

/* Tailwind 3 specific compatibility for v2 build */
.bg-blue-50\/50 { background-color: rgba(239, 246, 255, 0.5); }
.shadow-blue-200 { --tw-shadow-color: rgba(191, 219, 254, 0.5); box-shadow: 0 10px 15px -3px var(--tw-shadow-color); }
.text-\[10px\] { font-size: 10px; }
.text-\[12px\] { font-size: 12px; }
.h-\[30px\] { height: 30px; }

body {
  background-color: #f8fafc;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
}
.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  outline: none;
}
.instructions {
  background-color: rgba(239, 246, 255, 0.3);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  outline: none;
}
.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 0px;
  border-bottom: 1px border-slate-100;
}
.input-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}
.modern-select, .modern-input {
  background-color: #f1f5f9;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.875rem;
  transition: all 0.2s;
  text-align: left;
  outline: none;
}
.modern-select:focus, .modern-input:focus {
  background-color: white;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.btn-primary {
  background-color: #2563eb;
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-secondary {
  background-color: #f1f5f9;
  color: #475569;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
}
.btn-secondary:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}
.comparison-table th {
  background-color: #f8fafc;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 12px;
  transition: all 0.3s ease;
}
.comparison-table td {
  font-size: 14px;
  padding: 12px 12px;
  border-top: 1px solid #f1f5f9;
}
.instructions-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, margin 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
}
.instructions-panel.active {
  max-height: 1000px;
  opacity: 1;
  margin-bottom: 2rem;
}
.recommended-header {
  background-color: #f0fdf4 !important;
  color: #166534 !important;
  border-bottom: 2px solid #22c55e;
}
.note1 {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 4px;
  font-style: italic;
}
.note2 {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
  font-style: italic;
}
.calc-card {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	height: 100%;
}
.calc-card img {
	transition: transform 0.3s ease;
}
/* Print Specific Styles */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background-color: white !important;
    padding: 0 !important;
  }
  .max-w-5xl {
    max-width: 100% !important;
  }
  .card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .instructions-panel.active {
    display: none !important; /* Hide instructions in PDF even if open */
  }
}
