/*
! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: currentColor; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

html {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
  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"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/* Tailwind Utility Classes */

/* Layout */
.container { width: 100%; margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.w-full { width: 100%; }
.w-64 { width: 16rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-\[80\%\] { max-width: 80%; }

/* Spacing */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pt-4 { padding-top: 1rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }

/* Flexbox & Grid */
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:ml-64 { margin-left: 16rem; }
  .sm\:translate-x-0 { transform: translateX(0); }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.whitespace-nowrap { white-space: nowrap; }

/* Colors */
.text-white { color: rgba(255, 255, 255, 1); }
.text-gray-300 { color: rgba(209, 213, 219, 1); }
.text-gray-400 { color: rgba(156, 163, 175, 1); }
.text-gray-500 { color: rgba(107, 114, 128, 1); }
.text-gray-600 { color: rgba(75, 85, 99, 1); }
.text-gray-700 { color: rgba(55, 65, 81, 1); }
.text-gray-800 { color: rgba(31, 41, 55, 1); }
.text-gray-900 { color: rgba(17, 24, 39, 1); }
.text-blue-100 { color: rgba(219, 234, 254, 1); }
.text-blue-500 { color: rgba(59, 130, 246, 1); }
.text-blue-600 { color: rgba(37, 99, 235, 1); }
.text-green-400 { color: rgba(74, 222, 128, 1); }
.text-green-600 { color: rgba(22, 163, 74, 1); }
.text-green-700 { color: rgba(21, 128, 61, 1); }
.text-amber-600 { color: rgba(217, 119, 6, 1); }
.text-purple-600 { color: rgba(147, 51, 234, 1); }
.text-red-700 { color: rgba(185, 28, 28, 1); }
.text-yellow-700 { color: rgba(161, 98, 7, 1); }
.text-cyan-700 { color: rgba(14, 116, 144, 1); }

.bg-white { background-color: rgba(255, 255, 255, 1); }
.bg-gray-50 { background-color: rgba(249, 250, 251, 1); }
.bg-gray-100 { background-color: rgba(243, 244, 246, 1); }
.bg-gray-200 { background-color: rgba(229, 231, 235, 1); }
.bg-gray-700 { background-color: rgba(55, 65, 81, 1); }
.bg-gray-800 { background-color: rgba(31, 41, 55, 1); }
.bg-gray-900 { background-color: rgba(17, 24, 39, 1); }
.bg-blue-50 { background-color: rgba(239, 246, 255, 1); }
.bg-blue-100 { background-color: rgba(219, 234, 254, 1); }
.bg-blue-500 { background-color: rgba(59, 130, 246, 1); }
.bg-blue-600 { background-color: rgba(37, 99, 235, 1); }
.bg-blue-700 { background-color: rgba(29, 78, 216, 1); }
.bg-green-100 { background-color: rgba(220, 252, 231, 1); }
.bg-yellow-100 { background-color: rgba(254, 249, 195, 1); }
.bg-red-100 { background-color: rgba(254, 226, 226, 1); }
.bg-cyan-100 { background-color: rgba(207, 250, 254, 1); }
.bg-transparent { background-color: transparent; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-gray-200 { border-color: rgba(229, 231, 235, 1); }
.border-gray-300 { border-color: rgba(209, 213, 219, 1); }
.border-gray-600 { border-color: rgba(75, 85, 99, 1); }
.border-gray-700 { border-color: rgba(55, 65, 81, 1); }
.border-blue-500 { border-color: rgba(59, 130, 246, 1); }

/* Effects & Transitions */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* Positions */
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Transforms & Transitions */
.transition { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform; }
.transition-transform { transition-property: transform; }
.-translate-x-full { transform: translateX(-100%); }

/* Interactivity */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

.focus\:border-blue-500:focus { border-color: rgba(59, 130, 246, 1); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus\:ring-blue-300:focus { --tw-ring-color: rgba(147, 197, 253, 0.5); }
.focus\:ring-blue-400:focus { --tw-ring-color: rgba(96, 165, 250, 0.5); }
.focus\:ring-blue-500:focus { --tw-ring-color: rgba(59, 130, 246, 0.5); }
.focus\:ring-gray-200:focus { --tw-ring-color: rgba(229, 231, 235, 0.5); }
.focus\:ring-gray-400:focus { --tw-ring-color: rgba(156, 163, 175, 0.5); }

.hover\:bg-blue-50:hover { background-color: rgba(239, 246, 255, 1); }
.hover\:bg-blue-700:hover { background-color: rgba(29, 78, 216, 1); }
.hover\:bg-gray-100:hover { background-color: rgba(243, 244, 246, 1); }
.hover\:bg-gray-300:hover { background-color: rgba(209, 213, 219, 1); }
.hover\:text-blue-600:hover { color: rgba(37, 99, 235, 1); }
.hover\:text-white:hover { color: rgba(255, 255, 255, 1); }

.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Animations */
.animate-bounce {
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-blue-50 { --tw-gradient-from: rgba(239, 246, 255, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0)); }
.from-green-50 { --tw-gradient-from: rgba(240, 253, 244, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 253, 244, 0)); }
.from-purple-50 { --tw-gradient-from: rgba(245, 243, 255, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(245, 243, 255, 0)); }
.from-amber-50 { --tw-gradient-from: rgba(255, 251, 235, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 251, 235, 0)); }
.from-blue-900 { --tw-gradient-from: rgba(30, 58, 138, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 58, 138, 0)); }
.from-green-900 { --tw-gradient-from: rgba(20, 83, 45, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(20, 83, 45, 0)); }
.from-purple-900 { --tw-gradient-from: rgba(88, 28, 135, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(88, 28, 135, 0)); }
.from-amber-900 { --tw-gradient-from: rgba(120, 53, 15, 1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(120, 53, 15, 0)); }
.to-indigo-50 { --tw-gradient-to: rgba(238, 242, 255, 1); }
.to-emerald-50 { --tw-gradient-to: rgba(236, 253, 245, 1); }
.to-pink-50 { --tw-gradient-to: rgba(253, 242, 248, 1); }
.to-orange-50 { --tw-gradient-to: rgba(255, 247, 237, 1); }
.to-indigo-900 { --tw-gradient-to: rgba(49, 46, 129, 1); }
.to-emerald-900 { --tw-gradient-to: rgba(6, 78, 59, 1); }
.to-pink-900 { --tw-gradient-to: rgba(131, 24, 67, 1); }
.to-orange-900 { --tw-gradient-to: rgba(124, 45, 18, 1); }

/* Dark Mode */
.dark .dark\:bg-gray-600 { background-color: rgba(75, 85, 99, 1); }
.dark .dark\:bg-gray-700 { background-color: rgba(55, 65, 81, 1); }
.dark .dark\:bg-gray-800 { background-color: rgba(31, 41, 55, 1); }
.dark .dark\:bg-gray-900 { background-color: rgba(17, 24, 39, 1); }
.dark .dark\:bg-blue-600 { background-color: rgba(37, 99, 235, 1); }
.dark .dark\:bg-blue-900 { background-color: rgba(30, 58, 138, 1); }
.dark .dark\:bg-green-900 { background-color: rgba(20, 83, 45, 1); }
.dark .dark\:bg-purple-900 { background-color: rgba(88, 28, 135, 1); }
.dark .dark\:bg-amber-900 { background-color: rgba(120, 53, 15, 1); }
.dark .dark\:text-white { color: rgba(255, 255, 255, 1); }
.dark .dark\:text-gray-300 { color: rgba(209, 213, 219, 1); }
.dark .dark\:text-gray-400 { color: rgba(156, 163, 175, 1); }
.dark .dark\:border-gray-600 { border-color: rgba(75, 85, 99, 1); }
.dark .dark\:border-gray-700 { border-color: rgba(55, 65, 81, 1); }
.dark .dark\:text-blue-400 { color: rgba(96, 165, 250, 1); }
.dark .dark\:text-green-400 { color: rgba(74, 222, 128, 1); }
.dark .dark\:text-purple-400 { color: rgba(192, 132, 252, 1); }
.dark .dark\:text-amber-400 { color: rgba(251, 191, 36, 1); }
.dark .dark\:hover\:bg-gray-600:hover { background-color: rgba(75, 85, 99, 1); }
.dark .dark\:hover\:bg-gray-700:hover { background-color: rgba(55, 65, 81, 1); }
.dark .dark\:hover\:text-white:hover { color: rgba(255, 255, 255, 1); }
.dark .dark\:focus\:ring-gray-600:focus { --tw-ring-color: rgba(75, 85, 99, 0.5); }
.dark .dark\:from-blue-900 { --tw-gradient-from: rgba(30, 58, 138, 1); }
.dark .dark\:to-indigo-900 { --tw-gradient-to: rgba(49, 46, 129, 1); }

/* Custom component classes */
.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  color: rgba(75, 85, 99, 1);
  border-radius: 0.5rem;
}
.sidebar-link:hover {
  background-color: rgba(243, 244, 246, 1);
  color: rgba(37, 99, 235, 1);
}
.dark .sidebar-link {
  color: rgba(209, 213, 219, 1);
}
.dark .sidebar-link:hover {
  background-color: rgba(55, 65, 81, 1);
  color: rgba(255, 255, 255, 1);
}
.sidebar-link.active {
  background-color: rgba(219, 234, 254, 1);
  color: rgba(37, 99, 235, 1);
}
.dark .sidebar-link.active {
  background-color: rgba(55, 65, 81, 1);
  color: rgba(255, 255, 255, 1);
}
.sidebar-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}
.card {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.dark .card {
  background-color: rgba(31, 41, 55, 1);
}
.card-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(229, 231, 235, 1);
}
.dark .card-header {
  border-color: rgba(55, 65, 81, 1);
}
.btn-primary {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: rgba(37, 99, 235, 1);
  color: rgba(255, 255, 255, 1);
  border-radius: 0.5rem;
}
.btn-primary:hover {
  background-color: rgba(29, 78, 216, 1);
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.btn-secondary {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: rgba(229, 231, 235, 1);
  color: rgba(55, 65, 81, 1);
  border-radius: 0.5rem;
}
.btn-secondary:hover {
  background-color: rgba(209, 213, 219, 1);
}
.btn-outline {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border: 1px solid rgba(209, 213, 219, 1);
  color: rgba(55, 65, 81, 1);
  border-radius: 0.5rem;
}
.btn-outline:hover {
  background-color: rgba(243, 244, 246, 1);
}
.btn-outline:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(156, 163, 175, 0.5);
}
.last\:border-0:last-child { border-width: 0px; }
.last\:pb-0:last-child { padding-bottom: 0px; } 