/*
! tailwindcss v3.3.0 | 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: #e5e7eb;
  /* 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 */
  -o-tab-size: 4;
     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 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text-transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.container {
  width: 100%;
}

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

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.fixed {
  position: fixed;
}

.inset-0 {
  inset: 0px;
}

.right-0 {
  right: 0px;
}

.z-50 {
  z-index: 50;
}

.z-40 {
  z-index: 40;
}

.z-30 {
  z-index: 30;
}

.m-4 {
  margin: 1rem;
}

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

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.ml-5 {
  margin-left: 1.25rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

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

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

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

.block {
  display: block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-4 {
  width: 1rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-64 {
  width: 16rem;
}

.w-8 {
  width: 2rem;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-md {
  max-width: 28rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer {
  cursor: pointer;
}

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

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

.flex-col {
  flex-direction: column;
}

.items-start {
  align-items: flex-start;
}

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

.justify-center {
  justify-content: center;
}

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

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.overflow-y-auto {
  overflow-y: auto;
}

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

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

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

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-t {
  border-top-width: 1px;
}

.border-theme-border {
  border-color: var(--theme-border);
}

.border-transparent {
  border-color: transparent;
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-theme-background {
  background-color: var(--theme-background);
}

.bg-theme-primary {
  background-color: var(--theme-primary);
}

.bg-theme-secondary {
  background-color: var(--theme-secondary);
}

.bg-theme-surface {
  background-color: var(--theme-surface);
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

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

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

.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;
}

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

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

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

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

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

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

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

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

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

.leading-none {
  line-height: 1;
}

.text-theme-background {
  color: var(--theme-background);
}

.text-theme-error {
  color: var(--theme-error);
}

.text-theme-primary {
  color: var(--theme-primary);
}

.text-theme-text {
  color: var(--theme-text);
}

.text-theme-text-secondary {
  color: var(--theme-text-secondary);
}

.opacity-0 {
  opacity: 0;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:bg-theme-secondary:hover {
  background-color: var(--theme-secondary);
}

.hover\:text-\[\#e05e00\]:hover {
  --tw-text-opacity: 1;
  color: rgb(224 94 0 / var(--tw-text-opacity));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-theme-primary:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 107 0 / var(--tw-ring-opacity));
}

@media (min-width: 640px) {
  .sm\:ml-0 {
    margin-left: 0px;
  }

  .sm\:mt-0 {
    margin-top: 0px;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:translate-x-0 {
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

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

  .sm\:justify-center {
    justify-content: center;
  }

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

  .sm\:shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
}

@media (min-width: 768px) {
  .md\:mt-0 {
    margin-top: 0px;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex-row {
    flex-direction: row;
  }

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

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

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

@media (min-width: 1024px) {
  .lg\:static {
    position: static;
  }

  .lg\:ml-64 {
    margin-left: 16rem;
  }

  .lg\:h-auto {
    height: auto;
  }

  .lg\:translate-x-0 {
    --tw-translate-x: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

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

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

  .lg\:hidden {
    display: none;
  }
}

/* Custom Color Palette */
:root {
  --color-primary: #FF6B00;
  --color-secondary: #F5F5F5;
  --color-background: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-text: #333333;
  --color-text-secondary: #757575;
  --color-border: #E0E0E0;
  --color-success: #4CAF50;
  --color-error: #F44336;
  --color-warning: #FF9800;
  
  /* Grayscale System */
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #EEEEEE;
  --color-gray-300: #E0E0E0;
  --color-gray-400: #BDBDBD;
  --color-gray-500: #9E9E9E;
  --color-gray-600: #757575;
  --color-gray-700: #616161;
  --color-gray-800: #424242;
  --color-gray-900: #212121;
  
  /* Theme variables */
  --theme-primary: var(--color-primary);
  --theme-secondary: var(--color-secondary);
  --theme-background: var(--color-background);
  --theme-surface: var(--color-surface);
  --theme-text: var(--color-text);
  --theme-text-secondary: var(--color-text-secondary);
  --theme-border: var(--color-border);
  --theme-success: var(--color-success);
  --theme-error: var(--color-error);
  --theme-warning: var(--color-warning);
}

/* Dark Theme */
[data-theme="dark"] {
  --theme-primary: var(--color-primary);
  --theme-secondary: var(--color-gray-800);
  --theme-background: var(--color-gray-900);
  --theme-surface: var(--color-gray-800);
  --theme-text: var(--color-gray-100);
  --theme-text-secondary: var(--color-gray-400);
  --theme-border: var(--color-gray-700);
  --theme-success: var(--color-success);
  --theme-error: var(--color-error);
  --theme-warning: var(--color-warning);
}

/* Utility classes for theme colors */
.bg-theme-primary { background-color: var(--theme-primary); }
.bg-theme-secondary { background-color: var(--theme-secondary); }
.bg-theme-background { background-color: var(--theme-background); }
.bg-theme-surface { background-color: var(--theme-surface); }

.text-theme-primary { color: var(--theme-primary); }
.text-theme-secondary { color: var(--theme-secondary); }
.text-theme-background { color: var(--theme-background); }
.text-theme-text { color: var(--theme-text); }
.text-theme-text-secondary { color: var(--theme-text-secondary); }
.text-theme-success { color: var(--theme-success); }
.text-theme-error { color: var(--theme-error); }
.text-theme-warning { color: var(--theme-warning); }

.border-theme-primary { border-color: var(--theme-primary); }
.border-theme-secondary { border-color: var(--theme-secondary); }
.border-theme-border { border-color: var(--theme-border); }
.border-theme-success { border-color: var(--theme-success); }
.border-theme-error { border-color: var(--theme-error); }
.border-theme-warning { border-color: var(--theme-warning); }

/* Focus styles */
.focus\:ring-theme-primary:focus {
  --tw-ring-color: var(--theme-primary);
}

/* Custom styles that complement the design system */

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:focus {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-md {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}

.btn-lg {
  height: 56px;
  padding: 0 32px;
  font-size: 18px;
}

/* Additional button variants */
.btn-primary {
  background-color: var(--theme-primary);
  color: var(--theme-background);
}

.btn-primary:hover {
  background-color: #e05e00;
}

.btn-secondary {
  background-color: var(--theme-secondary);
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

.btn-outline {
  background-color: transparent;
  color: var(--theme-primary);
  border: 1px solid var(--theme-primary);
}

.btn-outline:hover {
  background-color: var(--theme-primary);
  color: var(--theme-background);
}

.btn-danger {
  background-color: var(--theme-error);
  color: var(--theme-background);
}

.btn-danger:hover {
  background-color: #d32f2f;
}

.btn:disabled, .btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn:disabled:hover, .btn.disabled:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Input field styles */
.input-field {
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 16px;
  min-height: 48px;
  background-color: var(--theme-background);
  color: var(--theme-text);
  transition: border-color 0.2s ease-in-out;
}

.input-field:focus {
  outline: none;
  border-color: var(--theme-primary);
  border-width: 2px;
}

.input-field.error {
  border-color: var(--theme-error);
}

/* Card styles */
.card {
  background-color: var(--theme-surface);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

/* Typography styles */
.text-xs { font-size: 12px; line-height: 16px; }
.text-sm { font-size: 14px; line-height: 20px; }
.text-md { font-size: 16px; line-height: 24px; }
.text-lg { font-size: 18px; line-height: 28px; }
.text-xl { font-size: 20px; line-height: 32px; }
.text-xxl { font-size: 24px; line-height: 36px; }
.text-xxxl { font-size: 32px; line-height: 48px; }

/* Spacing utilities */
.space-x-xs > * + * { margin-left: 4px; }
.space-x-sm > * + * { margin-left: 8px; }
.space-x-md > * + * { margin-left: 16px; }
.space-x-lg > * + * { margin-left: 24px; }
.space-x-xl > * + * { margin-left: 32px; }

.space-y-xs > * + * { margin-top: 4px; }
.space-y-sm > * + * { margin-top: 8px; }
.space-y-md > * + * { margin-top: 16px; }
.space-y-lg > * + * { margin-top: 24px; }
.space-y-xl > * + * { margin-top: 32px; }

/* Shadow utilities */
.shadow-sm { box-shadow: 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 -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }

/* Border radius utilities */
.rounded-sm { border-radius: 8px; }
.rounded-md { border-radius: 16px; }
.rounded-lg { border-radius: 24px; }
.rounded-xl { border-radius: 32px; }

/* Sidebar styles */
.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--theme-text);
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.2s ease-in-out;
}

.sidebar-link:hover {
  background-color: var(--theme-secondary);
  border-left-color: var(--theme-primary);
}

.sidebar-link.active {
  background-color: var(--theme-secondary);
  border-left-color: var(--theme-primary);
}

/* Topbar styles */
.topbar {
  background-color: var(--theme-surface);
  border-bottom: 1px solid var(--theme-border);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Footer styles */
.footer {
  background-color: var(--theme-surface);
  border-top: 1px solid var(--theme-border);
}

/* Table sorting styles */
.sort-indicator {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: opacity 0.2s;
  margin-left: 0.25rem;
}

th:hover .sort-indicator {
  opacity: 1;
}

.sort-asc .sort-indicator,
.sort-desc .sort-indicator {
  opacity: 1;
  color: var(--theme-primary);
}

.sort-asc .sort-indicator::after {
  content: ' ↑';
}

.sort-desc .sort-indicator::after {
  content: ' ↓';
}

.sortable th {
  user-select: none;
  cursor: pointer;
}

/* Enhanced table styles */
.datatable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.datatable thead th {
  background-color: var(--theme-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--theme-border);
}

.datatable tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--theme-border);
}

.datatable tbody tr:last-child td {
  border-bottom: none;
}

.datatable tbody tr:hover {
  background-color: rgba(245, 245, 245, 0.5);
}

/* Dark theme table styles */
[data-theme="dark"] .datatable thead th {
  background-color: var(--theme-secondary);
}

[data-theme="dark"] .datatable tbody tr:hover {
  background-color: rgba(66, 66, 66, 0.5);
}

/* Action buttons in tables */
.table-actions a,
.table-actions button {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.table-actions a:hover,
.table-actions button:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.table-actions .btn-edit {
  background-color: rgba(255, 107, 0, 0.1);
  color: var(--theme-primary);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.table-actions .btn-view {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--theme-success);
  border: 1px solid var(--theme-success);
}

.table-actions .btn-delete {
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--theme-error);
  border: 1px solid rgba(244, 67, 54, 0.2);
}

/* Status badges */
.status-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.status-active {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

.status-inactive {
  background-color: rgba(244, 67, 54, 0.1);
  color: #F44336;
}

.status-pending {
  background-color: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}/* Custom styles that complement the design system */

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: 2px solid var(--theme-primary);
    outline-offset: 2px;
}

.btn-sm {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
}

.btn-md {
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
}

.btn-lg {
    height: 56px;
    padding: 0 32px;
    font-size: 18px;
}

/* Additional button variants */
.btn-primary {
    background-color: var(--theme-primary);
    color: var(--theme-background);
}

.btn-primary:hover {
    background-color: #e05e00;
}

.btn-secondary {
    background-color: var(--theme-secondary);
    color: var(--theme-text);
    border: 1px solid var(--theme-border);
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.btn-outline {
    background-color: transparent;
    color: var(--theme-primary);
    border: 1px solid var(--theme-primary);
}

.btn-outline:hover {
    background-color: var(--theme-primary);
    color: var(--theme-background);
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    background-color: var(--theme-background);
    color: var(--theme-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    outline: none;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--theme-text);
}

/* Card styles */
.card {
    background-color: var(--theme-surface);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--theme-border);
    overflow: hidden;
}

.card-header {
    padding: 24px;
    border-bottom: 1px solid var(--theme-border);
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 24px;
    border-top: 1px solid var(--theme-border);
}

/* Alert styles */
.alert {
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--theme-success);
    color: var(--theme-success);
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--theme-error);
    color: var(--theme-error);
}

.alert-warning {
    background-color: rgba(255, 152, 0, 0.1);
    border: 1px solid var(--theme-warning);
    color: var(--theme-warning);
}

/* Spacing utilities */
.space-y-xs > * + * { margin-top: 4px; }
.space-y-sm > * + * { margin-top: 8px; }
.space-y-md > * + * { margin-top: 16px; }
.space-y-lg > * + * { margin-top: 24px; }
.space-y-xl > * + * { margin-top: 32px; }

/* Shadow utilities */
.shadow-sm { box-shadow: 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 -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }

/* Border radius utilities */
.rounded-sm { border-radius: 8px; }
.rounded-md { border-radius: 16px; }
.rounded-lg { border-radius: 24px; }
.rounded-xl { border-radius: 32px; }

/* Enhanced sidebar styles */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--theme-text);
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.2s ease-in-out;
}

.sidebar-link:hover {
    background-color: var(--theme-secondary);
    border-left-color: var(--theme-primary);
}

.sidebar-link.active {
    background-color: var(--theme-secondary);
    border-left-color: var(--theme-primary);
}

/* Topbar styles */
.topbar {
    background-color: var(--theme-surface);
    border-bottom: 1px solid var(--theme-border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Footer styles */
.footer {
    background-color: var(--theme-surface);
    border-top: 1px solid var(--theme-border);
}

/* Responsive sidebar improvements */
@media (max-width: 1023px) {
    /* Mobile sidebar improvements */
    #sidebar {
        width: 16rem; /* 256px */
        transition: transform 0.3s ease-in-out;
    }
    
    /* Prevent body scroll when sidebar is open */
    body.sidebar-open {
        overflow: hidden;
    }
    
    /* Ensure main content doesn't shift when sidebar opens */
    main {
        margin-left: 0;
        transition: margin-left 0.3s ease-in-out;
    }
    
    /* Make sure sidebar covers the full viewport height */
    #sidebar {
        height: 100vh;
    }
}

@media (min-width: 1024px) {
    /* Desktop improvements */
    main {
        /* margin-left: 16rem; */
         /* 256px to accommodate sidebar */
        transition: margin-left 0.3s ease-in-out;
    }
    
    /* Ensure sidebar stays visible on desktop */
    #sidebar {
        transform: translateX(0) !important;
    }
}

/* Additional sidebar fixes for better responsiveness */
#sidebar {
    will-change: transform;
}

/* Fix for sidebar toggle button alignment */
#sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Improve overlay click area */
#sidebar-overlay {
    cursor: pointer;
}

/* Table sorting styles */
.sort-indicator {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.2s;
    margin-left: 0.25rem;
}

th:hover .sort-indicator {
    opacity: 1;
}

.sort-asc .sort-indicator,
.sort-desc .sort-indicator {
    opacity: 1;
    color: var(--theme-primary);
}

.sort-asc .sort-indicator::after {
    content: ' ↑';
}

.sort-desc .sort-indicator::after {
    content: ' ↓';
}

.sortable th {
    user-select: none;
    cursor: pointer;
}

/* Enhanced table styles */
.datatable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.datatable thead th {
    background-color: var(--theme-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--theme-border);
}

.datatable tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--theme-border);
}

.datatable tbody tr:last-child td {
    border-bottom: none;
}

.datatable tbody tr:hover {
    background-color: rgba(245, 245, 245, 0.5);
}

/* Dark theme table styles */
[data-theme="dark"] .datatable thead th {
    background-color: var(--theme-secondary);
}

[data-theme="dark"] .datatable tbody tr:hover {
    background-color: rgba(66, 66, 66, 0.5);
}

/* Action buttons in tables */
.table-actions a,
.table-actions button {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.table-actions a:hover,
.table-actions button:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.table-actions .btn-edit {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--theme-primary);
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.table-actions .btn-view {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--theme-success);
    border: 1px solid var(--theme-success);
}

.table-actions .btn-delete {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--theme-error);
    border: 1px solid rgba(244, 67, 54, 0.2);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-active {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.status-inactive {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.status-pending {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}