/* src/tailwind-base.css */
*, :before, :after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  line-height: 1.5;
}

body {
  line-height: inherit;
  margin: 0;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: .75rem;
}

.mb-2 {
  margin-bottom: .5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.p-4 {
  padding: 1rem;
}

.p-3 {
  padding: .75rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-2 {
  padding-left: .5rem;
  padding-right: .5rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: .875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: .75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.italic {
  font-style: italic;
}

.bg-white {
  background-color: #fff;
}

.bg-sky-100 {
  background-color: #e0f2fe;
}

.bg-sky-200 {
  background-color: #bae6fd;
}

.bg-sky-500 {
  background-color: #0ea5e9;
}

.bg-sky-600 {
  background-color: #0284c7;
}

.bg-sky-700 {
  background-color: #0369a1;
}

.bg-slate-50 {
  background-color: #f8fafc;
}

.bg-slate-200 {
  background-color: #e2e8f0;
}

.bg-slate-300 {
  background-color: #cbd5e1;
}

.bg-emerald-100 {
  background-color: #d1fae5;
}

.bg-emerald-200 {
  background-color: #a7f3d0;
}

.bg-emerald-500 {
  background-color: #10b981;
}

.bg-emerald-600 {
  background-color: #059669;
}

.bg-emerald-700 {
  background-color: #047857;
}

.text-sky-600 {
  color: #0284c7;
}

.text-sky-700 {
  color: #0369a1;
}

.text-slate-700 {
  color: #334155;
}

.text-slate-800 {
  color: #1e293b;
}

.text-emerald-600 {
  color: #059669;
}

.text-emerald-700 {
  color: #047857;
}

.text-white {
  color: #fff;
}

.border {
  border-width: 1px;
}

.border-slate-200 {
  border-color: #e2e8f0;
}

.border-slate-300 {
  border-color: #cbd5e1;
}

.border-sky-400 {
  border-color: #38bdf8;
}

.border-sky-500 {
  border-color: #0ea5e9;
}

.border-emerald-400 {
  border-color: #34d399;
}

.border-emerald-500 {
  border-color: #10b981;
}

.rounded-lg {
  border-radius: .5rem;
}

.rounded-md {
  border-radius: .375rem;
}

.rounded {
  border-radius: .25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.max-w-none {
  max-width: none;
}

.space-y-3 > * + * {
  margin-top: .75rem;
}

.space-y-1 > * + * {
  margin-top: .25rem;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items:  center;
}

.shadow {
  box-shadow: 0 1px 3px #0000001a, 0 1px 2px #0000000f;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
}

.transition {
  transition-property: all;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: .15s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.duration-150 {
  transition-duration: .15s;
}

.duration-500 {
  transition-duration: .5s;
}

.hover:bg-sky-100:hover {
  background-color: #e0f2fe;
}

.hover:bg-sky-600:hover {
  background-color: #0284c7;
}

.hover:bg-sky-700:hover {
  background-color: #0369a1;
}

.hover:bg-slate-300:hover {
  background-color: #cbd5e1;
}

.hover:bg-emerald-100:hover {
  background-color: #d1fae5;
}

.hover:bg-emerald-600:hover {
  background-color: #059669;
}

.hover:bg-emerald-700:hover {
  background-color: #047857;
}

.hover:border-sky-400:hover {
  border-color: #38bdf8;
}

.hover:border-emerald-400:hover {
  border-color: #34d399;
}

.focus:outline-none:focus {
  outline: 2px solid #0000;
  outline-offset: 2px;
}

.focus:ring-2:focus {
  box-shadow: 0 0 0 3px #0ea5e980;
}

.focus:ring-sky-500:focus {
  --tw-ring-color: #0ea5e9;
}

.focus:ring-emerald-500:focus {
  --tw-ring-color: #10b981;
}

.focus:ring-opacity-50:focus {
  --tw-ring-opacity: .5;
}

.prose {
  color: #374151;
  max-width: 65ch;
}

.prose-sm {
  font-size: .875rem;
  line-height: 1.5rem;
}

.prose-base {
  font-size: 1rem;
  line-height: 1.75rem;
}

@media (min-width: 640px) {
  .sm:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .sm:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm:prose-base {
    font-size: 1rem;
    line-height: 1.75rem;
  }
}

.h-2.5 {
  height: .625rem;
}

.h-3 {
  height: .75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.items-center {
  align-items:  center;
}

.mb-1 {
  margin-bottom: .25rem;
}

/* src/style.css */
.tab-active {
  color: #0369a1;
  border-color: #0284c7;
  font-weight: 600;
}

.tab-inactive {
  color: #64748b;
  border-color: #0000;
}

.tab-inactive:hover {
  color: #334155;
  border-color: #cbd5e1;
}

.chart-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 300px;
  max-height: 350px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .chart-container {
    height: 350px;
    max-height: 400px;
  }
}

@media (min-width: 1024px) {
  .chart-container {
    max-width: 500px;
    height: 400px;
    max-height: 450px;
  }
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height .4s ease-out, padding .4s ease-out;
}

.accordion-content.open {
  max-height: 1500px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: max-height .6s ease-in, padding .4s ease-in;
}

body > .modal-backdrop {
  display: none;
  position: fixed;
  z-index: 40;
  opacity: 0;
  background-color: #0009;
  transition: opacity .3s ease-out;
  inset: 0;
}

body > .modal-backdrop.visible {
  display: block;
  opacity: 1;
}

body > .modal {
  display: none;
  position: fixed;
  z-index: 50;
  overflow-y: auto;
  opacity: 0;
  background-color: #fff;
  border-radius: .5rem;
  max-height: 90vh;
  padding: 1.5rem;
  transition: opacity .3s ease-out, transform .3s ease-out;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)scale(.95);
  box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
}

body > .modal.visible {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%)scale(1);
}

body > .modal::-webkit-scrollbar {
  width: 8px;
}

body > .modal::-webkit-scrollbar-thumb {
  background-color: #94a3b8;
  border-radius: 4px;
}

body > .modal::-webkit-scrollbar-track {
  background-color: #e2e8f0;
}

.choice-hover:hover {
  background-color: #e0f2fe;
}

#scrollToTopBtn:hover {
  transform: translateY(-3px);
  background-color: #0369a1 !important;
  box-shadow: 0 10px 20px #0003 !important;
}

html {
  scroll-behavior: smooth;
}
