@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100;200;300;400;500;600;700;800;900&display=swap);
*, ::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-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --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:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::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-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --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:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.18 | 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.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
  tab-size: 4; /* 3 */
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
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. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. 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-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
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-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: 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,
input:where([type='button']),
input:where([type='reset']),
input:where([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;
}

/*
Reset default styling for dialogs.
*/
dialog {
  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::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]:where(:not([hidden="until-found"])) {
  display: none;
}
.\!container {
  width: 100% !important;
}
.container {
  width: 100%;
}
@media (min-width: 475px) {

  .\!container {
    max-width: 475px !important;
  }

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

  .\!container {
    max-width: 640px !important;
  }

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

  .\!container {
    max-width: 768px !important;
  }

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

  .\!container {
    max-width: 1024px !important;
  }

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

  .\!container {
    max-width: 1280px !important;
  }

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

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
}
.-inset-0\.5 {
  inset: -0.125rem;
}
.inset-0 {
  inset: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.-bottom-1 {
  bottom: -0.25rem;
}
.-left-1 {
  left: -0.25rem;
}
.-right-1 {
  right: -0.25rem;
}
.-right-2 {
  right: -0.5rem;
}
.-top-1 {
  top: -0.25rem;
}
.-top-2 {
  top: -0.5rem;
}
.bottom-0 {
  bottom: 0px;
}
.bottom-4 {
  bottom: 1rem;
}
.left-0 {
  left: 0px;
}
.left-1\/2 {
  left: 50%;
}
.left-3 {
  left: 0.75rem;
}
.left-4 {
  left: 1rem;
}
.left-full {
  left: 100%;
}
.right-0 {
  right: 0px;
}
.right-10 {
  right: 2.5rem;
}
.right-2 {
  right: 0.5rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-2 {
  top: 0.5rem;
}
.top-2\.5 {
  top: 0.625rem;
}
.top-3 {
  top: 0.75rem;
}
.top-3\.5 {
  top: 0.875rem;
}
.top-4 {
  top: 1rem;
}
.top-5 {
  top: 1.25rem;
}
.z-0 {
  z-index: 0;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-30 {
  z-index: 30;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.z-\[1000\] {
  z-index: 1000;
}
.z-\[1001\] {
  z-index: 1001;
}
.z-\[9999\] {
  z-index: 9999;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.col-span-1 {
  grid-column: span 1 / span 1;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-3 {
  grid-column: span 3 / span 3;
}
.col-span-5 {
  grid-column: span 5 / span 5;
}
.col-span-full {
  grid-column: 1 / -1;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.ml-4 {
  margin-left: 1rem;
}
.ml-5 {
  margin-left: 1.25rem;
}
.ml-6 {
  margin-left: 1.5rem;
}
.ml-8 {
  margin-left: 2rem;
}
.ml-9 {
  margin-left: 2.25rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-3 {
  margin-right: 0.75rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.\!table {
  display: table !important;
}
.table {
  display: table;
}
.table-cell {
  display: table-cell;
}
.grid {
  display: grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}
.h-1 {
  height: 0.25rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-2\.5 {
  height: 0.625rem;
}
.h-20 {
  height: 5rem;
}
.h-24 {
  height: 6rem;
}
.h-3 {
  height: 0.75rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-48 {
  height: 12rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-64 {
  height: 16rem;
}
.h-7 {
  height: 1.75rem;
}
.h-72 {
  height: 18rem;
}
.h-8 {
  height: 2rem;
}
.h-80 {
  height: 20rem;
}
.h-96 {
  height: 24rem;
}
.h-\[250px\] {
  height: 250px;
}
.h-\[300px\] {
  height: 300px;
}
.h-\[400px\] {
  height: 400px;
}
.h-fit {
  height: -webkit-fit-content;
  height: fit-content;
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.h-screen {
  height: 100vh;
}
.max-h-14 {
  max-height: 3.5rem;
}
.max-h-32 {
  max-height: 8rem;
}
.max-h-40 {
  max-height: 10rem;
}
.max-h-48 {
  max-height: 12rem;
}
.max-h-60 {
  max-height: 15rem;
}
.max-h-64 {
  max-height: 16rem;
}
.max-h-96 {
  max-height: 24rem;
}
.max-h-\[70vh\] {
  max-height: 70vh;
}
.max-h-\[80vh\] {
  max-height: 80vh;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.max-h-\[calc\(90vh-120px\)\] {
  max-height: calc(90vh - 120px);
}
.max-h-\[calc\(90vh-200px\)\] {
  max-height: calc(90vh - 200px);
}
.min-h-\[100px\] {
  min-height: 100px;
}
.min-h-\[300px\] {
  min-height: 300px;
}
.min-h-\[600px\] {
  min-height: 600px;
}
.min-h-\[70vh\] {
  min-height: 70vh;
}
.min-h-\[80px\] {
  min-height: 80px;
}
.min-h-screen {
  min-height: 100vh;
}
.w-0\.5 {
  width: 0.125rem;
}
.w-1 {
  width: 0.25rem;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-1\/2 {
  width: 50%;
}
.w-1\/4 {
  width: 25%;
}
.w-1\/5 {
  width: 20%;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-11\/12 {
  width: 91.666667%;
}
.w-12 {
  width: 3rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\.5 {
  width: 0.625rem;
}
.w-20 {
  width: 5rem;
}
.w-24 {
  width: 6rem;
}
.w-28 {
  width: 7rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\/5 {
  width: 60%;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-40 {
  width: 10rem;
}
.w-44 {
  width: 11rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-56 {
  width: 14rem;
}
.w-6 {
  width: 1.5rem;
}
.w-64 {
  width: 16rem;
}
.w-7 {
  width: 1.75rem;
}
.w-8 {
  width: 2rem;
}
.w-80 {
  width: 20rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[21cm\] {
  width: 21cm;
}
.w-fit {
  width: -webkit-fit-content;
  width: fit-content;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-64 {
  min-width: 16rem;
}
.min-w-\[100px\] {
  min-width: 100px;
}
.min-w-\[140px\] {
  min-width: 140px;
}
.min-w-\[160px\] {
  min-width: 160px;
}
.min-w-\[2500px\] {
  min-width: 2500px;
}
.min-w-\[250px\] {
  min-width: 250px;
}
.min-w-\[300px\] {
  min-width: 300px;
}
.min-w-\[50px\] {
  min-width: 50px;
}
.min-w-full {
  min-width: 100%;
}
.max-w-14 {
  max-width: 3.5rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.max-w-\[100px\] {
  max-width: 100px;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-w-full {
  max-width: 100%;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-xs {
  max-width: 20rem;
}
.flex-1 {
  flex: 1 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-grow {
  flex-grow: 1;
}
.table-auto {
  table-layout: auto;
}
.border-collapse {
  border-collapse: collapse;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  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));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  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));
}
.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));
}
.translate-x-1 {
  --tw-translate-x: 0.25rem;
  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));
}
.translate-x-6 {
  --tw-translate-x: 1.5rem;
  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));
}
.translate-x-8 {
  --tw-translate-x: 2rem;
  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));
}
.-rotate-90 {
  --tw-rotate: -90deg;
  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));
}
.rotate-180 {
  --tw-rotate: 180deg;
  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));
}
.rotate-45 {
  --tw-rotate: 45deg;
  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));
}
.rotate-90 {
  --tw-rotate: 90deg;
  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));
}
.scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  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));
}
.scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  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));
}
.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));
}
@keyframes bounce {

  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8,0,1,1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0,0,0.2,1);
  }
}
.animate-bounce {
  animation: bounce 1s infinite;
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.resize-none {
  resize: none;
}
.resize {
  resize: both;
}
.list-inside {
  list-style-position: inside;
}
.list-decimal {
  list-style-type: decimal;
}
.list-disc {
  list-style-type: disc;
}
.appearance-none {
  -webkit-appearance: none;
          appearance: none;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.flex-row-reverse {
  flex-direction: row-reverse;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-stretch {
  align-items: stretch;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-x-4 {
  column-gap: 1rem;
}
.gap-x-8 {
  column-gap: 2rem;
}
.gap-y-1 {
  row-gap: 0.25rem;
}
.gap-y-4 {
  row-gap: 1rem;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.25rem * var(--tw-space-x-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
}
.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-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * 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-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-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));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(229 231 235 / 1);
  border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}
.divide-gray-700 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(55 65 81 / 1);
  border-color: rgb(55 65 81 / var(--tw-divide-opacity, 1));
}
.divide-white\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgb(255 255 255 / 0.1);
}
.divide-white\/5 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgb(255 255 255 / 0.05);
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-line {
  white-space: pre-line;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.break-all {
  word-break: break-all;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-none {
  border-radius: 0px;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-l-full {
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}
.rounded-l-xl {
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
}
.rounded-r-full {
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
}
.rounded-r-xl {
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}
.rounded-t-xl {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}
.rounded-bl-lg {
  border-bottom-left-radius: 0.5rem;
}
.rounded-br-lg {
  border-bottom-right-radius: 0.5rem;
}
.rounded-tl-lg {
  border-top-left-radius: 0.5rem;
}
.rounded-tr-lg {
  border-top-right-radius: 0.5rem;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-b-4 {
  border-bottom-width: 4px;
}
.border-l {
  border-left-width: 1px;
}
.border-l-0 {
  border-left-width: 0px;
}
.border-l-4 {
  border-left-width: 4px;
}
.border-r {
  border-right-width: 1px;
}
.border-r-4 {
  border-right-width: 4px;
}
.border-t {
  border-top-width: 1px;
}
.border-t-2 {
  border-top-width: 2px;
}
.border-t-4 {
  border-top-width: 4px;
}
.border-dashed {
  border-style: dashed;
}
.border-none {
  border-style: none;
}
.border-amber-500 {
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / 1);
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.border-amber-500\/20 {
  border-color: rgb(245 158 11 / 0.2);
}
.border-amber-500\/30 {
  border-color: rgb(245 158 11 / 0.3);
}
.border-amber-500\/50 {
  border-color: rgb(245 158 11 / 0.5);
}
.border-blue-300 {
  --tw-border-opacity: 1;
  border-color: rgb(147 197 253 / 1);
  border-color: rgb(147 197 253 / var(--tw-border-opacity, 1));
}
.border-blue-400 {
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / 1);
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
}
.border-blue-400\/30 {
  border-color: rgb(96 165 250 / 0.3);
}
.border-blue-400\/50 {
  border-color: rgb(96 165 250 / 0.5);
}
.border-blue-500 {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / 1);
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-blue-500\/20 {
  border-color: rgb(59 130 246 / 0.2);
}
.border-blue-500\/30 {
  border-color: rgb(59 130 246 / 0.3);
}
.border-blue-500\/50 {
  border-color: rgb(59 130 246 / 0.5);
}
.border-blue-600 {
  --tw-border-opacity: 1;
  border-color: rgb(37 99 235 / 1);
  border-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
}
.border-blue-700\/30 {
  border-color: rgb(29 78 216 / 0.3);
}
.border-current {
  border-color: currentColor;
}
.border-danger-400 {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / 1);
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}
.border-emerald-500\/20 {
  border-color: rgb(16 185 129 / 0.2);
}
.border-emerald-500\/30 {
  border-color: rgb(16 185 129 / 0.3);
}
.border-emerald-500\/50 {
  border-color: rgb(16 185 129 / 0.5);
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / 1);
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / 1);
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-gray-400 {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / 1);
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.border-gray-500 {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / 1);
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}
.border-gray-500\/30 {
  border-color: rgb(107 114 128 / 0.3);
}
.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / 1);
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}
.border-gray-900 {
  --tw-border-opacity: 1;
  border-color: rgb(17 24 39 / 1);
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
}
.border-green-400\/30 {
  border-color: rgb(74 222 128 / 0.3);
}
.border-green-500 {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / 1);
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}
.border-green-500\/20 {
  border-color: rgb(34 197 94 / 0.2);
}
.border-green-500\/30 {
  border-color: rgb(34 197 94 / 0.3);
}
.border-green-500\/50 {
  border-color: rgb(34 197 94 / 0.5);
}
.border-green-700\/30 {
  border-color: rgb(21 128 61 / 0.3);
}
.border-indigo-400\/30 {
  border-color: rgb(129 140 248 / 0.3);
}
.border-indigo-500 {
  --tw-border-opacity: 1;
  border-color: rgb(99 102 241 / 1);
  border-color: rgb(99 102 241 / var(--tw-border-opacity, 1));
}
.border-indigo-500\/20 {
  border-color: rgb(99 102 241 / 0.2);
}
.border-indigo-500\/30 {
  border-color: rgb(99 102 241 / 0.3);
}
.border-orange-400\/30 {
  border-color: rgb(251 146 60 / 0.3);
}
.border-orange-500 {
  --tw-border-opacity: 1;
  border-color: rgb(249 115 22 / 1);
  border-color: rgb(249 115 22 / var(--tw-border-opacity, 1));
}
.border-orange-500\/30 {
  border-color: rgb(249 115 22 / 0.3);
}
.border-pink-500 {
  --tw-border-opacity: 1;
  border-color: rgb(236 72 153 / 1);
  border-color: rgb(236 72 153 / var(--tw-border-opacity, 1));
}
.border-purple-400\/30 {
  border-color: rgb(192 132 252 / 0.3);
}
.border-purple-500 {
  --tw-border-opacity: 1;
  border-color: rgb(168 85 247 / 1);
  border-color: rgb(168 85 247 / var(--tw-border-opacity, 1));
}
.border-purple-500\/20 {
  border-color: rgb(168 85 247 / 0.2);
}
.border-purple-500\/30 {
  border-color: rgb(168 85 247 / 0.3);
}
.border-purple-600\/20 {
  border-color: rgb(147 51 234 / 0.2);
}
.border-red-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / 1);
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
}
.border-red-400 {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / 1);
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}
.border-red-500 {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / 1);
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}
.border-red-500\/20 {
  border-color: rgb(239 68 68 / 0.2);
}
.border-red-500\/30 {
  border-color: rgb(239 68 68 / 0.3);
}
.border-red-500\/50 {
  border-color: rgb(239 68 68 / 0.5);
}
.border-red-600\/20 {
  border-color: rgb(220 38 38 / 0.2);
}
.border-slate-600 {
  --tw-border-opacity: 1;
  border-color: rgb(71 85 105 / 1);
  border-color: rgb(71 85 105 / var(--tw-border-opacity, 1));
}
.border-teal-400 {
  --tw-border-opacity: 1;
  border-color: rgb(45 212 191 / 1);
  border-color: rgb(45 212 191 / var(--tw-border-opacity, 1));
}
.border-teal-500 {
  --tw-border-opacity: 1;
  border-color: rgb(20 184 166 / 1);
  border-color: rgb(20 184 166 / var(--tw-border-opacity, 1));
}
.border-teal-500\/50 {
  border-color: rgb(20 184 166 / 0.5);
}
.border-teal-700 {
  --tw-border-opacity: 1;
  border-color: rgb(15 118 110 / 1);
  border-color: rgb(15 118 110 / var(--tw-border-opacity, 1));
}
.border-teal-700\/20 {
  border-color: rgb(15 118 110 / 0.2);
}
.border-teal-700\/30 {
  border-color: rgb(15 118 110 / 0.3);
}
.border-transparent {
  border-color: transparent;
}
.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / 1);
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}
.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}
.border-white\/30 {
  border-color: rgb(255 255 255 / 0.3);
}
.border-white\/40 {
  border-color: rgb(255 255 255 / 0.4);
}
.border-white\/5 {
  border-color: rgb(255 255 255 / 0.05);
}
.border-yellow-300 {
  --tw-border-opacity: 1;
  border-color: rgb(253 224 71 / 1);
  border-color: rgb(253 224 71 / var(--tw-border-opacity, 1));
}
.border-yellow-500\/20 {
  border-color: rgb(234 179 8 / 0.2);
}
.border-yellow-500\/30 {
  border-color: rgb(234 179 8 / 0.3);
}
.border-yellow-500\/50 {
  border-color: rgb(234 179 8 / 0.5);
}
.border-b-blue-700 {
  --tw-border-opacity: 1;
  border-bottom-color: rgb(29 78 216 / 1);
  border-bottom-color: rgb(29 78 216 / var(--tw-border-opacity, 1));
}
.border-l-amber-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(245 158 11 / 1);
  border-left-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.border-l-blue-600 {
  --tw-border-opacity: 1;
  border-left-color: rgb(37 99 235 / 1);
  border-left-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
}
.border-l-green-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(34 197 94 / 1);
  border-left-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}
.border-l-red-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(239 68 68 / 1);
  border-left-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}
.border-r-blue-600 {
  --tw-border-opacity: 1;
  border-right-color: rgb(37 99 235 / 1);
  border-right-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
}
.border-t-blue-500 {
  --tw-border-opacity: 1;
  border-top-color: rgb(59 130 246 / 1);
  border-top-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-amber-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / 1);
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}
.bg-amber-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 191 36 / 1);
  background-color: rgb(251 191 36 / var(--tw-bg-opacity, 1));
}
.bg-amber-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / 1);
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}
.bg-amber-500\/10 {
  background-color: rgb(245 158 11 / 0.1);
}
.bg-amber-500\/20 {
  background-color: rgb(245 158 11 / 0.2);
}
.bg-amber-500\/30 {
  background-color: rgb(245 158 11 / 0.3);
}
.bg-amber-500\/5 {
  background-color: rgb(245 158 11 / 0.05);
}
.bg-amber-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / 1);
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}
.bg-amber-600\/20 {
  background-color: rgb(217 119 6 / 0.2);
}
.bg-amber-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(180 83 9 / 1);
  background-color: rgb(180 83 9 / var(--tw-bg-opacity, 1));
}
.bg-amber-700\/10 {
  background-color: rgb(180 83 9 / 0.1);
}
.bg-amber-700\/30 {
  background-color: rgb(180 83 9 / 0.3);
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / 1);
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-black\/20 {
  background-color: rgb(0 0 0 / 0.2);
}
.bg-black\/30 {
  background-color: rgb(0 0 0 / 0.3);
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}
.bg-black\/70 {
  background-color: rgb(0 0 0 / 0.7);
}
.bg-black\/80 {
  background-color: rgb(0 0 0 / 0.8);
}
.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / 1);
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}
.bg-blue-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / 1);
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.bg-blue-400\/20 {
  background-color: rgb(96 165 250 / 0.2);
}
.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / 1);
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / 1);
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-blue-500\/10 {
  background-color: rgb(59 130 246 / 0.1);
}
.bg-blue-500\/20 {
  background-color: rgb(59 130 246 / 0.2);
}
.bg-blue-500\/30 {
  background-color: rgb(59 130 246 / 0.3);
}
.bg-blue-500\/40 {
  background-color: rgb(59 130 246 / 0.4);
}
.bg-blue-500\/5 {
  background-color: rgb(59 130 246 / 0.05);
}
.bg-blue-500\/50 {
  background-color: rgb(59 130 246 / 0.5);
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-blue-600\/10 {
  background-color: rgb(37 99 235 / 0.1);
}
.bg-blue-600\/20 {
  background-color: rgb(37 99 235 / 0.2);
}
.bg-blue-600\/30 {
  background-color: rgb(37 99 235 / 0.3);
}
.bg-blue-600\/40 {
  background-color: rgb(37 99 235 / 0.4);
}
.bg-blue-600\/50 {
  background-color: rgb(37 99 235 / 0.5);
}
.bg-blue-600\/80 {
  background-color: rgb(37 99 235 / 0.8);
}
.bg-blue-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / 1);
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.bg-blue-700\/30 {
  background-color: rgb(29 78 216 / 0.3);
}
.bg-blue-900\/10 {
  background-color: rgb(30 58 138 / 0.1);
}
.bg-blue-900\/20 {
  background-color: rgb(30 58 138 / 0.2);
}
.bg-blue-900\/30 {
  background-color: rgb(30 58 138 / 0.3);
}
.bg-cyan-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 211 238 / 1);
  background-color: rgb(34 211 238 / var(--tw-bg-opacity, 1));
}
.bg-cyan-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(6 182 212 / 1);
  background-color: rgb(6 182 212 / var(--tw-bg-opacity, 1));
}
.bg-cyan-500\/20 {
  background-color: rgb(6 182 212 / 0.2);
}
.bg-cyan-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(8 145 178 / 1);
  background-color: rgb(8 145 178 / var(--tw-bg-opacity, 1));
}
.bg-cyan-600\/20 {
  background-color: rgb(8 145 178 / 0.2);
}
.bg-cyan-700\/10 {
  background-color: rgb(14 116 144 / 0.1);
}
.bg-cyan-700\/30 {
  background-color: rgb(14 116 144 / 0.3);
}
.bg-danger-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / 1);
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-emerald-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / 1);
  background-color: rgb(52 211 153 / var(--tw-bg-opacity, 1));
}
.bg-emerald-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / 1);
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}
.bg-emerald-500\/10 {
  background-color: rgb(16 185 129 / 0.1);
}
.bg-emerald-500\/20 {
  background-color: rgb(16 185 129 / 0.2);
}
.bg-emerald-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / 1);
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}
.bg-emerald-700\/10 {
  background-color: rgb(4 120 87 / 0.1);
}
.bg-emerald-700\/30 {
  background-color: rgb(4 120 87 / 0.3);
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / 1);
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / 1);
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / 1);
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / 1);
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}
.bg-gray-400\/20 {
  background-color: rgb(156 163 175 / 0.2);
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / 1);
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-gray-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / 1);
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}
.bg-gray-500\/10 {
  background-color: rgb(107 114 128 / 0.1);
}
.bg-gray-500\/20 {
  background-color: rgb(107 114 128 / 0.2);
}
.bg-gray-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / 1);
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / 1);
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.bg-gray-700\/30 {
  background-color: rgb(55 65 81 / 0.3);
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / 1);
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-gray-800\/50 {
  background-color: rgb(31 41 55 / 0.5);
}
.bg-gray-800\/95 {
  background-color: rgb(31 41 55 / 0.95);
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / 1);
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-gray-900\/50 {
  background-color: rgb(17 24 39 / 0.5);
}
.bg-gray-900\/80 {
  background-color: rgb(17 24 39 / 0.8);
}
.bg-gray-900\/90 {
  background-color: rgb(17 24 39 / 0.9);
}
.bg-gray-900\/95 {
  background-color: rgb(17 24 39 / 0.95);
}
.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / 1);
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.bg-green-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(187 247 208 / 1);
  background-color: rgb(187 247 208 / var(--tw-bg-opacity, 1));
}
.bg-green-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(74 222 128 / 1);
  background-color: rgb(74 222 128 / var(--tw-bg-opacity, 1));
}
.bg-green-400\/20 {
  background-color: rgb(74 222 128 / 0.2);
}
.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / 1);
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / 1);
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-green-500\/10 {
  background-color: rgb(34 197 94 / 0.1);
}
.bg-green-500\/20 {
  background-color: rgb(34 197 94 / 0.2);
}
.bg-green-500\/30 {
  background-color: rgb(34 197 94 / 0.3);
}
.bg-green-500\/5 {
  background-color: rgb(34 197 94 / 0.05);
}
.bg-green-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / 1);
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-green-600\/20 {
  background-color: rgb(22 163 74 / 0.2);
}
.bg-green-600\/50 {
  background-color: rgb(22 163 74 / 0.5);
}
.bg-green-600\/80 {
  background-color: rgb(22 163 74 / 0.8);
}
.bg-green-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / 1);
  background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
}
.bg-green-700\/10 {
  background-color: rgb(21 128 61 / 0.1);
}
.bg-green-700\/30 {
  background-color: rgb(21 128 61 / 0.3);
}
.bg-green-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 101 52 / 1);
  background-color: rgb(22 101 52 / var(--tw-bg-opacity, 1));
}
.bg-green-900\/20 {
  background-color: rgb(20 83 45 / 0.2);
}
.bg-indigo-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(129 140 248 / 1);
  background-color: rgb(129 140 248 / var(--tw-bg-opacity, 1));
}
.bg-indigo-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(99 102 241 / 1);
  background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
}
.bg-indigo-500\/10 {
  background-color: rgb(99 102 241 / 0.1);
}
.bg-indigo-500\/20 {
  background-color: rgb(99 102 241 / 0.2);
}
.bg-indigo-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / 1);
  background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}
.bg-indigo-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(67 56 202 / 1);
  background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1));
}
.bg-indigo-700\/10 {
  background-color: rgb(67 56 202 / 0.1);
}
.bg-indigo-700\/30 {
  background-color: rgb(67 56 202 / 0.3);
}
.bg-lime-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(132 204 22 / 1);
  background-color: rgb(132 204 22 / var(--tw-bg-opacity, 1));
}
.bg-lime-700\/10 {
  background-color: rgb(77 124 15 / 0.1);
}
.bg-lime-700\/30 {
  background-color: rgb(77 124 15 / 0.3);
}
.bg-orange-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 237 213 / 1);
  background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
}
.bg-orange-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 146 60 / 1);
  background-color: rgb(251 146 60 / var(--tw-bg-opacity, 1));
}
.bg-orange-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 115 22 / 1);
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
}
.bg-orange-500\/10 {
  background-color: rgb(249 115 22 / 0.1);
}
.bg-orange-500\/20 {
  background-color: rgb(249 115 22 / 0.2);
}
.bg-orange-500\/30 {
  background-color: rgb(249 115 22 / 0.3);
}
.bg-orange-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / 1);
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}
.bg-orange-600\/20 {
  background-color: rgb(234 88 12 / 0.2);
}
.bg-orange-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(194 65 12 / 1);
  background-color: rgb(194 65 12 / var(--tw-bg-opacity, 1));
}
.bg-orange-700\/10 {
  background-color: rgb(194 65 12 / 0.1);
}
.bg-orange-700\/30 {
  background-color: rgb(194 65 12 / 0.3);
}
.bg-pink-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 72 153 / 1);
  background-color: rgb(236 72 153 / var(--tw-bg-opacity, 1));
}
.bg-pink-500\/20 {
  background-color: rgb(236 72 153 / 0.2);
}
.bg-pink-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 39 119 / 1);
  background-color: rgb(219 39 119 / var(--tw-bg-opacity, 1));
}
.bg-pink-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(190 24 93 / 1);
  background-color: rgb(190 24 93 / var(--tw-bg-opacity, 1));
}
.bg-pink-700\/10 {
  background-color: rgb(190 24 93 / 0.1);
}
.bg-pink-700\/30 {
  background-color: rgb(190 24 93 / 0.3);
}
.bg-pink-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(157 23 77 / 1);
  background-color: rgb(157 23 77 / var(--tw-bg-opacity, 1));
}
.bg-primary-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(2 132 199 / 1);
  background-color: rgb(2 132 199 / var(--tw-bg-opacity, 1));
}
.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / 1);
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}
.bg-purple-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(192 132 252 / 1);
  background-color: rgb(192 132 252 / var(--tw-bg-opacity, 1));
}
.bg-purple-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / 1);
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}
.bg-purple-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(168 85 247 / 1);
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
}
.bg-purple-500\/10 {
  background-color: rgb(168 85 247 / 0.1);
}
.bg-purple-500\/20 {
  background-color: rgb(168 85 247 / 0.2);
}
.bg-purple-500\/30 {
  background-color: rgb(168 85 247 / 0.3);
}
.bg-purple-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / 1);
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.bg-purple-600\/10 {
  background-color: rgb(147 51 234 / 0.1);
}
.bg-purple-600\/20 {
  background-color: rgb(147 51 234 / 0.2);
}
.bg-purple-600\/30 {
  background-color: rgb(147 51 234 / 0.3);
}
.bg-purple-600\/80 {
  background-color: rgb(147 51 234 / 0.8);
}
.bg-purple-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(126 34 206 / 1);
  background-color: rgb(126 34 206 / var(--tw-bg-opacity, 1));
}
.bg-purple-700\/10 {
  background-color: rgb(126 34 206 / 0.1);
}
.bg-purple-700\/30 {
  background-color: rgb(126 34 206 / 0.3);
}
.bg-purple-900\/30 {
  background-color: rgb(88 28 135 / 0.3);
}
.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / 1);
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}
.bg-red-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 202 202 / 1);
  background-color: rgb(254 202 202 / var(--tw-bg-opacity, 1));
}
.bg-red-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 113 113 / 1);
  background-color: rgb(248 113 113 / var(--tw-bg-opacity, 1));
}
.bg-red-400\/20 {
  background-color: rgb(248 113 113 / 0.2);
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / 1);
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / 1);
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-red-500\/10 {
  background-color: rgb(239 68 68 / 0.1);
}
.bg-red-500\/20 {
  background-color: rgb(239 68 68 / 0.2);
}
.bg-red-500\/30 {
  background-color: rgb(239 68 68 / 0.3);
}
.bg-red-500\/5 {
  background-color: rgb(239 68 68 / 0.05);
}
.bg-red-500\/50 {
  background-color: rgb(239 68 68 / 0.5);
}
.bg-red-500\/60 {
  background-color: rgb(239 68 68 / 0.6);
}
.bg-red-500\/70 {
  background-color: rgb(239 68 68 / 0.7);
}
.bg-red-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / 1);
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-red-600\/10 {
  background-color: rgb(220 38 38 / 0.1);
}
.bg-red-600\/20 {
  background-color: rgb(220 38 38 / 0.2);
}
.bg-red-600\/30 {
  background-color: rgb(220 38 38 / 0.3);
}
.bg-red-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / 1);
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}
.bg-red-700\/10 {
  background-color: rgb(185 28 28 / 0.1);
}
.bg-red-700\/30 {
  background-color: rgb(185 28 28 / 0.3);
}
.bg-red-900\/20 {
  background-color: rgb(127 29 29 / 0.2);
}
.bg-rose-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(244 63 94 / 1);
  background-color: rgb(244 63 94 / var(--tw-bg-opacity, 1));
}
.bg-rose-500\/20 {
  background-color: rgb(244 63 94 / 0.2);
}
.bg-rose-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(225 29 72 / 1);
  background-color: rgb(225 29 72 / var(--tw-bg-opacity, 1));
}
.bg-sky-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(14 165 233 / 1);
  background-color: rgb(14 165 233 / var(--tw-bg-opacity, 1));
}
.bg-sky-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(2 132 199 / 1);
  background-color: rgb(2 132 199 / var(--tw-bg-opacity, 1));
}
.bg-sky-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(3 105 161 / 1);
  background-color: rgb(3 105 161 / var(--tw-bg-opacity, 1));
}
.bg-slate-700\/30 {
  background-color: rgb(51 65 85 / 0.3);
}
.bg-slate-700\/50 {
  background-color: rgb(51 65 85 / 0.5);
}
.bg-slate-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(30 41 59 / 1);
  background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));
}
.bg-slate-800\/30 {
  background-color: rgb(30 41 59 / 0.3);
}
.bg-slate-800\/50 {
  background-color: rgb(30 41 59 / 0.5);
}
.bg-slate-800\/95 {
  background-color: rgb(30 41 59 / 0.95);
}
.bg-slate-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(15 23 42 / 1);
  background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
}
.bg-slate-900\/95 {
  background-color: rgb(15 23 42 / 0.95);
}
.bg-success-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / 1);
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-teal-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(45 212 191 / 1);
  background-color: rgb(45 212 191 / var(--tw-bg-opacity, 1));
}
.bg-teal-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(20 184 166 / 1);
  background-color: rgb(20 184 166 / var(--tw-bg-opacity, 1));
}
.bg-teal-500\/20 {
  background-color: rgb(20 184 166 / 0.2);
}
.bg-teal-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(13 148 136 / 1);
  background-color: rgb(13 148 136 / var(--tw-bg-opacity, 1));
}
.bg-teal-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(15 118 110 / 1);
  background-color: rgb(15 118 110 / var(--tw-bg-opacity, 1));
}
.bg-teal-700\/10 {
  background-color: rgb(15 118 110 / 0.1);
}
.bg-teal-700\/30 {
  background-color: rgb(15 118 110 / 0.3);
}
.bg-teal-800\/20 {
  background-color: rgb(17 94 89 / 0.2);
}
.bg-teal-900\/10 {
  background-color: rgb(19 78 74 / 0.1);
}
.bg-teal-900\/30 {
  background-color: rgb(19 78 74 / 0.3);
}
.bg-transparent {
  background-color: transparent;
}
.bg-violet-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(139 92 246 / 1);
  background-color: rgb(139 92 246 / var(--tw-bg-opacity, 1));
}
.bg-violet-500\/20 {
  background-color: rgb(139 92 246 / 0.2);
}
.bg-violet-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(124 58 237 / 1);
  background-color: rgb(124 58 237 / var(--tw-bg-opacity, 1));
}
.bg-violet-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(109 40 217 / 1);
  background-color: rgb(109 40 217 / var(--tw-bg-opacity, 1));
}
.bg-violet-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(91 33 182 / 1);
  background-color: rgb(91 33 182 / var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / 1);
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-white\/0 {
  background-color: rgb(255 255 255 / 0);
}
.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}
.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}
.bg-white\/30 {
  background-color: rgb(255 255 255 / 0.3);
}
.bg-white\/40 {
  background-color: rgb(255 255 255 / 0.4);
}
.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}
.bg-white\/80 {
  background-color: rgb(255 255 255 / 0.8);
}
.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}
.bg-white\/95 {
  background-color: rgb(255 255 255 / 0.95);
}
.bg-white\/\[0\.02\] {
  background-color: rgb(255 255 255 / 0.02);
}
.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / 1);
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}
.bg-yellow-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 204 21 / 1);
  background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
}
.bg-yellow-400\/20 {
  background-color: rgb(250 204 21 / 0.2);
}
.bg-yellow-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / 1);
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 179 8 / 1);
  background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500\/10 {
  background-color: rgb(234 179 8 / 0.1);
}
.bg-yellow-500\/20 {
  background-color: rgb(234 179 8 / 0.2);
}
.bg-yellow-500\/30 {
  background-color: rgb(234 179 8 / 0.3);
}
.bg-yellow-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(202 138 4 / 1);
  background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1));
}
.bg-yellow-600\/20 {
  background-color: rgb(202 138 4 / 0.2);
}
.bg-yellow-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(161 98 7 / 1);
  background-color: rgb(161 98 7 / var(--tw-bg-opacity, 1));
}
.bg-yellow-700\/10 {
  background-color: rgb(161 98 7 / 0.1);
}
.bg-yellow-700\/30 {
  background-color: rgb(161 98 7 / 0.3);
}
.bg-yellow-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(133 77 14 / 1);
  background-color: rgb(133 77 14 / var(--tw-bg-opacity, 1));
}
.bg-yellow-900\/20 {
  background-color: rgb(113 63 18 / 0.2);
}
.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-amber-400 {
  --tw-gradient-from: #fbbf24 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(251 191 36 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-500 {
  --tw-gradient-from: #f59e0b var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(245 158 11 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-500\/20 {
  --tw-gradient-from: rgb(245 158 11 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(245 158 11 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-500\/30 {
  --tw-gradient-from: rgb(245 158 11 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(245 158 11 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-600 {
  --tw-gradient-from: #d97706 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-600\/20 {
  --tw-gradient-from: rgb(217 119 6 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-amber-600\/30 {
  --tw-gradient-from: rgb(217 119 6 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-400 {
  --tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-500 {
  --tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-500\/10 {
  --tw-gradient-from: rgb(59 130 246 / 0.1) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-500\/20 {
  --tw-gradient-from: rgb(59 130 246 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600 {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600\/20 {
  --tw-gradient-from: rgb(37 99 235 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600\/30 {
  --tw-gradient-from: rgb(37 99 235 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-cyan-500 {
  --tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-cyan-600 {
  --tw-gradient-from: #0891b2 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-cyan-600\/20 {
  --tw-gradient-from: rgb(8 145 178 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-cyan-600\/30 {
  --tw-gradient-from: rgb(8 145 178 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-400 {
  --tw-gradient-from: #34d399 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(52 211 153 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-500 {
  --tw-gradient-from: #10b981 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-500\/10 {
  --tw-gradient-from: rgb(16 185 129 / 0.1) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-500\/20 {
  --tw-gradient-from: rgb(16 185 129 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(16 185 129 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-600 {
  --tw-gradient-from: #059669 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(5 150 105 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-600\/20 {
  --tw-gradient-from: rgb(5 150 105 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(5 150 105 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-emerald-600\/30 {
  --tw-gradient-from: rgb(5 150 105 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(5 150 105 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-50 {
  --tw-gradient-from: #f9fafb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-500 {
  --tw-gradient-from: #6b7280 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(107 114 128 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-600 {
  --tw-gradient-from: #4b5563 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(75 85 99 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-600\/20 {
  --tw-gradient-from: rgb(75 85 99 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(75 85 99 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-600\/50 {
  --tw-gradient-from: rgb(75 85 99 / 0.5) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(75 85 99 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-900 {
  --tw-gradient-from: #111827 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-950 {
  --tw-gradient-from: #030712 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(3 7 18 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-400 {
  --tw-gradient-from: #4ade80 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(74 222 128 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-500 {
  --tw-gradient-from: #22c55e var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-500\/10 {
  --tw-gradient-from: rgb(34 197 94 / 0.1) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-500\/20 {
  --tw-gradient-from: rgb(34 197 94 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-500\/30 {
  --tw-gradient-from: rgb(34 197 94 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-600 {
  --tw-gradient-from: #16a34a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-600\/20 {
  --tw-gradient-from: rgb(22 163 74 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-600\/30 {
  --tw-gradient-from: rgb(22 163 74 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-400 {
  --tw-gradient-from: #818cf8 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(129 140 248 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-500 {
  --tw-gradient-from: #6366f1 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-500\/20 {
  --tw-gradient-from: rgb(99 102 241 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-600 {
  --tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-600\/20 {
  --tw-gradient-from: rgb(79 70 229 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-600\/30 {
  --tw-gradient-from: rgb(79 70 229 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-400 {
  --tw-gradient-from: #fb923c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(251 146 60 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-500 {
  --tw-gradient-from: #f97316 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 115 22 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-500\/20 {
  --tw-gradient-from: rgb(249 115 22 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 115 22 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-600 {
  --tw-gradient-from: #ea580c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 88 12 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-600\/20 {
  --tw-gradient-from: rgb(234 88 12 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 88 12 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-600\/30 {
  --tw-gradient-from: rgb(234 88 12 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 88 12 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-pink-500 {
  --tw-gradient-from: #ec4899 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-pink-600 {
  --tw-gradient-from: #db2777 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(219 39 119 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-400 {
  --tw-gradient-from: #c084fc var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(192 132 252 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-500 {
  --tw-gradient-from: #a855f7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-500\/20 {
  --tw-gradient-from: rgb(168 85 247 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-600 {
  --tw-gradient-from: #9333ea var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-600\/20 {
  --tw-gradient-from: rgb(147 51 234 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-600\/30 {
  --tw-gradient-from: rgb(147 51 234 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-400 {
  --tw-gradient-from: #f87171 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(248 113 113 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-500 {
  --tw-gradient-from: #ef4444 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-500\/20 {
  --tw-gradient-from: rgb(239 68 68 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-500\/30 {
  --tw-gradient-from: rgb(239 68 68 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-600 {
  --tw-gradient-from: #dc2626 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(220 38 38 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-600\/20 {
  --tw-gradient-from: rgb(220 38 38 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(220 38 38 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-600\/30 {
  --tw-gradient-from: rgb(220 38 38 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(220 38 38 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-700\/30 {
  --tw-gradient-from: rgb(185 28 28 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(185 28 28 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-rose-500 {
  --tw-gradient-from: #f43f5e var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(244 63 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-rose-600 {
  --tw-gradient-from: #e11d48 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(225 29 72 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-rose-600\/30 {
  --tw-gradient-from: rgb(225 29 72 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(225 29 72 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-sky-500 {
  --tw-gradient-from: #0ea5e9 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(14 165 233 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-slate-500 {
  --tw-gradient-from: #64748b var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(100 116 139 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-slate-700 {
  --tw-gradient-from: #334155 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(51 65 85 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-slate-800\/80 {
  --tw-gradient-from: rgb(30 41 59 / 0.8) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(30 41 59 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-slate-900 {
  --tw-gradient-from: #0f172a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-teal-500 {
  --tw-gradient-from: #14b8a6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(20 184 166 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-teal-600 {
  --tw-gradient-from: #0d9488 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(13 148 136 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-teal-600\/20 {
  --tw-gradient-from: rgb(13 148 136 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(13 148 136 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-teal-600\/30 {
  --tw-gradient-from: rgb(13 148 136 / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(13 148 136 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-transparent {
  --tw-gradient-from: transparent var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-violet-500 {
  --tw-gradient-from: #8b5cf6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(139 92 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-violet-600 {
  --tw-gradient-from: #7c3aed var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(124 58 237 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-white {
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-white\/20 {
  --tw-gradient-from: rgb(255 255 255 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-400 {
  --tw-gradient-from: #facc15 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(250 204 21 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-500 {
  --tw-gradient-from: #eab308 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-500\/20 {
  --tw-gradient-from: rgb(234 179 8 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-600 {
  --tw-gradient-from: #ca8a04 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(202 138 4 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-600\/20 {
  --tw-gradient-from: rgb(202 138 4 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(202 138 4 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-amber-500 {
  --tw-gradient-to: rgb(245 158 11 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #f59e0b var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-amber-600 {
  --tw-gradient-to: rgb(217 119 6 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #d97706 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-amber-600\/20 {
  --tw-gradient-to: rgb(217 119 6 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(217 119 6 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-amber-600\/30 {
  --tw-gradient-to: rgb(217 119 6 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(217 119 6 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-black {
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #000 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-blue-500 {
  --tw-gradient-to: rgb(59 130 246 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #3b82f6 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-blue-500\/30 {
  --tw-gradient-to: rgb(59 130 246 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(59 130 246 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-blue-600\/30 {
  --tw-gradient-to: rgb(37 99 235 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(37 99 235 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-blue-800 {
  --tw-gradient-to: rgb(30 64 175 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #1e40af var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-blue-900 {
  --tw-gradient-to: rgb(30 58 138 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #1e3a8a var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-cyan-600\/20 {
  --tw-gradient-to: rgb(8 145 178 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(8 145 178 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-cyan-600\/30 {
  --tw-gradient-to: rgb(8 145 178 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(8 145 178 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-emerald-500 {
  --tw-gradient-to: rgb(16 185 129 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #10b981 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-emerald-600 {
  --tw-gradient-to: rgb(5 150 105 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #059669 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-emerald-600\/20 {
  --tw-gradient-to: rgb(5 150 105 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(5 150 105 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-emerald-600\/30 {
  --tw-gradient-to: rgb(5 150 105 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(5 150 105 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-emerald-900 {
  --tw-gradient-to: rgb(6 78 59 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #064e3b var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-gray-100 {
  --tw-gradient-to: rgb(243 244 246 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #f3f4f6 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-gray-400\/50 {
  --tw-gradient-to: rgb(156 163 175 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(156 163 175 / 0.5) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-gray-500\/20 {
  --tw-gradient-to: rgb(107 114 128 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(107 114 128 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-green-500 {
  --tw-gradient-to: rgb(34 197 94 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #22c55e var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-green-600 {
  --tw-gradient-to: rgb(22 163 74 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #16a34a var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-green-600\/20 {
  --tw-gradient-to: rgb(22 163 74 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(22 163 74 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-green-600\/30 {
  --tw-gradient-to: rgb(22 163 74 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(22 163 74 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-indigo-500 {
  --tw-gradient-to: rgb(99 102 241 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #6366f1 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-indigo-600 {
  --tw-gradient-to: rgb(79 70 229 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #4f46e5 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-indigo-600\/20 {
  --tw-gradient-to: rgb(79 70 229 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(79 70 229 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-indigo-600\/30 {
  --tw-gradient-to: rgb(79 70 229 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(79 70 229 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-orange-500 {
  --tw-gradient-to: rgb(249 115 22 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #f97316 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-orange-600 {
  --tw-gradient-to: rgb(234 88 12 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #ea580c var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-orange-600\/20 {
  --tw-gradient-to: rgb(234 88 12 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(234 88 12 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-orange-600\/30 {
  --tw-gradient-to: rgb(234 88 12 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(234 88 12 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-orange-900 {
  --tw-gradient-to: rgb(124 45 18 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #7c2d12 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-pink-600\/30 {
  --tw-gradient-to: rgb(219 39 119 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(219 39 119 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-500 {
  --tw-gradient-to: rgb(168 85 247 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-600 {
  --tw-gradient-to: rgb(147 51 234 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-600\/20 {
  --tw-gradient-to: rgb(147 51 234 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(147 51 234 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-600\/30 {
  --tw-gradient-to: rgb(147 51 234 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(147 51 234 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-900 {
  --tw-gradient-to: rgb(88 28 135 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #581c87 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-red-600\/30 {
  --tw-gradient-to: rgb(220 38 38 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(220 38 38 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-red-900 {
  --tw-gradient-to: rgb(127 29 29 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #7f1d1d var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-rose-600\/30 {
  --tw-gradient-to: rgb(225 29 72 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(225 29 72 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-teal-500 {
  --tw-gradient-to: rgb(20 184 166 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #14b8a6 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-teal-600 {
  --tw-gradient-to: rgb(13 148 136 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #0d9488 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-teal-600\/20 {
  --tw-gradient-to: rgb(13 148 136 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(13 148 136 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-teal-600\/30 {
  --tw-gradient-to: rgb(13 148 136 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(13 148 136 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-violet-500 {
  --tw-gradient-to: rgb(139 92 246 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #8b5cf6 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-violet-600 {
  --tw-gradient-to: rgb(124 58 237 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #7c3aed var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-violet-600\/20 {
  --tw-gradient-to: rgb(124 58 237 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(124 58 237 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-violet-600\/30 {
  --tw-gradient-to: rgb(124 58 237 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(124 58 237 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-white\/20 {
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(255 255 255 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-amber-500 {
  --tw-gradient-to: #f59e0b var(--tw-gradient-to-position);
}
.to-amber-600 {
  --tw-gradient-to: #d97706 var(--tw-gradient-to-position);
}
.to-amber-600\/20 {
  --tw-gradient-to: rgb(217 119 6 / 0.2) var(--tw-gradient-to-position);
}
.to-amber-600\/30 {
  --tw-gradient-to: rgb(217 119 6 / 0.3) var(--tw-gradient-to-position);
}
.to-amber-700 {
  --tw-gradient-to: #b45309 var(--tw-gradient-to-position);
}
.to-amber-700\/20 {
  --tw-gradient-to: rgb(180 83 9 / 0.2) var(--tw-gradient-to-position);
}
.to-blue-100 {
  --tw-gradient-to: #dbeafe var(--tw-gradient-to-position);
}
.to-blue-400 {
  --tw-gradient-to: #60a5fa var(--tw-gradient-to-position);
}
.to-blue-500 {
  --tw-gradient-to: #3b82f6 var(--tw-gradient-to-position);
}
.to-blue-500\/20 {
  --tw-gradient-to: rgb(59 130 246 / 0.2) var(--tw-gradient-to-position);
}
.to-blue-600 {
  --tw-gradient-to: #2563eb var(--tw-gradient-to-position);
}
.to-blue-600\/20 {
  --tw-gradient-to: rgb(37 99 235 / 0.2) var(--tw-gradient-to-position);
}
.to-blue-600\/30 {
  --tw-gradient-to: rgb(37 99 235 / 0.3) var(--tw-gradient-to-position);
}
.to-blue-700 {
  --tw-gradient-to: #1d4ed8 var(--tw-gradient-to-position);
}
.to-blue-700\/20 {
  --tw-gradient-to: rgb(29 78 216 / 0.2) var(--tw-gradient-to-position);
}
.to-cyan-500 {
  --tw-gradient-to: #06b6d4 var(--tw-gradient-to-position);
}
.to-cyan-500\/20 {
  --tw-gradient-to: rgb(6 182 212 / 0.2) var(--tw-gradient-to-position);
}
.to-cyan-600 {
  --tw-gradient-to: #0891b2 var(--tw-gradient-to-position);
}
.to-cyan-600\/20 {
  --tw-gradient-to: rgb(8 145 178 / 0.2) var(--tw-gradient-to-position);
}
.to-cyan-600\/30 {
  --tw-gradient-to: rgb(8 145 178 / 0.3) var(--tw-gradient-to-position);
}
.to-emerald-500 {
  --tw-gradient-to: #10b981 var(--tw-gradient-to-position);
}
.to-emerald-500\/10 {
  --tw-gradient-to: rgb(16 185 129 / 0.1) var(--tw-gradient-to-position);
}
.to-emerald-500\/20 {
  --tw-gradient-to: rgb(16 185 129 / 0.2) var(--tw-gradient-to-position);
}
.to-emerald-600 {
  --tw-gradient-to: #059669 var(--tw-gradient-to-position);
}
.to-emerald-600\/20 {
  --tw-gradient-to: rgb(5 150 105 / 0.2) var(--tw-gradient-to-position);
}
.to-gray-200 {
  --tw-gradient-to: #e5e7eb var(--tw-gradient-to-position);
}
.to-gray-300 {
  --tw-gradient-to: #d1d5db var(--tw-gradient-to-position);
}
.to-gray-600 {
  --tw-gradient-to: #4b5563 var(--tw-gradient-to-position);
}
.to-gray-600\/20 {
  --tw-gradient-to: rgb(75 85 99 / 0.2) var(--tw-gradient-to-position);
}
.to-gray-600\/50 {
  --tw-gradient-to: rgb(75 85 99 / 0.5) var(--tw-gradient-to-position);
}
.to-gray-700 {
  --tw-gradient-to: #374151 var(--tw-gradient-to-position);
}
.to-gray-800 {
  --tw-gradient-to: #1f2937 var(--tw-gradient-to-position);
}
.to-gray-900 {
  --tw-gradient-to: #111827 var(--tw-gradient-to-position);
}
.to-gray-950 {
  --tw-gradient-to: #030712 var(--tw-gradient-to-position);
}
.to-green-400 {
  --tw-gradient-to: #4ade80 var(--tw-gradient-to-position);
}
.to-green-500 {
  --tw-gradient-to: #22c55e var(--tw-gradient-to-position);
}
.to-green-500\/10 {
  --tw-gradient-to: rgb(34 197 94 / 0.1) var(--tw-gradient-to-position);
}
.to-green-500\/20 {
  --tw-gradient-to: rgb(34 197 94 / 0.2) var(--tw-gradient-to-position);
}
.to-green-600 {
  --tw-gradient-to: #16a34a var(--tw-gradient-to-position);
}
.to-green-600\/20 {
  --tw-gradient-to: rgb(22 163 74 / 0.2) var(--tw-gradient-to-position);
}
.to-green-600\/30 {
  --tw-gradient-to: rgb(22 163 74 / 0.3) var(--tw-gradient-to-position);
}
.to-green-700 {
  --tw-gradient-to: #15803d var(--tw-gradient-to-position);
}
.to-green-700\/20 {
  --tw-gradient-to: rgb(21 128 61 / 0.2) var(--tw-gradient-to-position);
}
.to-indigo-500 {
  --tw-gradient-to: #6366f1 var(--tw-gradient-to-position);
}
.to-indigo-600 {
  --tw-gradient-to: #4f46e5 var(--tw-gradient-to-position);
}
.to-indigo-600\/20 {
  --tw-gradient-to: rgb(79 70 229 / 0.2) var(--tw-gradient-to-position);
}
.to-indigo-600\/30 {
  --tw-gradient-to: rgb(79 70 229 / 0.3) var(--tw-gradient-to-position);
}
.to-orange-400 {
  --tw-gradient-to: #fb923c var(--tw-gradient-to-position);
}
.to-orange-500 {
  --tw-gradient-to: #f97316 var(--tw-gradient-to-position);
}
.to-orange-500\/20 {
  --tw-gradient-to: rgb(249 115 22 / 0.2) var(--tw-gradient-to-position);
}
.to-orange-600 {
  --tw-gradient-to: #ea580c var(--tw-gradient-to-position);
}
.to-orange-600\/20 {
  --tw-gradient-to: rgb(234 88 12 / 0.2) var(--tw-gradient-to-position);
}
.to-pink-500 {
  --tw-gradient-to: #ec4899 var(--tw-gradient-to-position);
}
.to-pink-500\/20 {
  --tw-gradient-to: rgb(236 72 153 / 0.2) var(--tw-gradient-to-position);
}
.to-pink-600 {
  --tw-gradient-to: #db2777 var(--tw-gradient-to-position);
}
.to-pink-600\/20 {
  --tw-gradient-to: rgb(219 39 119 / 0.2) var(--tw-gradient-to-position);
}
.to-pink-600\/30 {
  --tw-gradient-to: rgb(219 39 119 / 0.3) var(--tw-gradient-to-position);
}
.to-purple-400 {
  --tw-gradient-to: #c084fc var(--tw-gradient-to-position);
}
.to-purple-500 {
  --tw-gradient-to: #a855f7 var(--tw-gradient-to-position);
}
.to-purple-500\/10 {
  --tw-gradient-to: rgb(168 85 247 / 0.1) var(--tw-gradient-to-position);
}
.to-purple-500\/20 {
  --tw-gradient-to: rgb(168 85 247 / 0.2) var(--tw-gradient-to-position);
}
.to-purple-600 {
  --tw-gradient-to: #9333ea var(--tw-gradient-to-position);
}
.to-purple-600\/20 {
  --tw-gradient-to: rgb(147 51 234 / 0.2) var(--tw-gradient-to-position);
}
.to-purple-600\/30 {
  --tw-gradient-to: rgb(147 51 234 / 0.3) var(--tw-gradient-to-position);
}
.to-purple-700 {
  --tw-gradient-to: #7e22ce var(--tw-gradient-to-position);
}
.to-purple-700\/20 {
  --tw-gradient-to: rgb(126 34 206 / 0.2) var(--tw-gradient-to-position);
}
.to-red-500 {
  --tw-gradient-to: #ef4444 var(--tw-gradient-to-position);
}
.to-red-500\/20 {
  --tw-gradient-to: rgb(239 68 68 / 0.2) var(--tw-gradient-to-position);
}
.to-red-500\/30 {
  --tw-gradient-to: rgb(239 68 68 / 0.3) var(--tw-gradient-to-position);
}
.to-red-600 {
  --tw-gradient-to: #dc2626 var(--tw-gradient-to-position);
}
.to-red-600\/20 {
  --tw-gradient-to: rgb(220 38 38 / 0.2) var(--tw-gradient-to-position);
}
.to-red-600\/30 {
  --tw-gradient-to: rgb(220 38 38 / 0.3) var(--tw-gradient-to-position);
}
.to-red-700 {
  --tw-gradient-to: #b91c1c var(--tw-gradient-to-position);
}
.to-red-700\/20 {
  --tw-gradient-to: rgb(185 28 28 / 0.2) var(--tw-gradient-to-position);
}
.to-red-700\/30 {
  --tw-gradient-to: rgb(185 28 28 / 0.3) var(--tw-gradient-to-position);
}
.to-rose-500 {
  --tw-gradient-to: #f43f5e var(--tw-gradient-to-position);
}
.to-rose-600 {
  --tw-gradient-to: #e11d48 var(--tw-gradient-to-position);
}
.to-rose-600\/30 {
  --tw-gradient-to: rgb(225 29 72 / 0.3) var(--tw-gradient-to-position);
}
.to-sky-600 {
  --tw-gradient-to: #0284c7 var(--tw-gradient-to-position);
}
.to-slate-600 {
  --tw-gradient-to: #475569 var(--tw-gradient-to-position);
}
.to-slate-700 {
  --tw-gradient-to: #334155 var(--tw-gradient-to-position);
}
.to-slate-700\/50 {
  --tw-gradient-to: rgb(51 65 85 / 0.5) var(--tw-gradient-to-position);
}
.to-slate-900 {
  --tw-gradient-to: #0f172a var(--tw-gradient-to-position);
}
.to-teal-500 {
  --tw-gradient-to: #14b8a6 var(--tw-gradient-to-position);
}
.to-teal-600 {
  --tw-gradient-to: #0d9488 var(--tw-gradient-to-position);
}
.to-teal-600\/20 {
  --tw-gradient-to: rgb(13 148 136 / 0.2) var(--tw-gradient-to-position);
}
.to-teal-600\/30 {
  --tw-gradient-to: rgb(13 148 136 / 0.3) var(--tw-gradient-to-position);
}
.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.to-violet-600 {
  --tw-gradient-to: #7c3aed var(--tw-gradient-to-position);
}
.to-violet-700 {
  --tw-gradient-to: #6d28d9 var(--tw-gradient-to-position);
}
.to-white {
  --tw-gradient-to: #fff var(--tw-gradient-to-position);
}
.to-white\/5 {
  --tw-gradient-to: rgb(255 255 255 / 0.05) var(--tw-gradient-to-position);
}
.to-yellow-500 {
  --tw-gradient-to: #eab308 var(--tw-gradient-to-position);
}
.to-yellow-600 {
  --tw-gradient-to: #ca8a04 var(--tw-gradient-to-position);
}
.to-yellow-600\/20 {
  --tw-gradient-to: rgb(202 138 4 / 0.2) var(--tw-gradient-to-position);
}
.to-yellow-600\/30 {
  --tw-gradient-to: rgb(202 138 4 / 0.3) var(--tw-gradient-to-position);
}
.to-yellow-700\/20 {
  --tw-gradient-to: rgb(161 98 7 / 0.2) var(--tw-gradient-to-position);
}
.bg-clip-text {
  -webkit-background-clip: text;
          background-clip: text;
}
.object-contain {
  object-fit: contain;
}
.object-cover {
  object-fit: cover;
}
.p-0 {
  padding: 0px;
}
.p-0\.5 {
  padding: 0.125rem;
}
.p-1 {
  padding: 0.25rem;
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-12 {
  padding: 3rem;
}
.p-16 {
  padding: 4rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-2\.5 {
  padding: 0.625rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.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;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pl-10 {
  padding-left: 2.5rem;
}
.pl-11 {
  padding-left: 2.75rem;
}
.pl-12 {
  padding-left: 3rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-3 {
  padding-left: 0.75rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.pl-6 {
  padding-left: 1.5rem;
}
.pl-8 {
  padding-left: 2rem;
}
.pr-10 {
  padding-right: 2.5rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-3 {
  padding-right: 0.75rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pr-8 {
  padding-right: 2rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.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;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.leading-5 {
  line-height: 1.25rem;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.text-amber-200 {
  --tw-text-opacity: 1;
  color: rgb(253 230 138 / 1);
  color: rgb(253 230 138 / var(--tw-text-opacity, 1));
}
.text-amber-300 {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / 1);
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}
.text-amber-400 {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / 1);
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / 1);
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / 1);
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}
.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / 1);
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}
.text-blue-100 {
  --tw-text-opacity: 1;
  color: rgb(219 234 254 / 1);
  color: rgb(219 234 254 / var(--tw-text-opacity, 1));
}
.text-blue-200 {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / 1);
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}
.text-blue-300 {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / 1);
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.text-blue-300\/80 {
  color: rgb(147 197 253 / 0.8);
}
.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / 1);
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / 1);
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.text-blue-500\/0 {
  color: rgb(59 130 246 / 0);
}
.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / 1);
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}
.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / 1);
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}
.text-blue-800 {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / 1);
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}
.text-current {
  color: currentColor;
}
.text-cyan-300 {
  --tw-text-opacity: 1;
  color: rgb(103 232 249 / 1);
  color: rgb(103 232 249 / var(--tw-text-opacity, 1));
}
.text-cyan-400 {
  --tw-text-opacity: 1;
  color: rgb(34 211 238 / 1);
  color: rgb(34 211 238 / var(--tw-text-opacity, 1));
}
.text-cyan-500 {
  --tw-text-opacity: 1;
  color: rgb(6 182 212 / 1);
  color: rgb(6 182 212 / var(--tw-text-opacity, 1));
}
.text-danger-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / 1);
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-emerald-200 {
  --tw-text-opacity: 1;
  color: rgb(167 243 208 / 1);
  color: rgb(167 243 208 / var(--tw-text-opacity, 1));
}
.text-emerald-300 {
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / 1);
  color: rgb(110 231 183 / var(--tw-text-opacity, 1));
}
.text-emerald-400 {
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / 1);
  color: rgb(52 211 153 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / 1);
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / 1);
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / 1);
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / 1);
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / 1);
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / 1);
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / 1);
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-200 {
  --tw-text-opacity: 1;
  color: rgb(187 247 208 / 1);
  color: rgb(187 247 208 / var(--tw-text-opacity, 1));
}
.text-green-300 {
  --tw-text-opacity: 1;
  color: rgb(134 239 172 / 1);
  color: rgb(134 239 172 / var(--tw-text-opacity, 1));
}
.text-green-300\/80 {
  color: rgb(134 239 172 / 0.8);
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / 1);
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / 1);
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}
.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / 1);
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-green-700 {
  --tw-text-opacity: 1;
  color: rgb(21 128 61 / 1);
  color: rgb(21 128 61 / var(--tw-text-opacity, 1));
}
.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / 1);
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}
.text-indigo-200\/80 {
  color: rgb(199 210 254 / 0.8);
}
.text-indigo-300 {
  --tw-text-opacity: 1;
  color: rgb(165 180 252 / 1);
  color: rgb(165 180 252 / var(--tw-text-opacity, 1));
}
.text-indigo-400 {
  --tw-text-opacity: 1;
  color: rgb(129 140 248 / 1);
  color: rgb(129 140 248 / var(--tw-text-opacity, 1));
}
.text-orange-300 {
  --tw-text-opacity: 1;
  color: rgb(253 186 116 / 1);
  color: rgb(253 186 116 / var(--tw-text-opacity, 1));
}
.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / 1);
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}
.text-orange-500 {
  --tw-text-opacity: 1;
  color: rgb(249 115 22 / 1);
  color: rgb(249 115 22 / var(--tw-text-opacity, 1));
}
.text-orange-800 {
  --tw-text-opacity: 1;
  color: rgb(154 52 18 / 1);
  color: rgb(154 52 18 / var(--tw-text-opacity, 1));
}
.text-pink-300 {
  --tw-text-opacity: 1;
  color: rgb(249 168 212 / 1);
  color: rgb(249 168 212 / var(--tw-text-opacity, 1));
}
.text-pink-400 {
  --tw-text-opacity: 1;
  color: rgb(244 114 182 / 1);
  color: rgb(244 114 182 / var(--tw-text-opacity, 1));
}
.text-primary-400 {
  --tw-text-opacity: 1;
  color: rgb(56 189 248 / 1);
  color: rgb(56 189 248 / var(--tw-text-opacity, 1));
}
.text-primary-600 {
  --tw-text-opacity: 1;
  color: rgb(2 132 199 / 1);
  color: rgb(2 132 199 / var(--tw-text-opacity, 1));
}
.text-purple-200 {
  --tw-text-opacity: 1;
  color: rgb(233 213 255 / 1);
  color: rgb(233 213 255 / var(--tw-text-opacity, 1));
}
.text-purple-300 {
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / 1);
  color: rgb(216 180 254 / var(--tw-text-opacity, 1));
}
.text-purple-300\/70 {
  color: rgb(216 180 254 / 0.7);
}
.text-purple-400 {
  --tw-text-opacity: 1;
  color: rgb(192 132 252 / 1);
  color: rgb(192 132 252 / var(--tw-text-opacity, 1));
}
.text-purple-500 {
  --tw-text-opacity: 1;
  color: rgb(168 85 247 / 1);
  color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}
.text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / 1);
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}
.text-purple-700 {
  --tw-text-opacity: 1;
  color: rgb(126 34 206 / 1);
  color: rgb(126 34 206 / var(--tw-text-opacity, 1));
}
.text-purple-800 {
  --tw-text-opacity: 1;
  color: rgb(107 33 168 / 1);
  color: rgb(107 33 168 / var(--tw-text-opacity, 1));
}
.text-red-200 {
  --tw-text-opacity: 1;
  color: rgb(254 202 202 / 1);
  color: rgb(254 202 202 / var(--tw-text-opacity, 1));
}
.text-red-200\/70 {
  color: rgb(254 202 202 / 0.7);
}
.text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / 1);
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / 1);
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-red-400\/60 {
  color: rgb(248 113 113 / 0.6);
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / 1);
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / 1);
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / 1);
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / 1);
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}
.text-rose-400 {
  --tw-text-opacity: 1;
  color: rgb(251 113 133 / 1);
  color: rgb(251 113 133 / var(--tw-text-opacity, 1));
}
.text-rose-500 {
  --tw-text-opacity: 1;
  color: rgb(244 63 94 / 1);
  color: rgb(244 63 94 / var(--tw-text-opacity, 1));
}
.text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / 1);
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}
.text-teal-300 {
  --tw-text-opacity: 1;
  color: rgb(94 234 212 / 1);
  color: rgb(94 234 212 / var(--tw-text-opacity, 1));
}
.text-teal-300\/80 {
  color: rgb(94 234 212 / 0.8);
}
.text-teal-400 {
  --tw-text-opacity: 1;
  color: rgb(45 212 191 / 1);
  color: rgb(45 212 191 / var(--tw-text-opacity, 1));
}
.text-teal-600 {
  --tw-text-opacity: 1;
  color: rgb(13 148 136 / 1);
  color: rgb(13 148 136 / var(--tw-text-opacity, 1));
}
.text-transparent {
  color: transparent;
}
.text-violet-300 {
  --tw-text-opacity: 1;
  color: rgb(196 181 253 / 1);
  color: rgb(196 181 253 / var(--tw-text-opacity, 1));
}
.text-violet-400 {
  --tw-text-opacity: 1;
  color: rgb(167 139 250 / 1);
  color: rgb(167 139 250 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-white\/20 {
  color: rgb(255 255 255 / 0.2);
}
.text-white\/30 {
  color: rgb(255 255 255 / 0.3);
}
.text-white\/40 {
  color: rgb(255 255 255 / 0.4);
}
.text-white\/50 {
  color: rgb(255 255 255 / 0.5);
}
.text-white\/60 {
  color: rgb(255 255 255 / 0.6);
}
.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}
.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}
.text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}
.text-yellow-200 {
  --tw-text-opacity: 1;
  color: rgb(254 240 138 / 1);
  color: rgb(254 240 138 / var(--tw-text-opacity, 1));
}
.text-yellow-300 {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / 1);
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / 1);
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / 1);
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}
.text-yellow-600 {
  --tw-text-opacity: 1;
  color: rgb(202 138 4 / 1);
  color: rgb(202 138 4 / var(--tw-text-opacity, 1));
}
.text-yellow-700 {
  --tw-text-opacity: 1;
  color: rgb(161 98 7 / 1);
  color: rgb(161 98 7 / var(--tw-text-opacity, 1));
}
.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / 1);
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}
.underline {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}
.placeholder-gray-400::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / 1);
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}
.placeholder-white\/40::placeholder {
  color: rgb(255 255 255 / 0.4);
}
.placeholder-white\/50::placeholder {
  color: rgb(255 255 255 / 0.5);
}
.placeholder-white\/60::placeholder {
  color: rgb(255 255 255 / 0.6);
}
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.opacity-20 {
  opacity: 0.2;
}
.opacity-25 {
  opacity: 0.25;
}
.opacity-30 {
  opacity: 0.3;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-75 {
  opacity: 0.75;
}
.opacity-90 {
  opacity: 0.9;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-inner {
  --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.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: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  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: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-amber-500\/20 {
  --tw-shadow-color: rgb(245 158 11 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-amber-500\/25 {
  --tw-shadow-color: rgb(245 158 11 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-black\/20 {
  --tw-shadow-color: rgb(0 0 0 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-blue-500\/20 {
  --tw-shadow-color: rgb(59 130 246 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-blue-500\/25 {
  --tw-shadow-color: rgb(59 130 246 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-emerald-500\/25 {
  --tw-shadow-color: rgb(16 185 129 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-gray-500\/20 {
  --tw-shadow-color: rgb(107 114 128 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-gray-500\/25 {
  --tw-shadow-color: rgb(107 114 128 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-green-500\/20 {
  --tw-shadow-color: rgb(34 197 94 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-green-500\/25 {
  --tw-shadow-color: rgb(34 197 94 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-indigo-500\/25 {
  --tw-shadow-color: rgb(99 102 241 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-orange-500\/25 {
  --tw-shadow-color: rgb(249 115 22 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-purple-500\/25 {
  --tw-shadow-color: rgb(168 85 247 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-red-500\/20 {
  --tw-shadow-color: rgb(239 68 68 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-red-500\/25 {
  --tw-shadow-color: rgb(239 68 68 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-white\/30 {
  --tw-shadow-color: rgb(255 255 255 / 0.3);
  --tw-shadow: var(--tw-shadow-colored);
}
.outline {
  outline-style: solid;
}
.ring-2 {
  --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), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-amber-500\/50 {
  --tw-ring-color: rgb(245 158 11 / 0.5);
}
.ring-blue-500 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}
.ring-red-500\/50 {
  --tw-ring-color: rgb(239 68 68 / 0.5);
}
.ring-white {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1));
}
.ring-white\/30 {
  --tw-ring-color: rgb(255 255 255 / 0.3);
}
.ring-white\/60 {
  --tw-ring-color: rgb(255 255 255 / 0.6);
}
.ring-offset-1 {
  --tw-ring-offset-width: 1px;
}
.ring-offset-blue-400 {
  --tw-ring-offset-color: #60a5fa;
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.blur-0 {
  --tw-blur: blur(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.blur-lg {
  --tw-blur: blur(16px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.blur-sm {
  --tw-blur: blur(4px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.blur-xl {
  --tw-blur: blur(24px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.drop-shadow-\[0_0_12px_rgba\(250\2c 204\2c 21\2c 0\.8\)\] {
  --tw-drop-shadow: drop-shadow(0 0 12px rgba(250,204,21,0.8));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.drop-shadow-\[0_0_8px_rgba\(100\2c 116\2c 139\2c 0\.6\)\] {
  --tw-drop-shadow: drop-shadow(0 0 8px rgba(100,116,139,0.6));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.\!filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-lg {
  --tw-backdrop-blur: blur(16px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-md {
  --tw-backdrop-blur: blur(12px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-xl {
  --tw-backdrop-blur: blur(24px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -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-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  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-1000 {
  transition-duration: 1000ms;
}
.duration-150 {
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global styles */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* RTL support */
.rtl {
  direction: rtl;
  text-align: right;
}

/* Hide scrollbars while allowing scrolling */
.scrollbar-hide {
  scrollbar-width: none;  /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer et Edge */
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;  /* Chrome, Safari et Opera */
}

/* Animations and transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

.slide-in {
  animation: slideIn 0.3s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.4s ease-out forwards;
}

.scale-in {
  animation: scaleIn 0.2s ease-out forwards;
}

/* White calendar and clock icons for date and time inputs */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 1;
  cursor: pointer;
}

/* Gradient background for the application */
.app-gradient {
  background: linear-gradient(to bottom right, #0f172a, #4a044e, #0f172a);
  background-size: 200% 200%;
  animation: gradient 6s ease infinite;
}
.file\:mr-4::-webkit-file-upload-button {
  margin-right: 1rem;
}
.file\:mr-4::file-selector-button {
  margin-right: 1rem;
}
.file\:rounded-md::-webkit-file-upload-button {
  border-radius: 0.375rem;
}
.file\:rounded-md::file-selector-button {
  border-radius: 0.375rem;
}
.file\:border-0::-webkit-file-upload-button {
  border-width: 0px;
}
.file\:border-0::file-selector-button {
  border-width: 0px;
}
.file\:bg-blue-600::-webkit-file-upload-button {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.file\:bg-blue-600::file-selector-button {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.file\:px-3::-webkit-file-upload-button {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.file\:px-3::file-selector-button {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.file\:py-1::-webkit-file-upload-button {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.file\:py-1::file-selector-button {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.file\:text-white::-webkit-file-upload-button {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.file\:text-white::file-selector-button {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.placeholder\:text-white\/40::placeholder {
  color: rgb(255 255 255 / 0.4);
}
.after\:absolute::after {
  content: var(--tw-content);
  position: absolute;
}
.after\:left-\[2px\]::after {
  content: var(--tw-content);
  left: 2px;
}
.after\:top-\[2px\]::after {
  content: var(--tw-content);
  top: 2px;
}
.after\:h-4::after {
  content: var(--tw-content);
  height: 1rem;
}
.after\:h-5::after {
  content: var(--tw-content);
  height: 1.25rem;
}
.after\:w-4::after {
  content: var(--tw-content);
  width: 1rem;
}
.after\:w-5::after {
  content: var(--tw-content);
  width: 1.25rem;
}
.after\:rounded-full::after {
  content: var(--tw-content);
  border-radius: 9999px;
}
.after\:bg-white::after {
  content: var(--tw-content);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / 1);
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.after\:transition-all::after {
  content: var(--tw-content);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.after\:content-\[\'\'\]::after {
  --tw-content: '';
  content: var(--tw-content);
}
.last\:mb-0:last-child {
  margin-bottom: 0px;
}
.last\:border-0:last-child {
  border-width: 0px;
}
.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem;
  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));
}
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  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));
}
.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  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));
}
.hover\:border-gray-300:hover {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / 1);
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.hover\:border-white\/10:hover {
  border-color: rgb(255 255 255 / 0.1);
}
.hover\:border-white\/20:hover {
  border-color: rgb(255 255 255 / 0.2);
}
.hover\:border-white\/30:hover {
  border-color: rgb(255 255 255 / 0.3);
}
.hover\:border-white\/40:hover {
  border-color: rgb(255 255 255 / 0.4);
}
.hover\:border-white\/50:hover {
  border-color: rgb(255 255 255 / 0.5);
}
.hover\:bg-amber-500\/20:hover {
  background-color: rgb(245 158 11 / 0.2);
}
.hover\:bg-amber-500\/30:hover {
  background-color: rgb(245 158 11 / 0.3);
}
.hover\:bg-amber-600\/30:hover {
  background-color: rgb(217 119 6 / 0.3);
}
.hover\:bg-blue-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / 1);
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-500\/20:hover {
  background-color: rgb(59 130 246 / 0.2);
}
.hover\:bg-blue-500\/30:hover {
  background-color: rgb(59 130 246 / 0.3);
}
.hover\:bg-blue-500\/40:hover {
  background-color: rgb(59 130 246 / 0.4);
}
.hover\:bg-blue-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-600\/20:hover {
  background-color: rgb(37 99 235 / 0.2);
}
.hover\:bg-blue-600\/30:hover {
  background-color: rgb(37 99 235 / 0.3);
}
.hover\:bg-blue-600\/50:hover {
  background-color: rgb(37 99 235 / 0.5);
}
.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / 1);
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.hover\:bg-danger-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / 1);
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}
.hover\:bg-emerald-500\/20:hover {
  background-color: rgb(16 185 129 / 0.2);
}
.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / 1);
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / 1);
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-300:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / 1);
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / 1);
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / 1);
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-900:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / 1);
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.hover\:bg-green-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(187 247 208 / 1);
  background-color: rgb(187 247 208 / var(--tw-bg-opacity, 1));
}
.hover\:bg-green-500\/30:hover {
  background-color: rgb(34 197 94 / 0.3);
}
.hover\:bg-green-500\/40:hover {
  background-color: rgb(34 197 94 / 0.4);
}
.hover\:bg-green-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / 1);
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.hover\:bg-green-600\/30:hover {
  background-color: rgb(22 163 74 / 0.3);
}
.hover\:bg-green-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / 1);
  background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
}
.hover\:bg-indigo-500\/30:hover {
  background-color: rgb(99 102 241 / 0.3);
}
.hover\:bg-indigo-500\/40:hover {
  background-color: rgb(99 102 241 / 0.4);
}
.hover\:bg-indigo-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(67 56 202 / 1);
  background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1));
}
.hover\:bg-orange-600\/30:hover {
  background-color: rgb(234 88 12 / 0.3);
}
.hover\:bg-primary-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(3 105 161 / 1);
  background-color: rgb(3 105 161 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-500\/20:hover {
  background-color: rgb(168 85 247 / 0.2);
}
.hover\:bg-purple-500\/30:hover {
  background-color: rgb(168 85 247 / 0.3);
}
.hover\:bg-purple-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / 1);
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.hover\:bg-purple-600\/30:hover {
  background-color: rgb(147 51 234 / 0.3);
}
.hover\:bg-purple-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(126 34 206 / 1);
  background-color: rgb(126 34 206 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 202 202 / 1);
  background-color: rgb(254 202 202 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / 1);
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-500\/20:hover {
  background-color: rgb(239 68 68 / 0.2);
}
.hover\:bg-red-500\/30:hover {
  background-color: rgb(239 68 68 / 0.3);
}
.hover\:bg-red-500\/40:hover {
  background-color: rgb(239 68 68 / 0.4);
}
.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / 1);
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-600\/20:hover {
  background-color: rgb(220 38 38 / 0.2);
}
.hover\:bg-red-600\/30:hover {
  background-color: rgb(220 38 38 / 0.3);
}
.hover\:bg-red-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / 1);
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}
.hover\:bg-slate-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(51 65 85 / 1);
  background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1));
}
.hover\:bg-success-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / 1);
  background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
}
.hover\:bg-teal-500\/40:hover {
  background-color: rgb(20 184 166 / 0.4);
}
.hover\:bg-teal-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(13 148 136 / 1);
  background-color: rgb(13 148 136 / var(--tw-bg-opacity, 1));
}
.hover\:bg-teal-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(15 118 110 / 1);
  background-color: rgb(15 118 110 / var(--tw-bg-opacity, 1));
}
.hover\:bg-teal-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(17 94 89 / 1);
  background-color: rgb(17 94 89 / var(--tw-bg-opacity, 1));
}
.hover\:bg-teal-800\/50:hover {
  background-color: rgb(17 94 89 / 0.5);
}
.hover\:bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / 1);
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.hover\:bg-white\/10:hover {
  background-color: rgb(255 255 255 / 0.1);
}
.hover\:bg-white\/15:hover {
  background-color: rgb(255 255 255 / 0.15);
}
.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}
.hover\:bg-white\/30:hover {
  background-color: rgb(255 255 255 / 0.3);
}
.hover\:bg-white\/5:hover {
  background-color: rgb(255 255 255 / 0.05);
}
.hover\:bg-white\/\[0\.04\]:hover {
  background-color: rgb(255 255 255 / 0.04);
}
.hover\:bg-yellow-500\/30:hover {
  background-color: rgb(234 179 8 / 0.3);
}
.hover\:bg-yellow-600\/30:hover {
  background-color: rgb(202 138 4 / 0.3);
}
.hover\:from-amber-600:hover {
  --tw-gradient-from: #d97706 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-amber-700:hover {
  --tw-gradient-from: #b45309 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(180 83 9 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-blue-600:hover {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-blue-700:hover {
  --tw-gradient-from: #1d4ed8 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(29 78 216 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-cyan-700:hover {
  --tw-gradient-from: #0e7490 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(14 116 144 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-emerald-600:hover {
  --tw-gradient-from: #059669 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(5 150 105 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-emerald-700:hover {
  --tw-gradient-from: #047857 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(4 120 87 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-gray-700:hover {
  --tw-gradient-from: #374151 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-green-600:hover {
  --tw-gradient-from: #16a34a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-green-700:hover {
  --tw-gradient-from: #15803d var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(21 128 61 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-indigo-700:hover {
  --tw-gradient-from: #4338ca var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(67 56 202 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-orange-700:hover {
  --tw-gradient-from: #c2410c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(194 65 12 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-pink-700:hover {
  --tw-gradient-from: #be185d var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(190 24 93 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-purple-600:hover {
  --tw-gradient-from: #9333ea var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-purple-700:hover {
  --tw-gradient-from: #7e22ce var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(126 34 206 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-red-600:hover {
  --tw-gradient-from: #dc2626 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(220 38 38 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-red-700:hover {
  --tw-gradient-from: #b91c1c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(185 28 28 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-rose-700:hover {
  --tw-gradient-from: #be123c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(190 18 60 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-sky-600:hover {
  --tw-gradient-from: #0284c7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(2 132 199 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:from-teal-700:hover {
  --tw-gradient-from: #0f766e var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(15 118 110 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:via-amber-700:hover {
  --tw-gradient-to: rgb(180 83 9 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #b45309 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:via-emerald-700:hover {
  --tw-gradient-to: rgb(4 120 87 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #047857 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:via-green-700:hover {
  --tw-gradient-to: rgb(21 128 61 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #15803d var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:via-indigo-700:hover {
  --tw-gradient-to: rgb(67 56 202 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #4338ca var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:via-orange-700:hover {
  --tw-gradient-to: rgb(194 65 12 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #c2410c var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:via-purple-700:hover {
  --tw-gradient-to: rgb(126 34 206 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #7e22ce var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:via-teal-700:hover {
  --tw-gradient-to: rgb(15 118 110 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #0f766e var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:via-violet-700:hover {
  --tw-gradient-to: rgb(109 40 217 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #6d28d9 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.hover\:to-amber-700:hover {
  --tw-gradient-to: #b45309 var(--tw-gradient-to-position);
}
.hover\:to-blue-700:hover {
  --tw-gradient-to: #1d4ed8 var(--tw-gradient-to-position);
}
.hover\:to-blue-800:hover {
  --tw-gradient-to: #1e40af var(--tw-gradient-to-position);
}
.hover\:to-cyan-600:hover {
  --tw-gradient-to: #0891b2 var(--tw-gradient-to-position);
}
.hover\:to-cyan-700:hover {
  --tw-gradient-to: #0e7490 var(--tw-gradient-to-position);
}
.hover\:to-emerald-600:hover {
  --tw-gradient-to: #059669 var(--tw-gradient-to-position);
}
.hover\:to-emerald-700:hover {
  --tw-gradient-to: #047857 var(--tw-gradient-to-position);
}
.hover\:to-gray-800:hover {
  --tw-gradient-to: #1f2937 var(--tw-gradient-to-position);
}
.hover\:to-gray-900:hover {
  --tw-gradient-to: #111827 var(--tw-gradient-to-position);
}
.hover\:to-green-700:hover {
  --tw-gradient-to: #15803d var(--tw-gradient-to-position);
}
.hover\:to-green-800:hover {
  --tw-gradient-to: #166534 var(--tw-gradient-to-position);
}
.hover\:to-indigo-700:hover {
  --tw-gradient-to: #4338ca var(--tw-gradient-to-position);
}
.hover\:to-orange-700:hover {
  --tw-gradient-to: #c2410c var(--tw-gradient-to-position);
}
.hover\:to-pink-700:hover {
  --tw-gradient-to: #be185d var(--tw-gradient-to-position);
}
.hover\:to-purple-700:hover {
  --tw-gradient-to: #7e22ce var(--tw-gradient-to-position);
}
.hover\:to-red-700:hover {
  --tw-gradient-to: #b91c1c var(--tw-gradient-to-position);
}
.hover\:to-red-800:hover {
  --tw-gradient-to: #991b1b var(--tw-gradient-to-position);
}
.hover\:to-rose-600:hover {
  --tw-gradient-to: #e11d48 var(--tw-gradient-to-position);
}
.hover\:to-rose-700:hover {
  --tw-gradient-to: #be123c var(--tw-gradient-to-position);
}
.hover\:to-sky-700:hover {
  --tw-gradient-to: #0369a1 var(--tw-gradient-to-position);
}
.hover\:to-teal-700:hover {
  --tw-gradient-to: #0f766e var(--tw-gradient-to-position);
}
.hover\:to-violet-700:hover {
  --tw-gradient-to: #6d28d9 var(--tw-gradient-to-position);
}
.hover\:to-yellow-700:hover {
  --tw-gradient-to: #a16207 var(--tw-gradient-to-position);
}
.hover\:text-amber-300:hover {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / 1);
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}
.hover\:text-black\/80:hover {
  color: rgb(0 0 0 / 0.8);
}
.hover\:text-blue-300:hover {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / 1);
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-400:hover {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / 1);
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-500:hover {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / 1);
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-800:hover {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / 1);
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}
.hover\:text-cyan-300:hover {
  --tw-text-opacity: 1;
  color: rgb(103 232 249 / 1);
  color: rgb(103 232 249 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-200:hover {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / 1);
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-900:hover {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / 1);
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.hover\:text-green-300:hover {
  --tw-text-opacity: 1;
  color: rgb(134 239 172 / 1);
  color: rgb(134 239 172 / var(--tw-text-opacity, 1));
}
.hover\:text-green-400:hover {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / 1);
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.hover\:text-indigo-300:hover {
  --tw-text-opacity: 1;
  color: rgb(165 180 252 / 1);
  color: rgb(165 180 252 / var(--tw-text-opacity, 1));
}
.hover\:text-primary-300:hover {
  --tw-text-opacity: 1;
  color: rgb(125 211 252 / 1);
  color: rgb(125 211 252 / var(--tw-text-opacity, 1));
}
.hover\:text-red-300:hover {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / 1);
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.hover\:text-red-400:hover {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / 1);
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.hover\:text-red-500:hover {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / 1);
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.hover\:text-rose-300:hover {
  --tw-text-opacity: 1;
  color: rgb(253 164 175 / 1);
  color: rgb(253 164 175 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hover\:text-white\/80:hover {
  color: rgb(255 255 255 / 0.8);
}
.hover\:text-white\/90:hover {
  color: rgb(255 255 255 / 0.9);
}
.hover\:text-yellow-400:hover {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / 1);
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.hover\:underline:hover {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}
.hover\:opacity-80:hover {
  opacity: 0.8;
}
.hover\:shadow-lg:hover {
  --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: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-blue-500\/25:hover {
  --tw-shadow-color: rgb(59 130 246 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.hover\:shadow-emerald-500\/25:hover {
  --tw-shadow-color: rgb(16 185 129 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.hover\:shadow-gray-500\/25:hover {
  --tw-shadow-color: rgb(107 114 128 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.hover\:shadow-green-500\/25:hover {
  --tw-shadow-color: rgb(34 197 94 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.hover\:shadow-indigo-500\/25:hover {
  --tw-shadow-color: rgb(99 102 241 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.hover\:shadow-orange-500\/25:hover {
  --tw-shadow-color: rgb(249 115 22 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.hover\:shadow-purple-500\/25:hover {
  --tw-shadow-color: rgb(168 85 247 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.hover\:shadow-red-500\/25:hover {
  --tw-shadow-color: rgb(239 68 68 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.focus\:border-blue-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / 1);
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
}
.focus\:border-blue-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / 1);
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.focus\:border-blue-500\/50:focus {
  border-color: rgb(59 130 246 / 0.5);
}
.focus\:border-danger-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / 1);
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}
.focus\:border-emerald-500\/50:focus {
  border-color: rgb(16 185 129 / 0.5);
}
.focus\:border-indigo-500\/50:focus {
  border-color: rgb(99 102 241 / 0.5);
}
.focus\:border-primary-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(14 165 233 / 1);
  border-color: rgb(14 165 233 / var(--tw-border-opacity, 1));
}
.focus\:border-purple-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(168 85 247 / 1);
  border-color: rgb(168 85 247 / var(--tw-border-opacity, 1));
}
.focus\:border-purple-500\/50:focus {
  border-color: rgb(168 85 247 / 0.5);
}
.focus\:border-transparent:focus {
  border-color: transparent;
}
.focus\:border-white\/40:focus {
  border-color: rgb(255 255 255 / 0.4);
}
.focus\:bg-white\/10:focus {
  background-color: rgb(255 255 255 / 0.1);
}
.focus\:bg-white\/20:focus {
  background-color: rgb(255 255 255 / 0.2);
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-0: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(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-1: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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.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), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-amber-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1));
}
.focus\:ring-blue-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}
.focus\:ring-blue-500\/50:focus {
  --tw-ring-color: rgb(59 130 246 / 0.5);
}
.focus\:ring-cyan-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity, 1));
}
.focus\:ring-danger-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity, 1));
}
.focus\:ring-danger-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
}
.focus\:ring-emerald-500\/50:focus {
  --tw-ring-color: rgb(16 185 129 / 0.5);
}
.focus\:ring-green-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1));
}
.focus\:ring-indigo-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1));
}
.focus\:ring-indigo-500\/50:focus {
  --tw-ring-color: rgb(99 102 241 / 0.5);
}
.focus\:ring-orange-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(249 115 22 / var(--tw-ring-opacity, 1));
}
.focus\:ring-primary-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(14 165 233 / var(--tw-ring-opacity, 1));
}
.focus\:ring-purple-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1));
}
.focus\:ring-purple-500\/50:focus {
  --tw-ring-color: rgb(168 85 247 / 0.5);
}
.focus\:ring-red-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
}
.focus\:ring-rose-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(244 63 94 / var(--tw-ring-opacity, 1));
}
.focus\:ring-success-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1));
}
.focus\:ring-teal-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(20 184 166 / var(--tw-ring-opacity, 1));
}
.focus\:ring-white\/20:focus {
  --tw-ring-color: rgb(255 255 255 / 0.2);
}
.focus\:ring-opacity-50:focus {
  --tw-ring-opacity: 0.5;
}
.focus\:ring-offset-0:focus {
  --tw-ring-offset-width: 0px;
}
.active\:translate-y-0:active {
  --tw-translate-y: 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));
}
.active\:scale-95:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  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));
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:bg-gray-600:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / 1);
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.disabled\:bg-white\/10:disabled {
  background-color: rgb(255 255 255 / 0.1);
}
.disabled\:text-white\/50:disabled {
  color: rgb(255 255 255 / 0.5);
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.disabled\:opacity-70:disabled {
  opacity: 0.7;
}
.group:hover .group-hover\:visible {
  visibility: visible;
}
.group:hover .group-hover\:translate-x-1 {
  --tw-translate-x: 0.25rem;
  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));
}
.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  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));
}
.group:hover .group-hover\:scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  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));
}
.group:hover .group-hover\:border-indigo-400 {
  --tw-border-opacity: 1;
  border-color: rgb(129 140 248 / 1);
  border-color: rgb(129 140 248 / var(--tw-border-opacity, 1));
}
.group:hover .group-hover\:text-blue-200 {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / 1);
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:text-blue-500\/50 {
  color: rgb(59 130 246 / 0.5);
}
.group:hover .group-hover\:text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}
.group:hover .group-hover\:text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}
.group\/btn:hover .group-hover\/btn\:opacity-100 {
  opacity: 1;
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
.group:hover .group-hover\:opacity-20 {
  opacity: 0.2;
}
.group:hover .group-hover\:shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.peer:checked ~ .peer-checked\:bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / 1);
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.peer:checked ~ .peer-checked\:after\:translate-x-full::after {
  content: var(--tw-content);
  --tw-translate-x: 100%;
  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));
}
.peer:checked ~ .peer-checked\:after\:border-white::after {
  content: var(--tw-content);
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / 1);
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.peer:focus ~ .peer-focus\:outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.dark\:divide-gray-700:is(.dark *) > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(55 65 81 / 1);
  border-color: rgb(55 65 81 / var(--tw-divide-opacity, 1));
}
.dark\:border-blue-700:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(29 78 216 / 1);
  border-color: rgb(29 78 216 / var(--tw-border-opacity, 1));
}
.dark\:border-gray-700:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / 1);
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.dark\:border-red-700:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(185 28 28 / 1);
  border-color: rgb(185 28 28 / var(--tw-border-opacity, 1));
}
.dark\:border-yellow-700:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(161 98 7 / 1);
  border-color: rgb(161 98 7 / var(--tw-border-opacity, 1));
}
.dark\:bg-blue-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(30 58 138 / 1);
  background-color: rgb(30 58 138 / var(--tw-bg-opacity, 1));
}
.dark\:bg-blue-900\/20:is(.dark *) {
  background-color: rgb(30 58 138 / 0.2);
}
.dark\:bg-gray-700:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / 1);
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.dark\:bg-gray-800:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / 1);
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.dark\:bg-gray-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / 1);
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.dark\:bg-red-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(127 29 29 / 1);
  background-color: rgb(127 29 29 / var(--tw-bg-opacity, 1));
}
.dark\:bg-red-900\/20:is(.dark *) {
  background-color: rgb(127 29 29 / 0.2);
}
.dark\:bg-yellow-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(113 63 18 / 1);
  background-color: rgb(113 63 18 / var(--tw-bg-opacity, 1));
}
.dark\:bg-yellow-900\/20:is(.dark *) {
  background-color: rgb(113 63 18 / 0.2);
}
.dark\:text-blue-200:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(191 219 254 / 1);
  color: rgb(191 219 254 / var(--tw-text-opacity, 1));
}
.dark\:text-blue-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / 1);
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.dark\:text-gray-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / 1);
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.dark\:text-gray-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / 1);
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.dark\:text-red-200:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(254 202 202 / 1);
  color: rgb(254 202 202 / var(--tw-text-opacity, 1));
}
.dark\:text-red-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / 1);
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.dark\:text-white:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.dark\:text-yellow-200:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(254 240 138 / 1);
  color: rgb(254 240 138 / var(--tw-text-opacity, 1));
}
.dark\:text-yellow-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / 1);
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
.dark\:hover\:bg-gray-600:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / 1);
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.dark\:hover\:bg-gray-700:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / 1);
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.dark\:hover\:bg-gray-800:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / 1);
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
@media (min-width: 640px) {

  .sm\:inline-block {
    display: inline-block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:w-48 {
    width: 12rem;
  }

  .sm\:w-80 {
    width: 20rem;
  }

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

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

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

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

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

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

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

  .sm\: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)));
  }

  .sm\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse));
  }
}
@media (min-width: 768px) {

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:col-span-8 {
    grid-column: span 8 / span 8;
  }

  .md\:col-span-9 {
    grid-column: span 9 / span 9;
  }

  .md\:mb-0 {
    margin-bottom: 0px;
  }

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

  .md\:inline {
    display: inline;
  }

  .md\:w-2\/3 {
    width: 66.666667%;
  }

  .md\:w-64 {
    width: 16rem;
  }

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

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

  .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\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

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

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

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

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

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:w-1\/3 {
    width: 33.333333%;
  }

  .lg\:w-2\/3 {
    width: 66.666667%;
  }

  .lg\:w-80 {
    width: 20rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  .lg\: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)));
  }

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

  .lg\:space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
  }
}
@media (min-width: 1280px) {

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

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

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

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

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

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

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

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

  .xl\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse));
  }
} 
/* Custom Scrollbar Styles */

/* Base scrollbar styles for the application */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.6), rgba(59, 130, 246, 0.6));
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.8));
  cursor: pointer;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(to bottom, rgb(37, 99, 235), rgb(59, 130, 246));
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.6) rgba(255, 255, 255, 0.05);
}

/* Keep scrollbar-hide class but improve it for when we want to hide scrollbars */
.scrollbar-hide {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Dark theme scrollbars */
.dark-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.dark-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.6), rgba(37, 99, 235, 0.6));
}

/* Light theme scrollbars */
.light-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.light-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.5), rgba(59, 130, 246, 0.5));
}

/* Transparent scrollbar for overlay content */
.transparent-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
}

/* Main content scrollbar */
.main-content::-webkit-scrollbar {
  width: 10px;
}

/* Table scrollbar - horizontal */
.table-scroll::-webkit-scrollbar {
  height: 6px;
}

/* Modal content scrollbar */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

/* RTL support for scrollbars */
.rtl ::-webkit-scrollbar {
  left: 0;
  right: auto;
}

/* ==============================================
   DEMO ENTRY - Formulaire d'entrée
   ============================================== */

.demo-entry-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.demo-entry-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.demo-entry-card {
  background: rgba(30, 41, 59, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.demo-entry-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.demo-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #3B82F6;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.demo-logo-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  color: #60A5FA;
}

.demo-entry-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 0.5rem;
}

.demo-entry-header p {
  font-size: 1rem;
  color: #94A3B8;
}

/* Form Styles */
.demo-entry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: #3B82F6;
  font-size: 1rem;
}

.form-input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: #F1F5F9;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.error {
  border-color: #EF4444;
}

.error-message {
  color: #EF4444;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-submit {
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.demo-entry-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.demo-entry-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.demo-entry-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #CBD5E1;
  font-size: 0.9rem;
}

.demo-entry-features .feature-item i {
  color: #10B981;
  font-size: 1.1rem;
}

/* ==============================================
   PACKAGE SELECTION
   ============================================== */

.package-selection-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.package-selection-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.package-selection-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.package-selection-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #F1F5F9;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.package-selection-header p {
  font-size: 1.1rem;
  color: #94A3B8;
}

.user-info-badge {
  max-width: 400px;
  margin: 0 auto 3rem;
  background: rgba(30, 41, 59, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #F1F5F9;
  position: relative;
  z-index: 1;
}

.user-info-badge i {
  font-size: 2.5rem;
  color: #3B82F6;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.package-card {
  background: rgba(30, 41, 59, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
  border-color: currentColor;
}

.package-icon {
  font-size: 3rem;
  text-align: center;
}

.package-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin: 0;
}

.package-modules-count {
  text-align: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #60A5FA;
  font-weight: 600;
  width: -webkit-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.package-description {
  color: #94A3B8;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.package-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #CBD5E1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.package-features .feature-item i {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.btn-select {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-select:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: scale(1.05);
}

.package-selection-note {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #CBD5E1;
  position: relative;
  z-index: 1;
}

.package-selection-note i {
  color: #3B82F6;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.package-selection-note p {
  margin: 0;
  line-height: 1.6;
}

/* ==============================================
   DEMO BANNER
   ============================================== */

.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: white;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  z-index: 9999;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.demo-banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.demo-banner-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-banner-badge i {
  font-size: 1rem;
}

.demo-banner-text {
  font-size: 0.9rem;
  opacity: 0.95;
}

.demo-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.demo-banner-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-download {
  background: white;
  color: #2563EB;
  font-weight: 600;
}

.btn-download:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-quit {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-quit:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Add padding to body when demo banner is present */
body:has(.demo-banner) {
  padding-top: 52px; /* Minimal height for demo banner */
}

/* Responsive */
@media (max-width: 768px) {
  .demo-entry-card {
    padding: 2rem 1.5rem;
  }

  .demo-entry-header h1 {
    font-size: 1.5rem;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .package-selection-header h1 {
    font-size: 2rem;
  }

  .demo-banner {
    flex-direction: row;
    padding: 0.4rem 0.75rem;
    gap: 0;
    justify-content: center;
  }

  /* Show only badge on mobile */
  .demo-banner-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
  }

  .demo-banner-badge i {
    font-size: 0.9rem;
  }

  /* Hide detailed text on mobile */
  .demo-banner-text {
    display: none;
  }

  .demo-banner-left {
    width: auto;
    justify-content: center;
  }

  /* Hide action buttons on mobile */
  .demo-banner-actions {
    display: none;
  }

  /* Minimal padding on mobile - only for badge */
  body:has(.demo-banner) {
    padding-top: 40px; /* Minimal height for badge only */
  }
}


/* Theme Toggle Switch Styles */

.theme-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin: 0 10px;
}

.theme-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: 0.4s;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle-switch input:checked + .theme-toggle-slider {
  background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.theme-toggle-switch input:checked + .theme-toggle-slider:before {
  transform: translateX(30px);
}

/* Icons inside the slider */
.theme-toggle-slider .toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.theme-toggle-slider .sun-icon {
  right: 6px;
  opacity: 0;
}

.theme-toggle-slider .moon-icon {
  left: 6px;
  opacity: 1;
}

.theme-toggle-switch input:checked + .theme-toggle-slider .sun-icon {
  opacity: 1;
}

.theme-toggle-switch input:checked + .theme-toggle-slider .moon-icon {
  opacity: 0;
}

/* Theme toggle button wrapper */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.theme-toggle-wrapper:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.theme-toggle-wrapper.light-mode {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1f2937;
}

.theme-toggle-wrapper.light-mode:hover {
  background: rgba(0, 0, 0, 0.1);
}

.theme-toggle-label {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  -webkit-user-select: none;
          user-select: none;
}

/* Header compact version */
.theme-toggle-switch[style*="width: 45px"] {
  width: 45px !important;
  height: 24px !important;
  margin: 0;
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider:before {
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
}

.theme-toggle-switch[style*="width: 45px"] input:checked + .theme-toggle-slider:before {
  transform: translateX(21px);
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .toggle-icon {
  font-size: 10px;
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .sun-icon {
  right: 4px;
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .moon-icon {
  left: 4px;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .theme-toggle-wrapper {
    padding: 6px 12px;
    gap: 8px;
  }
  
  .theme-toggle-switch {
    width: 50px;
    height: 26px;
  }
  
  .theme-toggle-slider:before {
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
  }
  
  .theme-toggle-switch input:checked + .theme-toggle-slider:before {
    transform: translateX(24px);
  }
  
  .theme-toggle-slider .toggle-icon {
    font-size: 12px;
  }
  
  /* Smaller header version on mobile */
  .theme-toggle-switch[style*="width: 45px"] {
    width: 40px !important;
    height: 20px !important;
  }

  .theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider:before {
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
  }

  .theme-toggle-switch[style*="width: 45px"] input:checked + .theme-toggle-slider:before {
    transform: translateX(20px);
  }

  .theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .toggle-icon {
    font-size: 8px;
  }
}

.payments-container {
  padding: 1.5rem;
}

.payments-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.payments-table th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.payments-table th, 
.payments-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: middle;
}

.payments-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}

.payments-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.payments-table tbody tr:last-child {
  border-bottom: none;
}

.loading-spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.8);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Progress bar styling */
.payment-progress {
  width: 100%;
  height: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 0.5rem;
}

.payment-progress-bar {
  height: 100%;
  border-radius: 1rem;
  transition: width 0.3s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  
  .payments-container {
    padding: 1rem;
  }
  
  .mobile-full-width {
    width: 100%;
  }
  
  .mobile-mt-2 {
    margin-top: 0.5rem;
  }
  
  .mobile-flex-col {
    flex-direction: column;
  }
  
  .mobile-flex-col > * {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* Styles mobiles communs pour les tableaux */

/* Amélioration du défilement horizontal pour la vue tableau */
.table-horizontal-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  position: relative;
  width: 100%;
}

.table-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.table-horizontal-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.table-horizontal-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

/* Forcer le tableau à rester en mode tableau même sur mobile */
@media (max-width: 768px) {
  .data-table {
    width: 100%;
    min-width: 800px; /* Forcer une largeur minimale pour assurer le défilement */
  }
  
  .data-table thead {
    display: table-header-group;
  }
  
  .data-table tbody tr {
    display: table-row;
    margin-bottom: 0;
    border: none;
    background-color: transparent;
  }
  
  .data-table tbody td {
    display: table-cell;
    text-align: left;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .data-table tbody td::before {
    content: none;
  }
  
  /* Indicateur de défilement */
  .table-horizontal-scroll::after {
    content: "→";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    animation: fadeInOut 1.5s infinite alternate;
    pointer-events: none;
  }
  
  @keyframes fadeInOut {
    from { opacity: 0.3; }
    to { opacity: 0.8; }
  }

  /* Ajustements spécifiques pour les différents tableaux */
  .archives-table,
  .clients-table,
  .employees-table,
  .products-table,
  .categories-table {
    min-width: 800px;
  }
}

/* Light Theme - Override dark theme styles for Dashboard, Archives, and Payments pages */

.dashboard-light-theme {
  /* Smooth transition for theme switching */
  transition: all 0.3s ease-in-out;
}

/* ===== FORCE PURE BLACK TEXT FOR SPECIFIC ELEMENTS ===== */

/* Category titles (ACHATS, VENTES) - PURE BLACK */
.dashboard-light-theme h3.text-xl.font-semibold,
.dashboard-light-theme h3[class*="text-xl"][class*="font-semibold"] {
  color: #000000 !important;
}

/* Document titles (Créer un bon de commande, etc.) - PURE BLACK */
.dashboard-light-theme h3.font-medium.mb-1,
.dashboard-light-theme h3[class*="font-medium"][class*="mb-1"] {
  color: #000000 !important;
}

/* Main page title - PURE BLACK */
.dashboard-light-theme h1.text-3xl.font-bold,
.dashboard-light-theme h1[class*="text-3xl"][class*="font-bold"] {
  color: #000000 !important;
}

/* Section titles (FOURNISSEUR, CLIENT, etc.) - PURE BLACK */
.dashboard-light-theme h3.section-title {
  color: #000000 !important;
}

/* Catch-all for any document card titles - PURE BLACK */
.dashboard-light-theme .backdrop-blur-sm h3,
.dashboard-light-theme .backdrop-blur-lg h3 {
  color: #000000 !important;
}

/* Override any white text in document creation cards - PURE BLACK */
.dashboard-light-theme .document-creation h3 {
  color: #000000 !important;
}

/* ULTIMATE OVERRIDE - Force black class always wins */
.dashboard-light-theme .force-black {
  color: #000000 !important;
}

/* Settings page form groups - Blue gradient background in light mode only */
.dashboard-light-theme .form-group {
  background: linear-gradient(to right, #3b82f6, #8b5cf6) !important;
  padding: 1.5rem !important;
  border-radius: 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin-bottom: 1.5rem !important;
}

.dashboard-light-theme .form-group label {
  color: #ffffff !important;
}

.dashboard-light-theme .form-group input,
.dashboard-light-theme .form-group select,
.dashboard-light-theme .form-group textarea {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.dashboard-light-theme .form-group input:focus,
.dashboard-light-theme .form-group select:focus,
.dashboard-light-theme .form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.dashboard-light-theme .form-group small {
  color: rgba(255, 255, 255, 0.8) !important;
}

.dashboard-light-theme .form-group input[type="color"] {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Keep white text for invoicing/facturation section labels and descriptions */
.dashboard-light-theme .form-group label.text-white {
  color: #ffffff !important;
}

.dashboard-light-theme .form-group span.text-white/80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.dashboard-light-theme .form-group p.text-white/50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ===== DOCUMENT ICONS - HANDLED IN JAVASCRIPT ===== */
/* Icon colors are now handled directly in document definitions */

/* Add smooth transitions to all themed elements */
.dashboard-light-theme *,
:not(.dashboard-light-theme) * {
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.dashboard-light-theme h1.text-white {
  color: #1f2937 !important; /* Dark gray instead of white */
}

.dashboard-light-theme p.text-white\/60 {
  color: #6b7280 !important; /* Medium gray instead of white/60 */
}

/* Override text-white but exclude our pure black elements */
.dashboard-light-theme .text-white:not(h1):not(h3):not(.force-black) {
  color: #1f2937 !important; /* Dark text */
}

/* Fallback for remaining .text-white that aren't headers */
.dashboard-light-theme p.text-white,
.dashboard-light-theme span.text-white,
.dashboard-light-theme div.text-white:not(h1):not(h3) {
  color: #1f2937 !important;
}

/* Exception: Keep text white in gradient backgrounds (buttons, numbered circles) */
.dashboard-light-theme .bg-gradient-to-r .text-white,
.dashboard-light-theme [class*="bg-gradient"] .text-white {
  color: white !important;
}

/* Specific overrides for client and product names */
.dashboard-light-theme h4 {
  color: #1f2937 !important; /* Dark text for names */
}

.dashboard-light-theme h4.text-white {
  color: #1f2937 !important; /* Override any text-white on h4 elements */
}

/* Ensure client/product description text is visible */
.dashboard-light-theme .text-white\/60 p,
.dashboard-light-theme p.text-white\/60 {
  color: #6b7280 !important; /* Medium gray for descriptions */
}

/* Override any remaining white text in cards */
.dashboard-light-theme .bg-white\/5 .text-white:not(.bg-gradient-to-r .text-white):not([class*="bg-gradient"] .text-white) {
  color: #1f2937 !important;
}

/* Specific override for section titles and content */
.dashboard-light-theme h3.text-white {
  color: #1f2937 !important; /* Dark section titles */
}

/* Make sure all text in client/product cards is visible */
.dashboard-light-theme [class*="cursor-pointer"] h4 {
  color: #1f2937 !important;
}

.dashboard-light-theme [class*="cursor-pointer"] p {
  color: #6b7280 !important;
}

/* Tables and lists */
.dashboard-light-theme table tbody tr:hover {
  background-color: rgba(243, 244, 246, 0.5) !important; /* Light gray hover */
}

.dashboard-light-theme .hover\:bg-white\/5:hover {
  background-color: rgba(243, 244, 246, 0.5) !important;
}

/* Archive and Payment specific elements */
.dashboard-light-theme .bg-gradient-to-br {
  /* Keep gradients colorful */
}

.dashboard-light-theme .text-white\/60 {
  color: #6b7280 !important; /* Medium gray */
}

/* ===== DOCUMENT CREATION - FIXED SELECTOR STRUCTURE ===== */

/* Universal text override for document creation - SAME ELEMENT selectors */
.dashboard-light-theme.document-creation-container .text-white:not(.bg-gradient-to-r .text-white):not([class*="bg-gradient"] .text-white):not(.bg-blue-500 .text-white):not(.bg-green-500 .text-white):not(.bg-red-500 .text-white):not(.bg-purple-500 .text-white) {
  color: #1f2937 !important;
}

/* Document creation specific text overrides */
.dashboard-light-theme.document-creation-container .text-white\/80,
.dashboard-light-theme.document-creation-container .text-white\/60 {
  color: #4b5563 !important;
}

/* Form group labels in document creation */
.dashboard-light-theme.document-creation-container .form-group label {
  color: #1f2937 !important;
}

/* Input styling in document creation */
.dashboard-light-theme.document-creation-container input,
.dashboard-light-theme.document-creation-container select,
.dashboard-light-theme.document-creation-container textarea {
  background-color: #ffffff !important;
  color: #1f2937 !important;
  border-color: #d1d5db !important;
}

/* Readonly inputs */
.dashboard-light-theme.document-creation-container .readonly-input {
  background-color: #f3f4f6 !important;
  color: #6b7280 !important;
  border-color: #d1d5db !important;
}

/* Headers in document creation */
.dashboard-light-theme.document-creation-container h1,
.dashboard-light-theme.document-creation-container h2,
.dashboard-light-theme.document-creation-container h3 {
  color: #1f2937 !important;
}

/* Section titles */
.dashboard-light-theme.document-creation-container .section-title {
  color: #1f2937 !important;
}

.dashboard-light-theme .text-white\/80 {
  color: #374151 !important; /* Slightly darker gray */
}

/* Card backgrounds - change from dark translucent to white/light */
.dashboard-light-theme .bg-white\/10 {
  background-color: #ffffff !important; /* Pure white background */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.dashboard-light-theme .backdrop-blur-lg {
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important; /* Remove blur effect */
}

.dashboard-light-theme .bg-white\/5 {
  background-color: #f9fafb !important; /* Very light gray */
}

/* Borders - change from white translucent to light gray */
.dashboard-light-theme .border-white\/20 {
  border-color: #e5e7eb !important; /* Light gray border */
}

.dashboard-light-theme .border-white\/10 {
  border-color: #f3f4f6 !important; /* Very light gray border */
}

/* Hover states */
.dashboard-light-theme .hover\:bg-white\/10:hover {
  background-color: #f3f4f6 !important; /* Light gray hover */
}

.dashboard-light-theme .hover\:bg-white\/5:hover {
  background-color: #f9fafb !important; /* Very light hover */
}

/* Chart and data visualization adjustments */
.dashboard-light-theme canvas {
  filter: invert(0) !important; /* Ensure charts display properly */
}

/* Chart text and labels in light mode */
.dashboard-light-theme .chart-container,
.dashboard-light-theme [data-chart] {
  color: #1f2937 !important;
}

/* Chart axis labels and text */
.dashboard-light-theme .chart-container text,
.dashboard-light-theme canvas + * text {
  fill: #1f2937 !important;
  color: #1f2937 !important;
}

/* Chart grid lines and axis */
.dashboard-light-theme .chart-container line,
.dashboard-light-theme .chart-container path {
  stroke: #d1d5db !important;
}

/* Chart text elements specifically for revenue chart */
.dashboard-light-theme svg text {
  fill: #374151 !important;
  color: #374151 !important;
}

/* Chart background grid */
.dashboard-light-theme .recharts-cartesian-grid line {
  stroke: #e5e7eb !important;
}

/* Chart axis text */
.dashboard-light-theme .recharts-text,
.dashboard-light-theme .recharts-cartesian-axis-tick-value {
  fill: #374151 !important;
}

/* Chart.js specific styling */
.dashboard-light-theme .chartjs-render-monitor {
  background: transparent !important;
}

/* Status badges and colored elements */
.dashboard-light-theme .bg-green-500\/20 {
  background-color: rgba(34, 197, 94, 0.1) !important;
}

.dashboard-light-theme .text-green-400 {
  color: #16a34a !important; /* Darker green for better contrast */
}

.dashboard-light-theme .bg-red-500\/20 {
  background-color: rgba(239, 68, 68, 0.1) !important;
}

.dashboard-light-theme .text-red-400 {
  color: #dc2626 !important; /* Darker red */
}

.dashboard-light-theme .bg-blue-500\/20 {
  background-color: rgba(59, 130, 246, 0.1) !important;
}

.dashboard-light-theme .text-blue-400 {
  color: #2563eb !important; /* Darker blue */
}

.dashboard-light-theme .bg-yellow-500\/20 {
  background-color: rgba(234, 179, 8, 0.1) !important;
}

.dashboard-light-theme .text-yellow-400 {
  color: #ca8a04 !important; /* Darker yellow */
}

.dashboard-light-theme .bg-purple-500\/20 {
  background-color: rgba(168, 85, 247, 0.1) !important;
}

.dashboard-light-theme .text-purple-400 {
  color: #9333ea !important; /* Darker purple */
}

.dashboard-light-theme .bg-amber-500\/20 {
  background-color: rgba(245, 158, 11, 0.1) !important;
}

.dashboard-light-theme .text-amber-400 {
  color: #d97706 !important; /* Darker amber */
}

/* Time range selector */
.dashboard-light-theme select {
  background-color: #ffffff !important;
  color: #1f2937 !important;
  border-color: #d1d5db !important;
}

.dashboard-light-theme select option {
  background-color: #ffffff !important;
  color: #1f2937 !important;
}

/* Table styling */
.dashboard-light-theme table thead {
  background-color: #f9fafb !important;
}

.dashboard-light-theme table th {
  color: #374151 !important;
}

.dashboard-light-theme table td {
  color: #1f2937 !important;
}

.dashboard-light-theme table tr:hover {
  background-color: #f3f4f6 !important;
}

/* Gradient icons - keep them as is for visual appeal */
.dashboard-light-theme .bg-gradient-to-r {
  /* Keep gradient backgrounds for icons and accent elements */
}

/* Loading states and placeholders */
.dashboard-light-theme .text-white\/60 {
  color: #6b7280 !important;
}

/* Chart container backgrounds */
.dashboard-light-theme .chart-container {
  background-color: #ffffff !important;
}

/* Rounded corners and shadows remain the same */
.dashboard-light-theme .rounded-3xl,
.dashboard-light-theme .rounded-xl,
.dashboard-light-theme .rounded-2xl {
  /* Keep border radius as is */
}

/* Custom scrollbar for light theme */
.dashboard-light-theme ::-webkit-scrollbar {
  width: 6px;
}

.dashboard-light-theme ::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.dashboard-light-theme ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.dashboard-light-theme ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Ensure proper contrast for small text */
.dashboard-light-theme .text-sm {
  color: #4b5563 !important;
}

.dashboard-light-theme .text-xs {
  color: #6b7280 !important;
}

/* KPI Cards - ensure icons stay visible and colorful */
.dashboard-light-theme .bg-gradient-to-r {
  /* Keep gradient backgrounds for icons - they should remain colorful */
}

/* But ensure text inside gradient elements is white */
.dashboard-light-theme .bg-gradient-to-r .text-white,
.dashboard-light-theme [class*="bg-gradient"] .text-white {
  color: white !important;
}

/* Specific KPI card icon fixes */
.dashboard-light-theme [class*="bg-blue-500"] {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.dashboard-light-theme [class*="bg-orange-500"] {
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
}

.dashboard-light-theme [class*="bg-green-500"] {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

.dashboard-light-theme [class*="bg-purple-500"] {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

/* Ensure KPI card text remains bright white */
.dashboard-light-theme .bg-gradient-to-br .text-white {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Chart container styling in light mode */
.dashboard-light-theme .bg-white\/10.backdrop-blur-lg.rounded-3xl {
  background-color: #ffffff !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
}

/* Force chart text to be dark in light theme */
.dashboard-light-theme .chartjs-render-monitor,
.dashboard-light-theme canvas {
  color: #1f2937 !important;
}

/* Chart.js tooltips and legends */
.dashboard-light-theme .chartjs-tooltip,
.dashboard-light-theme .chartjs-legend {
  color: #1f2937 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #e5e7eb !important;
}

/* Ensure chart axis labels are visible in light mode */
.dashboard-light-theme .chartjs-render-monitor text,
.dashboard-light-theme .chartjs-render-monitor tspan {
  fill: #374151 !important;
}

/* Chart container background */
.dashboard-light-theme .chart-container,
.dashboard-light-theme [class*="chart"] {
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 24px;
  padding: 20px;
}

/* Better visibility for chart elements */
.dashboard-light-theme canvas {
  background: transparent !important;
}

/* Table styling for Archives and Payments */
.dashboard-light-theme table thead th {
  color: #1f2937 !important;
  background-color: #f9fafb !important;
  border-color: #e5e7eb !important;
}

.dashboard-light-theme table tbody td {
  color: #1f2937 !important;
  border-color: #e5e7eb !important;
}

/* Status badges in tables */
.dashboard-light-theme .status-paid {
  background-color: rgba(34, 197, 94, 0.1) !important;
  color: #16a34a !important;
}

.dashboard-light-theme .status-pending {
  background-color: rgba(234, 179, 8, 0.1) !important;
  color: #ca8a04 !important;
}

.dashboard-light-theme .status-overdue {
  background-color: rgba(239, 68, 68, 0.1) !important;
  color: #dc2626 !important;
}

/* Status badges with orange background */
.dashboard-light-theme .bg-orange-500\/20 {
  background-color: rgba(234, 88, 12, 0.1) !important;
}

.dashboard-light-theme .text-orange-400 {
  color: #ea580c !important;
}

/* Override for specific badge colors */
.dashboard-light-theme .bg-blue-500\/20 {
  background-color: #1d4ed8 !important; /* Dark blue background */
}

.dashboard-light-theme .text-blue-400 {
  color: white !important; /* White icons */
}

/* Action button backgrounds and colors - DARK backgrounds with WHITE icons */
.dashboard-light-theme .bg-amber-500\/20 {
  background-color: #d97706 !important; /* Dark amber background */
}

.dashboard-light-theme .text-amber-400 {
  color: white !important; /* White icons */
}

.dashboard-light-theme .bg-red-500\/20 {
  background-color: #dc2626 !important; /* Dark red background */
}

.dashboard-light-theme .text-red-400 {
  color: white !important; /* White icons */
}

.dashboard-light-theme .bg-green-500\/20 {
  background-color: #16a34a !important; /* Dark green background */
}

.dashboard-light-theme .text-green-400 {
  color: white !important; /* White icons */
}

.dashboard-light-theme .bg-yellow-500\/20 {
  background-color: #ca8a04 !important; /* Dark yellow background */
}

.dashboard-light-theme .text-yellow-400 {
  color: white !important; /* White icons */
}

.dashboard-light-theme .bg-purple-500\/20 {
  background-color: #9333ea !important; /* Dark purple background */
}

.dashboard-light-theme .text-purple-400 {
  color: white !important; /* White icons */
}

/* Action button hover states in light mode - DARKER solid colors */
.dashboard-light-theme .bg-amber-500\/20:hover {
  background-color: #b45309 !important; /* Even darker amber on hover */
}

.dashboard-light-theme .bg-blue-500\/20:hover {
  background-color: #1e40af !important; /* Even darker blue on hover */
}

.dashboard-light-theme .bg-red-500\/20:hover {
  background-color: #b91c1c !important; /* Even darker red on hover */
}

.dashboard-light-theme .bg-green-500\/20:hover {
  background-color: #15803d !important; /* Even darker green on hover */
}

.dashboard-light-theme .bg-yellow-500\/20:hover {
  background-color: #a16207 !important; /* Even darker yellow on hover */
}

.dashboard-light-theme .bg-purple-500\/20:hover {
  background-color: #7c3aed !important; /* Even darker purple on hover */
}

/* Table action buttons specific styling */
.dashboard-light-theme td .action-button-tooltip,
.dashboard-light-theme .document-actions button {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

/* Enhanced action icon visibility in light mode - White icons, no filters needed */
.dashboard-light-theme .document-actions button svg,
.dashboard-light-theme td button svg,
.dashboard-light-theme .action-button-tooltip svg {
  filter: none !important; /* Remove filters, white icons are clear on dark backgrounds */
}

.dashboard-light-theme .document-actions button:hover svg,
.dashboard-light-theme td button:hover svg,
.dashboard-light-theme .action-button-tooltip:hover svg {
  filter: none !important; /* Keep white icons clear on hover */
}

/* Specific icon color overrides - WHITE icons on dark backgrounds */
.dashboard-light-theme .text-amber-400 svg {
  color: white !important;
}

.dashboard-light-theme .text-blue-400 svg {
  color: white !important;
}

.dashboard-light-theme .text-red-400 svg {
  color: white !important;
}

.dashboard-light-theme .text-green-400 svg {
  color: white !important;
}

.dashboard-light-theme .text-yellow-400 svg {
  color: white !important;
}

.dashboard-light-theme .text-purple-400 svg {
  color: white !important;
}

/* Button styling */
.dashboard-light-theme button:not([class*="bg-gradient"]):not([class*="bg-blue"]):not([class*="bg-green"]):not([class*="bg-red"]):not([class*="bg-purple"]) {
  background-color: #f9fafb !important;
  color: #1f2937 !important;
  border-color: #e5e7eb !important;
}

/* Search and filter inputs */
.dashboard-light-theme input[type="search"],
.dashboard-light-theme input[type="text"],
.dashboard-light-theme select {
  background-color: #ffffff !important;
  color: #1f2937 !important;
  border-color: #d1d5db !important;
}

.dashboard-light-theme input::placeholder {
  color: #9ca3af !important;
}

/* Cards and containers in Archives/Payments */
.dashboard-light-theme .bg-white\/5,
.dashboard-light-theme .bg-white\/10 {
  background-color: #f9fafb !important;
  border-color: #e5e7eb !important;
}

/* Tab styling */
.dashboard-light-theme [class*="tab-"] {
  color: #1f2937 !important;
}

.dashboard-light-theme [class*="tab-"][class*="active"] {
  background-color: #3b82f6 !important;
  color: white !important;
}

/* Hover effects for interactive elements */
.dashboard-light-theme .hover\:bg-white\/10:hover {
  background-color: #f3f4f6 !important;
}

/* Specific overrides for white text that should be dark in light mode */
.dashboard-light-theme .text-white:not(.bg-gradient-to-r .text-white):not([class*="bg-gradient"] .text-white):not(.bg-blue-500 .text-white):not(.bg-green-500 .text-white):not(.bg-red-500 .text-white):not(.bg-purple-500 .text-white):not(.bg-amber-500 .text-white):not(.bg-orange-500 .text-white) {
  color: #1f2937 !important;
}

/* Card text on colored backgrounds - keep white for readability */
.dashboard-light-theme [style*="background"][style*="color"] .text-white,
.dashboard-light-theme [class*="bg-violet"] .text-white,
.dashboard-light-theme [class*="bg-purple"] .text-white,
.dashboard-light-theme [class*="bg-indigo"] .text-white {
  color: white !important;
}

/* Specific fixes for Archives navigation cards */
.dashboard-light-theme .cursor-pointer[style*="background"] h3,
.dashboard-light-theme .cursor-pointer[style*="background"] p,
.dashboard-light-theme .cursor-pointer[style*="background"] span {
  color: white !important;
}

/* Status badges with inline styles - preserve their colors */
.dashboard-light-theme [style*="backgroundColor"][style*="color"] {
  /* Don't override inline styled elements */
}

/* Navigation cards text override */
.dashboard-light-theme .bg-white\/5 h3.text-white,
.dashboard-light-theme .bg-white\/5 p.text-white {
  color: white !important;
}

/* Navigation tab buttons with gradients - keep white text */
.dashboard-light-theme button.bg-gradient-to-r,
.dashboard-light-theme button[class*="bg-gradient-to-r"] {
  color: white !important;
}

.dashboard-light-theme button.bg-gradient-to-r svg,
.dashboard-light-theme button[class*="bg-gradient-to-r"] svg {
  color: white !important;
}

.dashboard-light-theme button.bg-gradient-to-r span,
.dashboard-light-theme button[class*="bg-gradient-to-r"] span {
  color: white !important;
}

/* Archive tab buttons - inactive state */
.dashboard-light-theme button.text-white\/80:not([class*="bg-gradient"]) {
  color: #6b7280 !important;
}

.dashboard-light-theme button.text-white\/80:not([class*="bg-gradient"]):hover {
  color: #374151 !important;
}

/* Icon colors in light mode - make them darker for better visibility */
.dashboard-light-theme .text-white/70,
.dashboard-light-theme .text-white/80 {
  color: #4b5563 !important;
}

/* Action icons and buttons */
.dashboard-light-theme svg:not([class*="bg-gradient"] svg):not(.bg-blue-500 svg):not(.bg-green-500 svg):not(.bg-red-500 svg):not(.bg-purple-500 svg):not(.text-white svg) {
  color: #6b7280 !important;
}

.dashboard-light-theme svg:hover {
  color: #374151 !important;
}

/* Table action icons */
.dashboard-light-theme td svg,
.dashboard-light-theme .actions-column svg,
.dashboard-light-theme button svg:not([class*="bg-gradient"] button svg) {
  color: #6b7280 !important;
}

.dashboard-light-theme td svg:hover,
.dashboard-light-theme .actions-column svg:hover,
.dashboard-light-theme button:hover svg:not([class*="bg-gradient"] button svg) {
  color: #374151 !important;
}

/* Colorful action buttons - preserve their colors */
.dashboard-light-theme .text-blue-500,
.dashboard-light-theme .text-blue-600 {
  color: #2563eb !important;
}

.dashboard-light-theme .text-green-500,
.dashboard-light-theme .text-green-600 {
  color: #16a34a !important;
}

.dashboard-light-theme .text-red-500,
.dashboard-light-theme .text-red-600 {
  color: #dc2626 !important;
}

.dashboard-light-theme .text-purple-500,
.dashboard-light-theme .text-purple-600 {
  color: #9333ea !important;
}

.dashboard-light-theme .text-orange-500,
.dashboard-light-theme .text-orange-600 {
  color: #ea580c !important;
}

/* Page titles and headers */
.dashboard-light-theme h1.text-white,
.dashboard-light-theme h2.text-white,
.dashboard-light-theme h3.text-white:not([class*="bg-gradient"] h3):not([style*="background"] h3) {
  color: #1f2937 !important;
}

/* Description text */
.dashboard-light-theme p.text-white\/60:not([class*="bg-gradient"] p):not([style*="background"] p) {
  color: #6b7280 !important;
}

/* Ensure proper table text contrast */
.dashboard-light-theme table {
  color: #1f2937 !important;
}

.dashboard-light-theme table th,
.dashboard-light-theme table td {
  color: #1f2937 !important;
}

/* Progress bars and status indicators */
.dashboard-light-theme .progress-bar {
  background-color: #e5e7eb !important;
}

.dashboard-light-theme .progress-fill {
  background-color: #3b82f6 !important;
}

/* Modal and overlay styling */
.dashboard-light-theme .modal-overlay {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.dashboard-light-theme .modal-content {
  background-color: #ffffff !important;
  color: #1f2937 !important;
}

/* Dropdown and select menus */
.dashboard-light-theme .dropdown-menu {
  background-color: #ffffff !important;
  border-color: #d1d5db !important;
  color: #1f2937 !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.dashboard-light-theme .dropdown-item:hover {
  background-color: #f3f4f6 !important;
}

/* Icon colors in light mode */
.dashboard-light-theme .icon-white {
  color: #6b7280 !important;
}

/* Fix font weight to ensure readability */
.dashboard-light-theme .font-medium {
  font-weight: 500;
}

.dashboard-light-theme .font-semibold {
  font-weight: 600;
}

.dashboard-light-theme .font-bold {
  font-weight: 700;
}

/* ===== STATUS BADGES AND TYPE LABELS - WHITE TEXT ON COLORED BACKGROUNDS ===== */

/* Status badges - Force white text on all colored status backgrounds */
.dashboard-light-theme span[class*="bg-green-"],
.dashboard-light-theme span[class*="bg-blue-"], 
.dashboard-light-theme span[class*="bg-red-"],
.dashboard-light-theme span[class*="bg-yellow-"],
.dashboard-light-theme span[class*="bg-orange-"],
.dashboard-light-theme span[class*="bg-purple-"],
.dashboard-light-theme span[class*="bg-indigo-"],
.dashboard-light-theme span[class*="bg-pink-"],
.dashboard-light-theme span[class*="bg-cyan-"],
.dashboard-light-theme div[class*="bg-green-"],
.dashboard-light-theme div[class*="bg-blue-"], 
.dashboard-light-theme div[class*="bg-red-"],
.dashboard-light-theme div[class*="bg-yellow-"],
.dashboard-light-theme div[class*="bg-orange-"],
.dashboard-light-theme div[class*="bg-purple-"],
.dashboard-light-theme div[class*="bg-indigo-"],
.dashboard-light-theme div[class*="bg-pink-"],
.dashboard-light-theme div[class*="bg-cyan-"] {
  color: white !important;
}

/* Specific status badge colors commonly used */
.dashboard-light-theme .bg-green-100,
.dashboard-light-theme .bg-green-200,
.dashboard-light-theme .bg-green-500,
.dashboard-light-theme .bg-green-600 {
  background-color: #059669 !important;
  color: white !important;
}

.dashboard-light-theme .bg-blue-100,
.dashboard-light-theme .bg-blue-200,  
.dashboard-light-theme .bg-blue-500,
.dashboard-light-theme .bg-blue-600 {
  background-color: #2563eb !important;
  color: white !important;
}

.dashboard-light-theme .bg-orange-100,
.dashboard-light-theme .bg-orange-200,
.dashboard-light-theme .bg-orange-500,
.dashboard-light-theme .bg-orange-600 {
  background-color: #ea580c !important;
  color: white !important;
}

.dashboard-light-theme .bg-red-100,
.dashboard-light-theme .bg-red-200,
.dashboard-light-theme .bg-red-500,
.dashboard-light-theme .bg-red-600 {
  background-color: #dc2626 !important;
  color: white !important;
}

.dashboard-light-theme .bg-yellow-100,
.dashboard-light-theme .bg-yellow-200,
.dashboard-light-theme .bg-yellow-500,
.dashboard-light-theme .bg-yellow-600 {
  background-color: #ca8a04 !important;
  color: white !important;
}

.dashboard-light-theme .bg-purple-100,
.dashboard-light-theme .bg-purple-200,
.dashboard-light-theme .bg-purple-500,
.dashboard-light-theme .bg-purple-600 {
  background-color: #9333ea !important;
  color: white !important;
}

/* Force white text on nested elements within colored badges */
.dashboard-light-theme .bg-green-100 *,
.dashboard-light-theme .bg-green-200 *,
.dashboard-light-theme .bg-green-500 *,
.dashboard-light-theme .bg-green-600 *,
.dashboard-light-theme .bg-blue-100 *,
.dashboard-light-theme .bg-blue-200 *,
.dashboard-light-theme .bg-blue-500 *,
.dashboard-light-theme .bg-blue-600 *,
.dashboard-light-theme .bg-orange-100 *,
.dashboard-light-theme .bg-orange-200 *,
.dashboard-light-theme .bg-orange-500 *,
.dashboard-light-theme .bg-orange-600 *,
.dashboard-light-theme .bg-red-100 *,
.dashboard-light-theme .bg-red-200 *,
.dashboard-light-theme .bg-red-500 *,
.dashboard-light-theme .bg-red-600 *,
.dashboard-light-theme .bg-yellow-100 *,
.dashboard-light-theme .bg-yellow-200 *,
.dashboard-light-theme .bg-yellow-500 *,
.dashboard-light-theme .bg-yellow-600 *,
.dashboard-light-theme .bg-purple-100 *,
.dashboard-light-theme .bg-purple-200 *,
.dashboard-light-theme .bg-purple-500 *,
.dashboard-light-theme .bg-purple-600 * {
  color: white !important;
}

/* Text color classes - ensure white text on colored badges */
.dashboard-light-theme .text-green-700,
.dashboard-light-theme .text-green-600,
.dashboard-light-theme .text-green-500 {
  color: white !important;
}

.dashboard-light-theme .text-blue-700,
.dashboard-light-theme .text-blue-600,
.dashboard-light-theme .text-blue-500 {
  color: white !important;
}

.dashboard-light-theme .text-orange-700,
.dashboard-light-theme .text-orange-600,
.dashboard-light-theme .text-orange-500 {
  color: white !important;
}

.dashboard-light-theme .text-red-700,
.dashboard-light-theme .text-red-600,
.dashboard-light-theme .text-red-500 {
  color: white !important;
}

.dashboard-light-theme .text-yellow-700,
.dashboard-light-theme .text-yellow-600,
.dashboard-light-theme .text-yellow-500 {
  color: white !important;
}

.dashboard-light-theme .text-purple-700,
.dashboard-light-theme .text-purple-600,
.dashboard-light-theme .text-purple-500 {
  color: white !important;
}

/* Specific overrides for commonly used status indicators */
.dashboard-light-theme .rounded-full[class*="bg-green"],
.dashboard-light-theme .rounded-lg[class*="bg-green"],
.dashboard-light-theme .rounded-md[class*="bg-green"],
.dashboard-light-theme .rounded[class*="bg-green"],
.dashboard-light-theme .rounded-full[class*="bg-blue"],
.dashboard-light-theme .rounded-lg[class*="bg-blue"],
.dashboard-light-theme .rounded-md[class*="bg-blue"],
.dashboard-light-theme .rounded[class*="bg-blue"],
.dashboard-light-theme .rounded-full[class*="bg-orange"],
.dashboard-light-theme .rounded-lg[class*="bg-orange"],
.dashboard-light-theme .rounded-md[class*="bg-orange"],
.dashboard-light-theme .rounded[class*="bg-orange"],
.dashboard-light-theme .rounded-full[class*="bg-red"],
.dashboard-light-theme .rounded-lg[class*="bg-red"],
.dashboard-light-theme .rounded-md[class*="bg-red"],
.dashboard-light-theme .rounded[class*="bg-red"],
.dashboard-light-theme .rounded-full[class*="bg-yellow"],
.dashboard-light-theme .rounded-lg[class*="bg-yellow"],
.dashboard-light-theme .rounded-md[class*="bg-yellow"],
.dashboard-light-theme .rounded[class*="bg-yellow"],
.dashboard-light-theme .rounded-full[class*="bg-purple"],
.dashboard-light-theme .rounded-lg[class*="bg-purple"],
.dashboard-light-theme .rounded-md[class*="bg-purple"],
.dashboard-light-theme .rounded[class*="bg-purple"] {
  color: white !important;
}

/* Override any text color classes within colored backgrounds */
.dashboard-light-theme [class*="bg-green"] .text-gray-800,
.dashboard-light-theme [class*="bg-green"] .text-gray-700,
.dashboard-light-theme [class*="bg-green"] .text-gray-600,
.dashboard-light-theme [class*="bg-blue"] .text-gray-800,
.dashboard-light-theme [class*="bg-blue"] .text-gray-700,
.dashboard-light-theme [class*="bg-blue"] .text-gray-600,
.dashboard-light-theme [class*="bg-orange"] .text-gray-800,
.dashboard-light-theme [class*="bg-orange"] .text-gray-700,
.dashboard-light-theme [class*="bg-orange"] .text-gray-600,
.dashboard-light-theme [class*="bg-red"] .text-gray-800,
.dashboard-light-theme [class*="bg-red"] .text-gray-700,
.dashboard-light-theme [class*="bg-red"] .text-gray-600,
.dashboard-light-theme [class*="bg-yellow"] .text-gray-800,
.dashboard-light-theme [class*="bg-yellow"] .text-gray-700,
.dashboard-light-theme [class*="bg-yellow"] .text-gray-600,
.dashboard-light-theme [class*="bg-purple"] .text-gray-800,
.dashboard-light-theme [class*="bg-purple"] .text-gray-700,
.dashboard-light-theme [class*="bg-purple"] .text-gray-600 {
  color: white !important;
}

/* ===== EMPLOYEE INITIALS & AVATAR CIRCLES - WHITE TEXT ===== */

/* Employee initials in colored circles - force white text */
.dashboard-light-theme [class*="rounded-full"] {
  color: white !important;
}

.dashboard-light-theme [class*="rounded-full"] *,
.dashboard-light-theme [class*="rounded-full"] span,
.dashboard-light-theme [class*="rounded-full"] div {
  color: white !important;
}

/* Specific rules for employee avatar circles */
.dashboard-light-theme .rounded-full[class*="bg-"],
.dashboard-light-theme .rounded-full[style*="background"] {
  color: white !important;
  font-weight: bold !important;
}

/* Employee initials/abbreviations in any colored background */
.dashboard-light-theme [class*="bg-teal"] *,
.dashboard-light-theme [class*="bg-cyan"] *,
.dashboard-light-theme [class*="bg-emerald"] *,
.dashboard-light-theme [class*="bg-lime"] *,
.dashboard-light-theme [class*="bg-rose"] *,
.dashboard-light-theme [class*="bg-pink"] *,
.dashboard-light-theme [class*="bg-indigo"] *,
.dashboard-light-theme [class*="bg-violet"] * {
  color: white !important;
}

/* Additional coverage for circular avatars and initials */
.dashboard-light-theme .w-8.h-8,
.dashboard-light-theme .w-10.h-10,
.dashboard-light-theme .w-12.h-12 {
  color: white !important;
}

.dashboard-light-theme .w-8.h-8[class*="bg-"],
.dashboard-light-theme .w-10.h-10[class*="bg-"],
.dashboard-light-theme .w-12.h-12[class*="bg-"] {
  color: white !important;
  font-weight: bold !important;
}

/* Text inside any circular colored element */
.dashboard-light-theme [class*="rounded-full"][class*="bg-"] .text-white,
.dashboard-light-theme [class*="rounded-full"][class*="bg-"] .text-gray-800,
.dashboard-light-theme [class*="rounded-full"][class*="bg-"] .text-gray-700,
.dashboard-light-theme [class*="rounded-full"][class*="bg-"] .text-gray-600,
.dashboard-light-theme [class*="rounded-full"][class*="bg-"] .text-black,
.dashboard-light-theme [class*="rounded-full"][class*="bg-"] span,
.dashboard-light-theme [class*="rounded-full"][class*="bg-"] div {
  color: white !important;
}

/* Force white text on all employee initials regardless of text color class */
.dashboard-light-theme td [class*="rounded-full"],
.dashboard-light-theme tr [class*="rounded-full"],
.dashboard-light-theme table [class*="rounded-full"] {
  color: white !important;
  font-weight: bold !important;
}

.dashboard-light-theme td [class*="rounded-full"] *,
.dashboard-light-theme tr [class*="rounded-full"] *,
.dashboard-light-theme table [class*="rounded-full"] * {
  color: white !important;
}

/* Additional employee initial coverage - covers all possible styling patterns */
.dashboard-light-theme .flex.items-center.justify-center.rounded-full,
.dashboard-light-theme .inline-flex.items-center.justify-center.rounded-full {
  color: white !important;
  font-weight: bold !important;
}

.dashboard-light-theme .flex.items-center.justify-center.rounded-full *,
.dashboard-light-theme .inline-flex.items-center.justify-center.rounded-full * {
  color: white !important;
}

/* Common employee avatar patterns */
.dashboard-light-theme .avatar,
.dashboard-light-theme .user-avatar,
.dashboard-light-theme .employee-avatar {
  color: white !important;
  font-weight: bold !important;
}

.dashboard-light-theme .avatar *,
.dashboard-light-theme .user-avatar *,
.dashboard-light-theme .employee-avatar * {
  color: white !important;
}

/* Any element with inline background styles (colored circles) */
.dashboard-light-theme [style*="background-color"][class*="rounded"],
.dashboard-light-theme [style*="background"][class*="rounded-full"] {
  color: white !important;
  font-weight: bold !important;
}

.dashboard-light-theme [style*="background-color"][class*="rounded"] *,
.dashboard-light-theme [style*="background"][class*="rounded-full"] * {
  color: white !important;
}

/* Specific fix for employee table initials (e.g., "MB", "JD", etc.) */
.dashboard-light-theme [class*="bg-teal-500"],
.dashboard-light-theme [class*="bg-cyan-500"],
.dashboard-light-theme [class*="bg-emerald-500"],
.dashboard-light-theme [class*="bg-lime-500"],
.dashboard-light-theme [class*="bg-rose-500"],
.dashboard-light-theme [class*="bg-pink-500"],
.dashboard-light-theme [class*="bg-indigo-500"],
.dashboard-light-theme [class*="bg-violet-500"] {
  color: white !important;
  font-weight: bold !important;
}

/* Ensure all text inside colored circles has white color regardless of original text color class */
.dashboard-light-theme [class*="bg-"][class*="rounded-full"] .text-sm,
.dashboard-light-theme [class*="bg-"][class*="rounded-full"] .text-xs,
.dashboard-light-theme [class*="bg-"][class*="rounded-full"] .text-base,
.dashboard-light-theme [class*="bg-"][class*="rounded-full"] .font-medium,
.dashboard-light-theme [class*="bg-"][class*="rounded-full"] .font-semibold,
.dashboard-light-theme [class*="bg-"][class*="rounded-full"] .font-bold {
  color: white !important;
}

/* Ensure elements we mark as force-white stay white */
.dashboard-light-theme .force-white {
  color: #ffffff !important;
}

.finances-container {
  padding: 1.5rem;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.finances-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.finances-table th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.finances-table th, 
.finances-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: middle;
}

.finances-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}

.finances-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.finances-table tbody tr:last-child {
  border-bottom: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  
  .finances-container {
    padding: 1rem;
  }
  
  .mobile-full-width {
    width: 100%;
  }
}

/* Charts and analytics */
.chart-container {
  position: relative;
  height: 200px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.force-white {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Dashboard Styles */
.dashboard {
  padding: 20px;
  max-width: 100%;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header Styles */
.dashboard-header {
  background-color: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.header-title p {
  font-size: 15px;
  margin: 0;
  opacity: 0.9;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.refresh-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.refresh-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.refresh-button.refreshing svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.time-range-selector {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.time-range-selector option {
  color: white;
  background-color: #334155;
}

.last-updated {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 12px;
  text-align: right;
}

/* KPI Section */
.kpi-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: white;
}

.kpi-icon.revenue {
  background: var(--primary-gradient);
}

.kpi-icon.pending {
  background: var(--accent-gradient);
}

.kpi-icon.average {
  background: var(--success-gradient);
}

.kpi-icon.conversion {
  background: var(--secondary-gradient);
}

.kpi-content {
  flex: 1 1;
}

.kpi-content h3 {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.kpi-value {
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-top: 5px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.dashboard-card {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.dashboard-card:hover {
  box-shadow: 0 4px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.card-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.card-body {
  padding: 20px;
  flex: 1 1;
}

/* Chart Card */
.chart-card {
  grid-column: span 2;
}

.chart-container {
  height: 300px;
  position: relative;
}

/* Status Card */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.status-item.paid {
  background-color: rgba(34, 197, 94, 0.1);
}

.status-item.pending {
  background-color: rgba(249, 115, 22, 0.1);
}

.status-item.overdue {
  background-color: rgba(239, 68, 68, 0.1);
}

.status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.status-item.paid .status-icon {
  color: #22c55e;
}

.status-item.pending .status-icon {
  color: #f97316;
}

.status-item.overdue .status-icon {
  color: #ef4444;
}

.status-content h3 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.status-value {
  font-size: 22px;
  font-weight: 600;
  color: white;
}

.status-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
}

.status-segment {
  height: 100%;
}

.status-segment.paid {
  background-color: #22c55e;
}

.status-segment.pending {
  background-color: #f97316;
}

.status-segment.overdue {
  background-color: #ef4444;
}

/* Category Card */
.category-card {
  height: auto;
}

/* Documents Card */
.documents-card {
  grid-column: span 3;
}

.documents-table {
  width: 100%;
  border-collapse: collapse;
}

.documents-table th,
.documents-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.documents-table th {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 14px;
}

.documents-table td {
  color: white;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.paid {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.status-badge.pending {
  background-color: rgba(249, 115, 22, 0.2);
  color: #fb923c;
}

.status-badge.overdue {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.no-data {
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Actions Card */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
}

.action-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  gap: 12px;
  color: white;
}

.action-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.action-button svg {
  color: #60a5fa;
}

/* Clients and Products Cards */
.clients-card,
.products-card {
  height: 100%;
}

.view-all {
  color: #60a5fa;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}

.top-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-list-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-list-item:last-child {
  border-bottom: none;
}

.rank {
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.info {
  flex: 1 1;
}

.info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: white;
}

.details {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.indicator {
  color: #4ade80;
}

.badge .stock {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 12px;
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.badge .stock.low {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.demo-data-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  margin-left: 12px;
}

.demo-data-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .chart-card {
    grid-column: span 2;
  }
  
  .documents-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .chart-card {
    grid-column: span 1;
  }
  
  .documents-card {
    grid-column: span 1;
  }
  
  .kpi-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-actions {
    margin-top: 16px;
    width: 100%;
  }
}
  
@media (max-width: 480px) {
  .kpi-section {
    grid-template-columns: 1fr;
  }
  
  .status-grid {
    grid-template-columns: 1fr;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard {
    padding: 12px;
  }
  
  .dashboard-header {
    padding: 16px;
  }
  
  .documents-table-wrapper {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .documents-table {
    min-width: 500px;
  }
  
  /* Enhanced mobile styles for Dashboard */
  .documents-table th,
  .documents-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .hide-on-mobile {
    display: none;
  }
  
  .chart-container {
    height: 250px; /* Shorter charts on mobile */
  }
  
  /* Better spacing for KPI cards on mobile */
  .kpi-card {
    padding: 15px;
    margin-bottom: 10px;
  }
  
  .kpi-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  
  .kpi-value {
    font-size: 18px;
  }
  
  /* Improve top list items spacing */
  .top-list-item {
    padding: 10px 0;
  }
  
  /* Better action buttons */
  .action-button {
    padding: 15px;
  }
  
  /* Improve time range selector and last updated info */
  .flex.flex-wrap.justify-between.items-center.text-white\/60.text-sm.mt-6 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  /* Fix dashboard header on mobile */
  .flex.justify-between.items-center.mb-6 {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .flex.justify-between.items-center.mb-6 button {
    width: 100%;
    justify-content: center;
  }
  
  /* Mobile utility classes */
  .mobile-full-width {
    width: 100%;
  }
  
  .mobile-flex-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .mobile-mt-2 {
    margin-top: 8px;
  }
}

/* Consistent container styles for all pages */
.overview-container,
.dashboard-container,
.document-creation-container,
.archives-container,
.finances-container,
.clients-container,
.employees-container,
.departments-container,
.delivery-transport-container,
.products-container,
.categories-container,
.stock-container,
.returns-container,
.reports-container,
.analysis-container,
.settings-container {
  padding: 1.5rem;
}

/* Responsive styles for all containers */
@media (max-width: 768px) {
  .overview-container,
  .dashboard-container,
  .document-creation-container,
  .archives-container,
  .finances-container,
  .clients-container,
  .employees-container,
  .departments-container,
  .delivery-transport-container,
  .products-container,
  .categories-container,
  .stock-container,
  .returns-container,
  .reports-container,
  .analysis-container,
  .settings-container {
    padding: 1rem;
  }
} 
/* Document Preview Styles */
.document-preview {
  padding: 0;
  min-height: 100vh;
  background: white;
  position: relative;
}

/* Action Bar */
.preview-actions {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: #64748b;
  color: white;
  border-color: #64748b;
}

.btn-secondary:hover {
  background: #475569;
  border-color: #475569;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.btn-outline {
  background: white;
  color: #64748b;
  border-color: #e2e8f0;
}

.btn-outline:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.btn-success {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.btn-success:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Document Container */
.document-container {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem;
  background: white;
  min-height: 100vh;
  /* Ensure proper A4 scaling and aspect ratio */
  max-width: 100%;
  overflow-x: auto;
}

.document-paper {
  /* A4 dimensions: 210mm x 297mm (exact A4 format) */
  width: 210mm;
  min-height: 297mm;
  max-height: none;
  background: white;
  padding: 15mm;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  position: relative;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 2rem;
  /* Ensure proper A4 aspect ratio (210:297 = 1:1.414) */
  aspect-ratio: 210 / 297;
  /* Force consistent dimensions across browsers */
  min-width: 210mm;
  max-width: 210mm;
  /* Contains absolutely positioned footer */
  overflow: visible;
  /* Enhanced text rendering for better quality */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga", "clig", "kern";
  font-variant-ligatures: common-ligatures;
  -webkit-font-kerning: normal;
          font-kerning: normal;
}

/* Enhanced text rendering for all elements in document */
.document-paper * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "kern";
  -webkit-font-kerning: normal;
          font-kerning: normal;
}

/* Document Header */
.document-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  background: white;
}

/* Company Letterhead Styles */
.company-letterhead {
  flex: 1 1;
  margin-right: 2rem;
}

/* Full-width Company Letterhead */
.company-letterhead-full {
  width: 100%;
  padding: 1rem;
  margin-bottom: 2rem;
  background: white;
}

.company-header-row {
  position: relative;
  margin-bottom: 1rem;
  min-height: 100px;
  background: white;
}

.company-logo-section {
  position: absolute;
  left: 0;
  top: 0;
}

.company-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-circle {
  width: 80px;
  height: 80px;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* Logo text should only be white when inside logo-circle */
.logo-circle .logo-text {
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
}

/* Default logo text styling for other contexts */
.logo-text {
  color: #374151;
  font-size: 0.625rem;
  font-weight: 600;
}

.logo-details {
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.2;
}

.region-text,
.port-text {
  margin: 0.1rem 0;
  font-weight: 500;
}

.company-main-info {
  width: 100%;
  text-align: center;
  padding-top: 10px;
}

.company-arabic-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 4px;
  direction: rtl;
}

.company-french-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 8px;
}

.company-activity-description {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.company-services {
  font-size: 0.8rem;
  color: #374151;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.company-legal-info {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.75rem;
  font-size: 0.7rem;
  color: #374151;
  line-height: 1.4;
  background: transparent;
}

.legal-info-line {
  margin: 0.3rem 0;
  text-align: center;
}

.legal-info-line strong {
  font-weight: 600;
  color: #1f2937;
}

.blue-line-separator {
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1e40af);
  margin: 0.75rem 0 0 0;
  border-radius: 2px;
  width: 100%;
}

.company-contact-line {
  text-align: center;
}

.company-digital-line {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.company-digital-line span {
  white-space: nowrap;
}

.document-info {
  text-align: right;
  flex: 1 1;
}

.document-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
}

.document-details {
  font-size: 0.875rem;
  color: #64748b;
}

.document-details p {
  margin: 0.5rem 0;
}

/* Client Section */
.client-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.client-details {
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

.client-details p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: #374151;
}

/* Items Table Section */
.items-table-section {
  margin: 1rem 0 1rem 0;
  width: 100%;
  max-height: calc(100% - 180mm);
  overflow: visible;
}

.items-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85rem;
  margin-bottom: 0;
  table-layout: fixed;
  max-height: 80mm; /* Reduce the table height */
}

/* Reduce the size of empty rows to make the table more compact */
.items-table tr:empty {
  height: 0.5rem;
}

/* Add more space between the table and the totals section */
.totals-section {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin: -0.5rem 0 0 0;
  margin-left: 52%;
  width: 48%;
  flex-direction: column;
}

/* Style the amount in words directly under the totals table */
.amount-in-words {
  clear: both;
  width: 100%;
  margin-top: -2rem;
  margin-bottom: 1.5rem;
  text-align: left;
  position: relative;
  display: block;
  z-index: 15;
}

/* Special style for payment voucher amount section (no negative margin since no totals table above) */
.amount-in-words.payment-voucher-amount {
  margin-top: 2rem;
}

.amount-in-words p {
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: #000;
  font-size: 0.9rem;
  line-height: 1.1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: block;
  white-space: normal;
  text-align: left;
}

/* Remove duplicate rule - consolidating below */

@media print {
  .table-footer {
    position: relative !important;
    margin-top: 0.5rem !important;
    margin-bottom: 3rem !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both !important;
    z-index: 5 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
}

.items-table th {
  background-color: #f8f9fa;
  border: 1px solid #000;
  padding: 0.5rem 0.3rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: #000000 !important;
}

.items-table td {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-top: none;
  border-bottom: none;
  padding: 0.4rem 0.3rem;
  text-align: center;
  height: 25px;
  color: #000000 !important;
}

/* Only add bottom border to the last row */
.items-table tbody tr:last-child td {
  border-bottom: 1px solid #000;
}

/* Default column widths for standard item codes (up to 6 chars like MAT-01) */
.items-table th:nth-child(1) { width: 5%; }   /* N° */
.items-table th:nth-child(2) { width: 10%; }  /* Item */
.items-table th:nth-child(3) { width: 30%; }  /* Désignation */
.items-table th:nth-child(4) { width: 5%; }   /* U */
.items-table th:nth-child(5) { width: 5%; }   /* Qte */
.items-table th:nth-child(6) { width: 20.5%; }  /* P.U HT (+2.5%) */
.items-table th:nth-child(7) { width: 20.5%; }  /* Montant (+2.5%) */

/* Column widths when reference column is disabled (showRef = false) */
.items-table.no-reference th:nth-child(1),
.items-table.no-reference td:nth-child(1) { width: 5% !important; }   /* N° */
.items-table.no-reference th:nth-child(2),
.items-table.no-reference td:nth-child(2) { width: 40% !important; }  /* Désignation (expanded) */
.items-table.no-reference th:nth-child(3),
.items-table.no-reference td:nth-child(3) { width: 5% !important; }   /* U */
.items-table.no-reference th:nth-child(4),
.items-table.no-reference td:nth-child(4) { width: 5% !important; }   /* Qte */
.items-table.no-reference th:nth-child(5),
.items-table.no-reference td:nth-child(5) { width: 22.5% !important; }  /* P.U HT */
.items-table.no-reference th:nth-child(6),
.items-table.no-reference td:nth-child(6) { width: 22.5% !important; }  /* Montant */

/* Column widths for quote-request (Standard mode: N° | Désignation | U | Q | Budget) */
.items-table.quote-request th:nth-child(1),
.items-table.quote-request td:nth-child(1) { width: 5% !important; }   /* N° */
.items-table.quote-request th:nth-child(2),
.items-table.quote-request td:nth-child(2) { width: 48% !important; }  /* Désignation */
.items-table.quote-request th:nth-child(3),
.items-table.quote-request td:nth-child(3) { width: 6% !important; }   /* U - Small like Q */
.items-table.quote-request th:nth-child(4),
.items-table.quote-request td:nth-child(4) { width: 6% !important; }   /* Q */
.items-table.quote-request th:nth-child(5),
.items-table.quote-request td:nth-child(5) { width: 35% !important; }  /* Budget - EXTRA LARGE! */

/* Column widths for proforma-request (Standard mode: N° | Référence | Désignation | U | Q) */
.items-table.proforma-request th:nth-child(1),
.items-table.proforma-request td:nth-child(1) { width: 5% !important; }   /* N° */
.items-table.proforma-request th:nth-child(2),
.items-table.proforma-request td:nth-child(2) { width: 15% !important; }  /* Référence */
.items-table.proforma-request th:nth-child(3),
.items-table.proforma-request td:nth-child(3) { width: 62% !important; }  /* Désignation */
.items-table.proforma-request th:nth-child(4),
.items-table.proforma-request td:nth-child(4) { width: 9% !important; }   /* U */
.items-table.proforma-request th:nth-child(5),
.items-table.proforma-request td:nth-child(5) { width: 9% !important; }   /* Q */

/* Column widths for fabrication table type - Larg column removed */
.items-table.fabrication-table th:nth-child(1),
.items-table.fabrication-table td:nth-child(1) { width: 5% !important; }   /* N° */
.items-table.fabrication-table th:nth-child(2),
.items-table.fabrication-table td:nth-child(2) { width: 15% !important; }  /* Réf */
.items-table.fabrication-table th:nth-child(3),
.items-table.fabrication-table td:nth-child(3) { width: 40% !important; }  /* Désignation */
.items-table.fabrication-table th:nth-child(4),
.items-table.fabrication-table td:nth-child(4) { width: 10% !important; }   /* Long */
.items-table.fabrication-table th:nth-child(5),
.items-table.fabrication-table td:nth-child(5) { width: 10% !important; }   /* Qté */
.items-table.fabrication-table th:nth-child(6),
.items-table.fabrication-table td:nth-child(6) { width: 20% !important; }  /* Remarque */

/* Adjust for longer item codes (7-8 chars like MAT-100) - ONLY FOR 7-column tables */
.items-table.long-item-codes:not(.no-reference) th:nth-child(2) { width: 12%; }  /* Item +2% */
.items-table.long-item-codes:not(.no-reference) th:nth-child(3) { width: 28%; }  /* Désignation -2% */
.items-table.long-item-codes:not(.no-reference) th:nth-child(6) { width: 18.5%; }  /* P.U HT +0.5% */
.items-table.long-item-codes:not(.no-reference) th:nth-child(7) { width: 18.5%; }  /* Montant +0.5% */

/* Adjust for very long item codes (9+ chars like MAT-1000) - ONLY FOR 7-column tables */
.items-table.very-long-item-codes:not(.no-reference) th:nth-child(2) { width: 14%; }  /* Item +4% */
.items-table.very-long-item-codes:not(.no-reference) th:nth-child(3) { width: 26%; }  /* Désignation -4% */
.items-table.very-long-item-codes:not(.no-reference) th:nth-child(6) { width: 17.5%; }  /* P.U HT +2.5% */
.items-table.very-long-item-codes:not(.no-reference) th:nth-child(7) { width: 17.5%; }  /* Montant +2.5% */

/* When no reference column + long item codes */
.items-table.no-reference.long-item-codes th:nth-child(2),
.items-table.no-reference.long-item-codes td:nth-child(2) { width: 38% !important; }  /* Désignation expanded -2% */
.items-table.no-reference.long-item-codes th:nth-child(5),
.items-table.no-reference.long-item-codes td:nth-child(5) { width: 21% !important; }   /* P.U HT */
.items-table.no-reference.long-item-codes th:nth-child(6),
.items-table.no-reference.long-item-codes td:nth-child(6) { width: 21% !important; }   /* Montant */

/* When no reference column + very long item codes */
.items-table.no-reference.very-long-item-codes th:nth-child(2),
.items-table.no-reference.very-long-item-codes td:nth-child(2) { width: 36% !important; }  /* Désignation expanded -4% */
.items-table.no-reference.very-long-item-codes th:nth-child(5),
.items-table.no-reference.very-long-item-codes td:nth-child(5) { width: 19.5% !important; }   /* P.U HT */
.items-table.no-reference.very-long-item-codes th:nth-child(6),
.items-table.no-reference.very-long-item-codes td:nth-child(6) { width: 19.5% !important; }   /* Montant */

/* When no reference column + wide numbers */
.items-table.no-reference.wide-numbers th:nth-child(1),
.items-table.no-reference.wide-numbers td:nth-child(1) { width: 5% !important; }   /* N° */
.items-table.no-reference.wide-numbers th:nth-child(2),
.items-table.no-reference.wide-numbers td:nth-child(2) { width: 40% !important; }  /* Désignation */
.items-table.no-reference.wide-numbers th:nth-child(3),
.items-table.no-reference.wide-numbers td:nth-child(3) { width: 5% !important; }   /* U */
.items-table.no-reference.wide-numbers th:nth-child(4),
.items-table.no-reference.wide-numbers td:nth-child(4) { width: 5% !important; }   /* Q */
.items-table.no-reference.wide-numbers th:nth-child(5),
.items-table.no-reference.wide-numbers td:nth-child(5) { width: 22.5% !important; }  /* P.U HT */
.items-table.no-reference.wide-numbers th:nth-child(6),
.items-table.no-reference.wide-numbers td:nth-child(6) { width: 22.5% !important; }  /* Montant */

/* Adjust for wider Q column (2+ digits like 19) - keep same as U column - ONLY FOR 7-column tables */
.items-table.wide-numbers:not(.no-reference) th:nth-child(5) { width: 5%; }   /* Q same as U */
.items-table.wide-numbers:not(.no-reference) th:nth-child(3) { width: 30%; }  /* Désignation unchanged */

/* Combined adjustments for long item codes AND wide numbers - ONLY FOR 7-column tables */
.items-table.long-item-codes.wide-numbers:not(.no-reference) th:nth-child(2) { width: 12%; }  /* Item +2% */
.items-table.long-item-codes.wide-numbers:not(.no-reference) th:nth-child(5) { width: 5%; }   /* Q same as U */
.items-table.long-item-codes.wide-numbers:not(.no-reference) th:nth-child(3) { width: 28%; }  /* Désignation -2% */
.items-table.long-item-codes.wide-numbers:not(.no-reference) th:nth-child(6) { width: 18.5%; }  /* P.U HT +0.5% */
.items-table.long-item-codes.wide-numbers:not(.no-reference) th:nth-child(7) { width: 18.5%; }  /* Montant +0.5% */

.items-table.very-long-item-codes.wide-numbers:not(.no-reference) th:nth-child(2) { width: 14%; }  /* Item +4% */
.items-table.very-long-item-codes.wide-numbers:not(.no-reference) th:nth-child(5) { width: 5%; }   /* Q same as U */
.items-table.very-long-item-codes.wide-numbers:not(.no-reference) th:nth-child(3) { width: 26%; }  /* Désignation -4% */
.items-table.very-long-item-codes.wide-numbers:not(.no-reference) th:nth-child(6) { width: 17.5%; }  /* P.U HT +2.5% */
.items-table.very-long-item-codes.wide-numbers:not(.no-reference) th:nth-child(7) { width: 17.5%; }  /* Montant +2.5% */

/* Ensure total section is consistent across all document types */
.totals-section {
  display: flex;
  justify-content: flex-start;
  margin: 0.5rem 0 3rem 0;
  margin-left: 52%;
  width: 48%;
  flex-direction: column;
  position: relative;
  z-index: 10;
  /* Enforce consistent layout */
  box-sizing: border-box;
}

.totals-table {
  border-collapse: collapse;
  font-size: 0.85rem;
  width: 100%;
  line-height: 1.5;
  /* Add fixed table layout for consistent PDF rendering */
  table-layout: fixed;
  /* Ensure a visible line at the top and bottom of the totals box */
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

/* Fix row height for better vertical alignment in PDF output */
.totals-table tr {
  height: 30px !important;
  min-height: 30px !important;
}

.totals-table td {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-top: none;
  border-bottom: none;
  padding: 0.15rem 0.6rem;
  line-height: 1.5;
  /* Ensure proper display mode */
  display: table-cell;
  /* Fix vertical alignment for PDF rendering */
  vertical-align: middle;
}

/* Only the top and bottom borders for the entire table */
.totals-table tr:first-child td {
  border-top: 1px solid #000;
}

.totals-table tr:last-child td {
  border-bottom: 1px solid #000;
}

.total-label {
  background-color: #f8f9fa;
  font-weight: 600;
  text-align: left;
  width: 50%;
  padding: 0.15rem 0.6rem 0.15rem 1rem;
  position: relative;
  color: #000000 !important;
  /* Fix vertical alignment for PDF rendering */
  vertical-align: middle;
  display: table-cell;
}

.total-label::after {
  display: none;
}

.total-value {
  text-align: left;
  width: 50%;
  background-color: white;
  padding: 0.15rem 1rem;
  color: #000000 !important;
  /* Fix vertical alignment for PDF rendering */
  vertical-align: middle;
  display: table-cell;
  /* Ensure amounts stay on one line */
  white-space: nowrap;
}

.net-total .total-label,
.net-total .total-value {
  background-color: #e9ecef;
  font-weight: 700;
}

/* Ensure the table footer with amount in words is visible */
.table-footer {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  clear: both;
  width: 100%;
  position: relative;
  z-index: 2;
  padding-bottom: 0.2rem;
  display: block !important;
  visibility: visible !important;
}

/* Add extra padding for shipping-slip */
.document-preview[data-document-type="shipping-slip"] .table-footer {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.table-footer p {
  margin: 0;
  padding: 0.2rem 0;
  font-weight: 500;
  color: #000;
  text-align: left;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: block !important;
  white-space: normal;
  font-size: 0.9rem;
}

/* Additional Info */
.additional-info {
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

.additional-info p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: #374151;
}

/* Notes Section - positioned just before footer */
.notes-section {
  position: absolute;
  bottom: 43mm;
  left: 15mm;
  right: 15mm;
  width: calc(100% - 30mm);
  padding: 0;
  margin: 0;
}

.notes-title {
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 0.1rem;
  color: #000000 !important;
  display: block;
  white-space: nowrap;
  text-align: left;
  text-shadow: none !important;
  filter: none !important;
}

.notes-content {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
  padding: 0.5rem 0;
  white-space: pre-line;
}

/* Document Footer */
.document-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  color: #64748b;
  font-size: 0.75rem;
}

.document-footer p {
  margin: 0.25rem 0;
}

/* Ensure A4 dimensions in preview and print */
@page {
  size: A4;
  margin: 0;
}

/* Print Styles */
@media print {
  /* Hide browser headers and footers completely */
  @page {
    size: A4;
    margin: 0 !important;
  }
  
  /* Hide all UI elements */
  .preview-actions {
    display: none !important;
  }
  
  .signature-overlay,
  .signature-canvas-overlay {
    display: none !important;
  }
  
  /* Clean document styling */
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  
  /* Force remove browser headers/footers */
  html {
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Hide all possible print headers/footers */
  @page :first {
    margin: 0 !important;
  }
  
  @page :left {
    margin: 0 !important;
  }
  
  @page :right {
    margin: 0 !important;
  }
  
  .document-preview {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .document-container {
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .document-paper {
      box-shadow: none !important;
      border-radius: 0 !important;
      width: 210mm !important;
      height: 297mm !important;
      min-height: 297mm !important;
      max-height: 297mm !important;
      padding: 15mm !important;
      margin: 0 !important;
      background: white !important;
      page-break-inside: avoid;
      overflow: hidden !important;
      box-sizing: border-box !important;
      font-family: Arial, sans-serif !important;
      font-size: 14px !important;
      line-height: 1.4 !important;
    }
  
  /* Force blue border color for recipient box in print */
  .recipient-box {
    border: 1px solid #3b82f6 !important;
    border-color: #3b82f6 !important;
  }

  /* Ensure content fills the page properly */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-feature-settings: "kern" 1, "kern" !important;
    -webkit-font-kerning: normal !important;
            font-kerning: normal !important;
  }
}

/* Desktop and Large Screens - Perfect A4 scaling */
@media (min-width: 1200px) {
  .document-container {
    padding: 2rem;
    /* Center document perfectly */
    align-items: flex-start;
  }
  
  .document-paper {
    /* Perfect A4 dimensions for desktop */
    width: 210mm;
    min-height: 297mm;
    /* Scale up slightly for better readability on large screens */
    transform: scale(1.1);
    transform-origin: top center;
    margin-bottom: 3rem;
  }
}

/* Tablet and Medium Screens - Optimized A4 scaling */
@media (min-width: 769px) and (max-width: 1199px) {
  .document-container {
    padding: 1.5rem;
  }
  
  .document-paper {
    /* Standard A4 dimensions for tablets */
    width: 210mm;
    min-height: 297mm;
    /* No scaling needed for tablet */
    transform: scale(1);
    margin-bottom: 2rem;
  }
}

/* Responsive Design - Maintain A4 aspect ratio */
@media (max-width: 768px) {
  .preview-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .action-buttons {
    justify-content: center;
  }
  
  .document-container {
    padding: 0.5rem;
    /* Scale document container for mobile while maintaining A4 */
    transform-origin: top center;
  }
  
  .document-paper {
    /* Maintain A4 proportions on mobile */
    width: 210mm;
    min-width: 210mm;
    max-width: 210mm;
    min-height: 297mm;
    /* Scale down for mobile while keeping A4 ratio */
    transform: scale(0.4);
    transform-origin: top center;
    margin: 0 auto -180mm auto;
    padding: 15mm;
  }
  
  .document-header {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .document-info {
    text-align: left;
  }
  
  .items-table {
    font-size: 0.75rem;
  }
  
  .items-table th,
  .items-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .totals-table {
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .items-table th:nth-child(2),
  .items-table td:nth-child(2) {
    display: none;
  }
  
  .company-name {
    font-size: 1.5rem;
  }
  
  .document-title {
    font-size: 1.25rem;
  }
}

/* Contact Footer Styles */
.document-footer-contact {
  margin-top: 1rem;
  border-top: 1px solid #000;
  padding-top: 0.5rem;
  text-align: center;
  font-size: 0.6rem;
  line-height: 1.3;
  background: white;
  clear: both;
}

.contact-line {
  margin: 0.2rem 0;
  color: #000;
  font-size: 0.6rem;
  line-height: 1.3;
}

.contact-line strong {
  font-weight: 600;
  color: #000;
}

.email-link {
  color: #1e40af;
  text-decoration: none;
}

.website-link {
  color: #1e40af;
  text-decoration: underline;
}

/* New Header Design */
.new-document-header {
  width: 100%;
  background: white;
  padding: 8px 0;
  margin-bottom: 0;
  margin-top: -1rem;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  position: relative;
  padding: 0 8px;
}

.left-section {
  position: absolute;
  left: 8px;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.company-logo-new {
  margin-bottom: 0;
}

.logo-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0;
}

.logo-subtitle {
  text-align: center;
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.2;
}

.center-section {
  text-align: center;
  width: 100%;
  padding-top: 0.5rem;
  position: relative;
}

.company-name-arabic {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 3px;
  direction: rtl;
}

.company-name-french {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 2px;
  margin-top: -4px;
}

.company-activity {
  font-size: 0.95rem;
  color: #000000 !important;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.company-services-italic {
  font-size: 0.9rem;
  color: #000000 !important;
  font-style: italic;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.small-separator-line {
  width: 80%;
  height: 1px;
  background: #e2e8f0;
  margin: 0.5rem auto;
  margin-top: 0.25rem;
}

.company-details-inline {
  text-align: center;
  margin-bottom: 0.5rem;
}

.company-details {
  text-align: center;
  margin-bottom: 1rem;
}

.details-line {
  font-size: 0.75rem;
  color: #000;
  margin: 0.25rem 0;
  line-height: 1.4;
}

.details-line strong {
  font-weight: 600;
  color: #000;
}

.blue-separator-line {
  width: 100%;
  height: 2px;
  background: #3b82f6;
  margin-top: 0.5rem;
  clear: both;
}

/* Document Title Section */
.document-title-section {
  text-align: center;
  margin: 0 0 0.5rem 0;
  padding: 0;
}

.document-title-main {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e40af !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  padding-bottom: 0.2rem;
}

/* Footer fixed at the bottom */
.simple-footer {
  position: absolute;
  bottom: 15mm;
  left: 15mm;
  right: 15mm;
  width: calc(100% - 30mm);
  padding-top: 1rem;
  padding: 0;
  z-index: 10;
  /* Fixed position - never moves regardless of content above */
}

/* Duplicate rule removed - consolidated above */

.table-footer p {
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: #000;
  text-align: left;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: block !important;
}

/* Footer is now fixed at bottom - no document type adjustments needed */
.document-preview[data-document-type="shipping-slip"] .simple-footer,
.document-preview[data-document-type="invoice"] .simple-footer {
  position: absolute;
  bottom: 15mm;
  left: 15mm;
  right: 15mm;
  width: calc(100% - 30mm);
}

.footer-separator {
  width: 100%;
  height: 1px;
  background: #000;
  margin-bottom: 0.5rem;
  margin-top: -0.4rem;
}

.footer-content {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: -0.1rem;
}

.footer-line {
  margin: 0.2rem 0;
  color: #000;
}

.footer-line strong {
  font-weight: 600;
}

.email-text {
  color: #1e40af;
}

.website-text {
  color: #1e40af;
}

/* Document Information Grid */
.document-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  margin: 0rem 0 0.8rem 0;
  padding: 0 0.5rem;
  align-items: start;
}

.document-info-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.2;
  margin-bottom: 0.1rem;
}

.info-label {
  min-width: 120px;
  font-weight: 700;
  color: #000000 !important;
}

.document-info-left .info-value {
  color: #000000 !important;
  font-weight: 300;
  font-size: 0.8rem;
}

.info-row.problem-description {
  margin-top: 0.5rem;
  background-color: #f9f9f9;
  padding: 0.5rem;
  border-radius: 4px;
}

.info-row.problem-description .info-label {
  font-weight: bold;
  color: #555;
  margin-bottom: 0.3rem;
}

.info-row.problem-description .info-value {
  white-space: pre-wrap;
}

/* Recipient Box */
.document-info-right {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.recipient-box {
  border: 1px solid #3b82f6;
  border-radius: 0.5rem;
  padding: 0.8rem;
  width: 100%;
  max-width: 420px;
  margin-top: 0;
  margin-left: 4%;
}

.recipient-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.recipient-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.doit-label {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.8rem;
}

.recipient-address {
  color: #000000 !important;
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 0.3rem;
  font-weight: 300;
}

.recipient-details {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-align: left;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.2;
  margin-bottom: 0.1rem;
}

.recipient-details .detail-label {
  font-weight: 700 !important;
  color: #000000 !important;
  min-width: 80px;
  margin-right: 0.5rem;
}

.recipient-details .detail-value {
  color: #000000 !important;
  flex: 1 1;
  font-weight: 300;
}

/* Print Styles */
@media print {
  .document-info-grid {
    margin: 1rem 0;
    page-break-inside: avoid;
  }
  
  .recipient-box {
    border-color: #000;
  }
}

/* Signature Canvas Overlay */
.signature-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 100;
}

.signature-canvas-overlay {
  pointer-events: all;
  cursor: crosshair;
  background: transparent;
}

/* Ajustements pour le mode signature */
.document-preview.signing .document-container {
  cursor: crosshair;
}

/* Print styles */
@media print {
  .signature-overlay,
  .signature-canvas-overlay {
    display: none;
  }
}

/* Draggable Stamp and Signature Container */
.company-stamp-signature-container {
  position: relative;
  width: 100%;
  height: 200px; /* Augmenté pour accueillir les éléments */
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: visible; /* Permet aux éléments de dépasser si nécessaire */
  gap: 2rem; /* Espacement entre les éléments */
  border: 2px dashed transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.company-stamp-signature-container.drag-over {
  border-color: #007bff;
  background-color: rgba(0, 123, 255, 0.05);
}

.draggable-element {
  position: relative;
  display: inline-block;
  margin: 1rem;
}

.draggable-element:hover .size-controls,
.draggable-element-global:hover .size-controls {
  opacity: 1;
}

/* Global draggable elements (anywhere on A4 page) */
.draggable-element-global {
  position: absolute !important;
  z-index: 1000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 1px dashed rgba(0, 123, 255, 0.2);
  border-radius: 4px;
  padding: 2px;
  transition: border-color 0.3s ease;
}

.draggable-element-global:hover {
  border-color: rgba(0, 123, 255, 0.6);
}

.draggable-element-global .size-controls {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 4px 6px;
  white-space: nowrap;
}

.size-controls {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 4px 6px;
}

.size-btn {
  background: #007bff;
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn:hover {
  background: #0056b3;
}

.draggable-stamp, .draggable-signature {
  cursor: move;
  border: 2px dashed transparent;
  transition: border-color 0.3s ease;
  object-fit: contain;
  display: block;
  max-width: 100%;
  height: auto;
}

/* When draggable elements are positioned absolutely (in container) */
.company-stamp-signature-container .draggable-stamp,
.company-stamp-signature-container .draggable-signature {
  position: absolute !important;
  max-width: none !important;
  max-height: none !important;
}

.draggable-stamp:hover, .draggable-signature:hover {
  border-color: #007bff;
}

.draggable-stamp:active, .draggable-signature:active {
  cursor: grabbing;
}

/* Document container drag feedback */
.document-container {
  transition: box-shadow 0.3s ease;
}

.document-container.drag-active {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3) !important;
}

/* Stamp Styles */
.stamp-preview {
  pointer-events: none;
  transition: all 0.2s ease;
}

.stamp-outer-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-15deg);
  position: relative;
}

.stamp-inner-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid #0052cc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.stamp-inner-content {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0052cc;
  position: relative;
  padding: 10px;
}

.stamp-company-name {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}

.stamp-details {
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.stamp-rc, .stamp-nif {
  font-weight: 600;
}

.stamp-date {
  font-size: 8px;
  margin-top: 3px;
}

/* Decorative elements */
.stamp-outer-circle::before {
  content: '';
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  border: 1px dotted #0052cc;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.stamp-inner-content::before {
  content: '★';
  position: absolute;
  top: 15px;
  font-size: 10px;
  color: #0052cc;
}

.stamp-inner-content::after {
  content: '★';
  position: absolute;
  bottom: 15px;
  font-size: 10px;
  color: #0052cc;
}

/* Top and Bottom Text Arc */
.stamp-top-text,
.stamp-bottom-text {
  position: absolute;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 1px;
  color: #0052cc;
}

.stamp-top-text {
  top: 20px;
  transform: rotate(-5deg);
}

.stamp-bottom-text {
  bottom: 20px;
  transform: rotate(5deg);
}

/* Print styles */
@media print {
  .stamp-preview {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  
  .stamp-outer-circle,
  .stamp-inner-circle,
  .stamp-outer-circle::before,
  .stamp-inner-content,
  .stamp-inner-content::before,
  .stamp-inner-content::after {
    border-color: #0052cc;
    color: #0052cc;
  }
}

/* Proforma Specific Styles */
.proforma-info-section {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
}

.proforma-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.proforma-left,
.proforma-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.proforma-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.proforma-item:last-child {
  border-bottom: none;
}

.proforma-label {
  font-weight: 600;
  color: #374151;
  flex: 1 1;
  margin-right: 1rem;
}

.proforma-value {
  font-weight: 500;
  color: #1f2937;
  text-align: right;
  flex: 0 0 auto;
  max-width: 60%;
}

@media print {
  .simple-footer {
    position: absolute !important;
    bottom: 15mm !important;
    left: 15mm !important;
    right: 15mm !important;
    width: calc(100% - 30mm) !important;
    margin-top: 0 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  .notes-section {
    position: absolute !important;
    bottom: 43mm !important;
    left: 15mm !important;
    right: 15mm !important;
    width: calc(100% - 30mm) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .table-footer {
    position: absolute !important;
    bottom: 40mm !important;
    left: 15mm !important;
    right: 15mm !important;
    width: calc(100% - 30mm) !important;
    padding: 0 !important;
    z-index: 5 !important;
  }
  
  .table-footer p {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  
  .footer-separator {
    background: #000 !important;
    border: none !important;
    border-top: 1px solid #000 !important;
    height: 1px !important;
    width: 100% !important;
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  
  .proforma-info-section {
    background: transparent;
    border: 1px solid #374151;
    margin: 1rem 0;
    page-break-inside: avoid;
  }
  
  .proforma-item {
    border-bottom-color: #6b7280;
  }
  
  .proforma-label,
  .proforma-value {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .proforma-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .proforma-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .proforma-value {
    text-align: left;
    max-width: 100%;
  }
}

@media print {
  .items-table {
    max-height: 80mm !important;
    margin-bottom: 0 !important;
  }
  
  .totals-section {
    margin: -0.5rem 0 0 0 !important;
    margin-left: 52% !important;
  }
  
  .table-footer {
    position: relative !important;
    margin-top: 0 !important;
    margin-bottom: 3rem !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both !important;
    z-index: 5 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  .table-footer p {
    padding: 0 !important;
    white-space: normal !important;
  }
}

/* Improve spacing in print mode */
@media print {
  .table-footer {
    margin-top: 0 !important;
    margin-bottom: 3rem !important;
  }
  
  .table-footer p {
    padding: 0 !important;
  }
}

/* Print styles for amount in words */
@media print {
  .amount-in-words {
    width: 100% !important;
    margin-top: -2rem !important;
    margin-bottom: 2rem !important;
    display: block !important;
    position: relative !important;
    z-index: 15 !important;
    text-align: left !important;
  }
  
  .amount-in-words.payment-voucher-amount {
    margin-top: 2rem !important;
  }
  
  .amount-in-words p {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
    text-align: left !important;
  }

  /* Ensure totals table renders properly in PDF */
  .totals-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  .totals-table td {
    display: table-cell !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    vertical-align: middle !important;
    height: 30px !important;
    min-height: 30px !important;
    line-height: 1.5 !important;
  }

  .total-label {
    padding: 0.15rem 0.6rem 0.15rem 1rem !important;
    vertical-align: middle !important;
    display: table-cell !important;
    line-height: 1.5 !important;
  }
  
  .total-value {
    padding: 0.15rem 1rem !important;
    vertical-align: middle !important;
    display: table-cell !important;
    line-height: 1.5 !important;
  }

  /* Enforce border styles */
  .totals-table tr:first-child td {
    border-top: 1px solid #000 !important;
  }

  .totals-table tr:last-child td {
    border-bottom: 1px solid #000 !important;
  }
}

/* Cahier des Charges Section */
.cahier-des-charges-section {
  margin: 0.5rem 0 1.5rem 0;
  width: 100%;
  page-break-before: auto;
  page-break-inside: auto;
}

.cahier-des-charges-section .section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  page-break-after: avoid;
}

.specifications-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.specifications-table th {
  background-color: #f8f9fa;
  border: 1px solid #000;
  padding: 0.4rem 0.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: #000000 !important;
}

.specifications-table td {
  border: 1px solid #000;
  padding: 0.4rem 0.5rem;
  text-align: left;
  color: #000000 !important;
}

.specifications-table th:nth-child(1) { width: 15%; }
.specifications-table th:nth-child(2) { width: 25%; }
.specifications-table th:nth-child(3) { width: 50%; }
.specifications-table th:nth-child(4) { width: 10%; }

/* Print-specific styles for attachments */
@media print {
  .document-paper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .attachment-details-section,
  .cahier-des-charges-section,
  .attachment-technical {
    page-break-inside: auto;
  }
  
  .attachment-section-subtitle {
    page-break-after: avoid;
    color: #1e40af !important;
  }
  
  .attachment-text-title {
    page-break-after: avoid;
  }
  
  .attachment-text-section {
    page-break-inside: avoid;
  }
  
  .attachment-info-label {
    color: #333 !important;
  }
  
  .attachment-info-value,
  .attachment-text-content {
    color: #000 !important;
  }
  
  /* Ensure footer is at the bottom */
  .simple-footer {
    position: absolute !important;
    bottom: 15mm !important;
    left: 15mm !important;
    right: 15mm !important;
    width: calc(100% - 30mm) !important;
  }
}

/* Attachment Details Section */
.attachment-details-section {
  margin: 0.5rem 0 1.5rem 0;
  width: 100%;
  page-break-inside: auto;
}

.attachment-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.attachment-info-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.attachment-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.3;
}

.attachment-info-label {
  font-weight: 600;
  color: #333;
  min-width: 140px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.attachment-info-value {
  color: #000;
  font-size: 0.85rem;
}

.attachment-section-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e40af;
  margin: 1rem 0 0.5rem 0;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
  page-break-after: avoid;
}

.attachment-timeline {
  margin-bottom: 1rem;
}

.attachment-technical {
  margin-bottom: 1rem;
  page-break-inside: auto;
}

.attachment-text-section {
  margin-bottom: 0.8rem;
  page-break-inside: avoid;
}

.attachment-text-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin: 0 0 0.3rem 0;
  page-break-after: avoid;
}

.attachment-text-content {
  font-size: 0.85rem;
  color: #000;
  margin: 0;
  line-height: 1.4;
  white-space: pre-line;
}

.attachment-additional {
  margin-bottom: 1rem;
}

/* Cahier des Charges Section */
.cahier-des-charges-section {
  margin: 0.5rem 0 1.5rem 0;
  width: 100%;
  page-break-before: auto;
  page-break-inside: auto;
}

.cahier-des-charges-section .section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  page-break-after: avoid;
}

.specifications-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.specifications-table th {
  background-color: #f8f9fa;
  border: 1px solid #000;
  padding: 0.4rem 0.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: #000000 !important;
}

.specifications-table td {
  border: 1px solid #000;
  padding: 0.4rem 0.5rem;
  text-align: left;
  color: #000000 !important;
}

.specifications-table th:nth-child(1) { width: 15%; }
.specifications-table th:nth-child(2) { width: 25%; }
.specifications-table th:nth-child(3) { width: 50%; }
.specifications-table th:nth-child(4) { width: 10%; }

/* Print-specific styles for attachments */
@media print {
  .document-paper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .attachment-details-section,
  .cahier-des-charges-section,
  .attachment-technical {
    page-break-inside: auto;
  }
  
  .attachment-section-subtitle {
    page-break-after: avoid;
    color: #1e40af !important;
  }
  
  .attachment-text-title {
    page-break-after: avoid;
  }
  
  .attachment-text-section {
    page-break-inside: avoid;
  }
  
  .attachment-info-label {
    color: #333 !important;
  }
  
  .attachment-info-value,
  .attachment-text-content {
    color: #000 !important;
  }
  
  /* Ensure footer is at the bottom */
  .simple-footer {
    position: absolute !important;
    bottom: 15mm !important;
    left: 15mm !important;
    right: 15mm !important;
    width: calc(100% - 30mm) !important;
  }
}

.requirements-info {
  margin-top: 5px;
  font-size: 0.9em;
  color: #444;
  line-height: 1.3;
}

.requirements-info strong {
  font-weight: 600;
}
/* Corrections pour la vue mobile de DocumentCreation */

/* Ajustements généraux pour les petits écrans */
@media (max-width: 768px) {
  /* Ajuster les boutons d'action en haut */
  .document-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .document-actions button {
    flex: 1 1;
    min-width: 100px;
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  /* Corriger le bouton Sauvegarder qui déborde */
  .document-actions button svg {
    margin-right: 0.25rem;
  }

  /* Ajuster la largeur des boutons pour qu'ils tiennent sur une ligne */
  .document-preview-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .document-preview-actions button {
    flex: 1 1;
    min-width: 0;
    padding: 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Ajuster les tabs pour qu'ils s'affichent correctement */
  .document-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .document-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Ajuster les formulaires pour mobile */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Ajuster les boutons de navigation */
  .form-navigation {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Corriger le bouton Sauvegarder dans la création de document */
  .form-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  /* Ajuster la taille des icônes dans les boutons */
  .form-buttons button svg {
    width: 18px;
    height: 18px;
  }
  
  /* Correction spécifique pour les boutons dans la création de document */
  .bg-gradient-to-r.from-blue-600.to-purple-600.text-white.px-6.py-3.rounded-xl.font-semibold.hover\:from-blue-700.hover\:to-purple-700.transition-all.duration-300.flex.items-center.space-x-2 {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Correction pour les boutons d'action (Aperçu, Générer PDF, Sauvegarder) */
  .flex.items-center.justify-between {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* Conteneur des boutons d'action */
  .document-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
  }
  
  /* Styles pour les boutons d'action individuels */
  .document-action-buttons button {
    flex: 1 1;
    min-width: 0;
    padding: 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Styles spécifiques pour les boutons Aperçu, Générer PDF et Sauvegarder */
  button.bg-violet-600,
  button.bg-blue-600,
  button.bg-green-600 {
    flex: 1 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Corrections spécifiques pour les très petits écrans */
@media (max-width: 480px) {
  /* Réduire encore plus les boutons */
  .document-actions button {
    font-size: 0.75rem;
    padding: 0.4rem;
  }

  /* Cacher le texte des boutons et ne garder que les icônes sur mobile */
  .document-actions button span {
    display: none;
  }

  .document-actions button svg {
    margin-right: 0;
  }

  /* Ajuster les boutons d'aperçu et de génération PDF */
  .preview-buttons {
    flex-direction: column;
    width: 100%;
  }

  .preview-buttons button {
    width: 100%;
  }
  
  /* Réduire la taille du texte pour les boutons d'action */
  button.bg-violet-600,
  button.bg-blue-600,
  button.bg-green-600 {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
  
  /* Réduire la taille des icônes */
  button.bg-violet-600 svg,
  button.bg-blue-600 svg,
  button.bg-green-600 svg {
    width: 16px;
    height: 16px;
    margin-right: 0;
  }
  
  /* Cacher le texte des boutons d'action et ne garder que les icônes */
  button.bg-violet-600 span,
  button.bg-blue-600 span,
  button.bg-green-600 span {
    display: none;
  }
}

/* Cacher le texte des boutons sur mobile */
@media (max-width: 768px) {
  /* Boutons principaux (Aperçu, Générer PDF, Sauvegarder) */
  button.bg-violet-600 span,
  button.bg-blue-600 span,
  button.bg-green-600 span {
    display: none;
  }
  
  button.bg-violet-600 svg,
  button.bg-blue-600 svg,
  button.bg-green-600 svg {
    margin-right: 0;
  }
  
  /* Ajuster le padding pour les boutons avec icônes uniquement */
  button.bg-violet-600,
  button.bg-blue-600,
  button.bg-green-600 {
    padding: 0.5rem;
    min-width: 42px;
    justify-content: center;
  }
}

/* Corrections pour la vue mobile de DocumentPreview */

/* Ajustements généraux pour les petits écrans */
@media (max-width: 768px) {
  /* Ajuster les boutons d'action */
  .document-preview-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  /* Bouton retour */
  .back-button {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Conteneur des boutons d'action */
  .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }
  
  /* Boutons individuels */
  .download-button,
  .save-button {
    flex: 1 1;
    min-width: 0;
    padding: 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Ajuster l'espacement des icônes */
  .download-button svg,
  .save-button svg {
    margin-right: 0.25rem;
  }
}

/* Corrections spécifiques pour les très petits écrans */
@media (max-width: 480px) {
  /* Réduire encore plus les boutons */
  .back-button,
  .download-button,
  .save-button {
    font-size: 0.75rem;
    padding: 0.4rem;
  }
  
  /* Réduire la taille des icônes */
  .back-button svg,
  .download-button svg,
  .save-button svg {
    width: 16px;
    height: 16px;
    margin-right: 0;
  }
  
  /* Cacher le texte des boutons et ne garder que les icônes */
  .back-button span,
  .download-button span,
  .save-button span {
    display: none;
  }
}

/* Cacher le texte des boutons sur mobile */
@media (max-width: 768px) {
  /* Boutons principaux */
  .back-button span,
  .download-button span,
  .save-button span {
    display: none;
  }
  
  .back-button svg,
  .download-button svg,
  .save-button svg {
    margin-right: 0;
  }
  
  /* Ajuster le padding pour les boutons avec icônes uniquement */
  .back-button,
  .download-button,
  .save-button {
    padding: 0.5rem;
    min-width: 42px;
    justify-content: center;
  }
}

/* Modern Template Styling */
.modern-template .document-paper {
  background: #ffffff;
  margin: 20px auto;
  padding: 40px;
  max-width: 210mm;
  min-height: 297mm;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.4;
}

/* Modern Header Design */
.modern-document-header {
  margin-bottom: 30px;
}

.modern-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 20px;
}

.modern-logo-section {
  flex-shrink: 0;
  margin-right: 30px;
}

.modern-logo {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
}

.modern-company-info {
  flex: 1 1;
  text-align: center;
}

.modern-company-name {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}

.modern-company-name-arabic {
  font-size: 20px;
  font-weight: 600;
  color: #5d6d7e;
  margin: 0 0 12px 0;
  font-family: 'Amiri', serif;
}

.modern-company-activity {
  font-size: 16px;
  color: #7f8c8d;
  margin: 0 0 8px 0;
  font-weight: 500;
}

.modern-company-services {
  font-size: 14px;
  color: #95a5a6;
  margin: 0;
  font-style: italic;
}

.modern-business-details {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.modern-detail-line {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 12px;
}

.modern-detail-line span {
  white-space: nowrap;
}

.modern-bank-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

.modern-separator {
  height: 3px;
  background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
  margin: 20px 0;
  border-radius: 2px;
}

/* Modern Title Section */
.modern-title-section {
  text-align: center;
  margin: 30px 0;
}

.modern-document-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.modern-document-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
  margin: 10px auto;
  border-radius: 2px;
}

/* Modern Info Layout */
.modern-info-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-gap: 30px;
  gap: 30px;
  margin: 30px 0;
}

.modern-info-card,
.modern-client-card {
  background: #ffffff;
  border: 1px solid #ecf0f1;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modern-card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #ecf0f1;
}

.modern-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f8f9fa;
}

.modern-info-row:last-child {
  border-bottom: none;
}

.modern-label {
  font-weight: 600;
  color: #5d6d7e;
  font-size: 13px;
}

.modern-value {
  font-weight: 500;
  color: #2c3e50;
  font-size: 13px;
  text-align: right;
}

/* Modern Client Info */
.modern-client-name {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.modern-client-address {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 15px;
  line-height: 1.4;
}

.modern-client-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modern-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.modern-detail-label {
  font-weight: 600;
  color: #5d6d7e;
}

.modern-detail-value {
  color: #2c3e50;
}

/* Modern Items Section */
.modern-items-section {
  margin: 40px 0;
}

.modern-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #ecf0f1;
}

.modern-table-container {
  background: #ffffff;
  border: 1px solid #ecf0f1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modern-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.modern-items-table th {
  background: #f8f9fa;
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #ecf0f1;
}

.modern-items-table td {
  padding: 12px;
  border-bottom: 1px solid #f8f9fa;
  vertical-align: top;
}

.modern-items-table tbody tr:hover {
  background: #f8f9fa;
}

.modern-items-table tbody tr:last-child td {
  border-bottom: none;
}

.modern-item-number {
  text-align: center;
  font-weight: 600;
  color: #5d6d7e;
  width: 50px;
}

.modern-item-ref {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #7f8c8d;
  width: 100px;
}

.modern-item-designation {
  font-weight: 500;
  color: #2c3e50;
}

.modern-item-unit,
.modern-item-quantity {
  text-align: center;
  font-weight: 500;
  width: 60px;
}

.modern-item-price,
.modern-item-total {
  text-align: right;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  width: 100px;
}

.modern-no-items {
  text-align: center;
  color: #95a5a6;
  font-style: italic;
  padding: 30px !important;
}

/* Modern Totals Section */
.modern-totals-section {
  margin: 40px 0;
  display: flex;
  justify-content: flex-end;
}

.modern-totals-container {
  width: 350px;
}

.modern-totals-table {
  background: #ffffff;
  border: 1px solid #ecf0f1;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modern-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f8f9fa;
}

.modern-total-row:last-child {
  border-bottom: none;
}

.modern-final-total {
  margin-top: 10px;
  padding-top: 15px !important;
  font-size: 16px;
}

.modern-total-label {
  font-weight: 600;
  color: #5d6d7e;
}

.modern-total-value {
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: #2c3e50;
}

.modern-amount-words {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ecf0f1;
  text-align: center;
  color: #7f8c8d;
  font-size: 12px;
}

/* Modern Footer */
.modern-footer {
  margin-top: 60px;
  border-top: 1px solid #ecf0f1;
  padding-top: 30px;
}

.modern-signature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  gap: 50px;
}

.modern-signature-left,
.modern-signature-right {
  text-align: center;
}

.modern-signature-left p,
.modern-signature-right p {
  font-size: 14px;
  font-weight: 600;
  color: #5d6d7e;
  margin-bottom: 20px;
}

.modern-signature-line {
  border-bottom: 1px solid #bdc3c7;
  height: 40px;
  position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modern-template .document-paper {
    padding: 20px;
    margin: 10px;
  }
  
  .modern-header-top {
    flex-direction: column;
    text-align: center;
  }
  
  .modern-logo-section {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .modern-info-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .modern-detail-line {
    flex-direction: column;
    gap: 5px;
  }
  
  .modern-signature-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .modern-totals-container {
    width: 100%;
  }
}

/* Print styles */
@media print {
  .modern-template .document-paper {
    box-shadow: none;
    margin: 0;
    padding: 20mm;
  }
  
  .preview-actions {
    display: none !important;
  }
}

.document-creation {
  max-width: 100%;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem !important; /* 12px spacing between sections */
}



.page-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff; /* Change to white for blue background */
  margin: 0 0 0.5rem 0;
}

.title-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.2); /* More visible on blue */
  padding: 0.5rem;
  border-radius: 0.75rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #ffffff; /* Change to white for blue background */
  margin: 0;
  font-weight: 400;
  margin-top: 0.25rem; /* Add slight spacing from title */
}

.creation-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  position: relative;
}

/* Categories Section */
.document-categories {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  clear: both;
  position: relative;
}

/* Display all categories */
.document-categories > .category-section {
  display: block;
  position: relative;
  width: 100%;
  clear: both;
}

.category-section {
  background: transparent;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.category-section:first-child {
  margin-top: 0;
}

.category-section:hover {
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
  transform: translateY(-2px);
}

.category-header {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex; /* Montrer les en-têtes de catégorie */
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 70%);
  opacity: 0.8;
}

.category-header > span {
  font-size: 1.25rem;
  font-weight: 800;
  color: white !important;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white !important;
  margin: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.beta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: #3b82f6;
  color: var(--category-color, #3b82f6);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.3);
  }
}

/* Refresh Button */
.refresh-button {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.refresh-button:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: rotate(180deg);
}

.category-line {
  display: none;
}

.documents-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

/* Document Cards */
.document-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.document-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #3b82f6;
  background: var(--doc-color, #3b82f6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.document-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.document-card:hover::before {
  opacity: 1;
}

.document-card.selected {
  border-color: #3b82f6;
  border-color: var(--doc-color, #3b82f6);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.document-card.selected::before {
  opacity: 1;
}

.document-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  color: var(--doc-color, #3b82f6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.document-card:hover .document-icon,
.document-card.selected .document-icon {
  background: #3b82f6;
  background: var(--doc-color, #3b82f6);
  color: white;
  transform: scale(1.05);
}

.document-content {
  flex: 1 1;
}

/* Document title for creation step - only apply to document cards */
.document-card .document-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem 0;
}

.document-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

.document-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

.document-arrow {
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
  transform: translateX(0);
}

.document-card:hover .document-arrow,
.document-card.selected .document-arrow {
  color: white;
  transform: translateX(4px);
}

/* Creation Panel */
.creation-panel {
  position: -webkit-sticky;
  position: sticky;
  top: 2rem;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
}

.panel-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.selected-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-info {
  flex: 1 1;
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.panel-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.panel-description {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.create-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  font-weight: 600;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.create-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Header Navigation for Form View */
.header-navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1 1;
}

/* Keep the header background blue */
.page-header {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); /* Keep the blue gradient */
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #2563eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: #e2e8f0;
  color: #475569;
  transform: translateX(-2px);
}

.header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.header-actions .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.header-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Document Form Styles */
.document-form {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.form-section {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  /* color removed - let inline styles control */
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.section-subtitle {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 1.2rem 0 0.5rem 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.form-grid .form-group.full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  /* color removed - let inline styles control */
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: white;
  transition: all 0.2s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  background-color: transparent;
}

.form-group input.readonly {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.form-group input.readonly-input {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.5);
}

/* Client Info Display */
.client-info {
  display: none;
}

.client-details p {
  margin: 0.25rem 0;
  color: #374151;
}

.client-details p:first-child {
  font-weight: 600;
  color: #1e293b;
}

/* Items Container */
.items-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item-row {
  display: flex;
  align-items: end;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.item-fields {
  flex: 1 1;
  display: grid;
  grid-template-columns: 2fr 100px 150px 150px;
  grid-gap: 1rem;
  gap: 1rem;
  align-items: end;
}

.btn-remove {
  width: 40px;
  height: 40px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  color: #dc2626;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-remove:hover:not(:disabled) {
  background: #fecaca;
  transform: scale(1.05);
}

.btn-remove:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.add-item {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(139, 92, 246, 0.3);
  border: 1px dashed rgba(139, 92, 246, 0.6);
  border-radius: 0.75rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.add-item:hover {
  background: rgba(139, 92, 246, 0.4);
  border-color: rgba(139, 92, 246, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Taxes and Totals */
.totals-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  width: 100%;
  align-items: start;
}

.taxes-config {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  width: 100%;
}

.totals-summary {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.total-line:last-child {
  border-bottom: none;
}

.total-line.discount {
  color: #16a34a;
  font-weight: 600;
}

.total-line.total {
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  border-top: 2px solid rgba(59, 130, 246, 0.7);
  padding-top: 1rem;
  margin-top: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #d1d5db;
}

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

.btn-outline {
  background: white;
  color: #3b82f6;
  border-color: #3b82f6;
}

.btn-outline:hover {
  background: #3b82f6;
  color: white;
}

.btn-success {
  background: #10b981;
  color: white;
  border: 2px solid #10b981;
}

.btn-success:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Disabled Document Cards */
.document-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
}

.document-card.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.document-card.disabled .document-icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

.document-card.disabled:hover .document-icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  transform: none;
}

.coming-soon {
  font-size: 0.75rem;
  color: rgba(255, 165, 0, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Checkbox Groups */
.checkbox-group {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .documents-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .documents-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
  
  .totals-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .item-fields {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .item-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-remove {
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 1.5rem 1rem;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .title-icon {
    width: 2rem;
    height: 2rem;
    padding: 0.4rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
  
  .document-card {
    padding: 1.25rem;
    min-height: 100px;
  }
  
  .document-icon {
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .category-header {
    padding: 1rem 1.5rem;
  }
  
  .documents-grid {
    grid-template-columns: 1fr;
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .document-form {
    padding: 0 0.5rem;
  }
  
  .form-section {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .taxes-config {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .header-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 3rem; /* Space for mobile menu button */
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .document-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    align-items: center;
    padding: 1.25rem 0.75rem;
  }
  
  .document-content {
    text-align: center;
  }
  
  .document-arrow {
    display: none;
  }
  
  .document-title {
    font-size: 1rem;
  }
  
  .document-subtitle {
    font-size: 0.8rem;
  }
  
  .document-description {
    font-size: 0.8rem;
  }
  
  .panel-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .panel-actions {
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
  
  .section-title {
    font-size: 1.125rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .item-row {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .totals-summary {
    padding: 0.75rem;
  }
  
  .form-group label {
    font-size: 0.875rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
  
  /* Enhanced mobile styles for smallest screens */
  .page-header {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
  }
  
  .page-title {
    font-size: 1.25rem;
  }
  
  .page-subtitle {
    font-size: 0.8rem;
  }
  
  .title-icon {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.35rem;
    border-radius: 0.5rem;
  }
  
  .form-section {
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
  }
  
  .taxes-config {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .toggle-label.tax-toggle-btn {
    padding: 0.5rem 0.75rem;
  }
  
  .toggle-text {
    font-size: 0.8rem;
  }
  
  .category-header {
    padding: 0.75rem 1rem;
  }
  
  .category-title {
    font-size: 1rem;
  }
  
  /* Better preview scaling for small screens */
  .document-preview-section {
    max-height: 400px;
  }
  
  .preview-container .document-container {
    transform: scale(0.6);
    width: 166%;
  }
  
  /* Tabs navigation for mobile */
  .tabs-navigation {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
  }
  
  .tabs-navigation .tab-button {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* Styles pour les formulaires spécialisés de facturation algérienne */
.section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 1.5rem 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-left: 4px solid #3b82f6;
  border-radius: 0 0.5rem 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Amélioration des formulaires de facturation algérienne */
.form-section.algerian-invoice {
  border: 2px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.form-section.algerian-proforma {
  border: 2px solid #0ea5e9;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.form-section.algerian-quote-request {
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

/* Champs obligatoires pour la facturation algérienne */
.form-group input[required],
.form-group select[required] {
  border-left: 3px solid #dc2626;
}

.form-group input[required]:focus,
.form-group select[required]:focus {
  border-left-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Indicateurs de conformité réglementaire */
.regulatory-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #059669;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 1rem;
  margin-left: 0.5rem;
}

.regulatory-indicator.algeria {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.regulatory-indicator::before {
  content: "🇩🇿";
  font-size: 0.8rem;
}

/* Messages d'aide contextuelle */
.help-text {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.25rem;
  font-style: italic;
}

.help-text.regulatory {
  color: #059669;
  font-weight: 500;
}

.help-text.warning {
  color: #dc2626;
  font-weight: 500;
}

/* Toggle group styles for taxes */
.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  transition: all 0.3s ease;
}

.toggle-label.tax-toggle-btn {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.toggle-label.tax-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.toggle-label.tax-toggle-btn.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.toggle-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.toggle-label input[type="checkbox"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toggle-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  z-index: 1;
  position: relative;
  white-space: nowrap;
}

.toggle-input {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 0.5rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.toggle-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.08);
}

/* Statuts spécialisés pour facturation */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-indicator.draft {
  background: #f3f4f6;
  color: #374151;
}

.status-indicator.sent {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-indicator.accepted {
  background: #d1fae5;
  color: #065f46;
}

.status-indicator.rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-indicator.expired {
  background: #fecaca;
  color: #dc2626;
}

/* Real-time Preview Split Screen Layout */
.document-creation-container {
  display: flex;
  gap: 2rem;
  height: calc(100vh - 200px);
  min-height: 600px;
}

.document-form-section {
  flex: 1 1;
  overflow-y: auto;
  padding-right: 1rem;
}

.document-preview-section {
  flex: 1 1;
  background: white;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-header {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-header .preview-actions {
  display: flex;
  gap: 0.75rem;
}

.preview-header .preview-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.preview-container {
  flex: 1 1;
  overflow-y: auto;
  padding: 1rem;
  background: #f8fafc;
}

/* Hide action buttons in real-time preview */
.preview-container .preview-actions {
  display: none;
}

/* Scale down the preview for better fit */
.preview-container .document-container {
  transform: scale(0.8);
  transform-origin: top left;
  width: 125%;
}

/* Preferential rate indicator styling */
.preferential-rate-indicator {
  margin-top: 8px;
  padding: 4px 8px;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Discounted price styling */
.price-input-container {
  position: relative;
  display: flex;
  flex-direction: column;
}

.discounted-price {
  margin-top: 6px;
  padding: 2px 6px;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .document-creation-container {
    flex-direction: column;
    height: auto;
  }
  
  .document-preview-section {
    max-height: 600px;
  }
  
  .preview-container .document-container {
    transform: scale(0.9);
    width: 111%;
  }
}

@media (max-width: 768px) {
  .document-creation-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .document-form-section {
    padding-right: 0;
  }
  
  .document-preview-section {
    max-height: 500px;
  }
  
  .preview-container .document-container {
    transform: scale(0.7);
    width: 143%;
  }
  
  .preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .preview-header .preview-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .preview-header .preview-actions .btn {
    flex: 1 1;
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  /* Improved mobile styles */
  .documents-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .document-card {
    min-height: 100px;
    padding: 1rem;
  }
  
  .item-fields {
    grid-template-columns: 1fr !important;
  }
  
  .item-row {
    flex-direction: column;
    padding: 1rem;
  }
  
  .btn-remove {
    align-self: flex-end;
    margin-top: 0.5rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .header-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .header-actions .btn {
    flex: 1 1;
    min-width: 120px;
    padding: 0.5rem;
    font-size: 0.8rem;
    justify-content: center;
  }
}

/* Horizontal toggle group for inline inputs */
.horizontal-group {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.horizontal-group .toggle-input {
  margin-top: 0;
  width: 120px;
}

/* Add styling for the contact tabs */
.tabs-navigation {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 15px;
}

.tabs-navigation .tab-button {
  padding: 8px 15px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s;
}

.tabs-navigation .tab-button:hover {
  background-color: #f1f5f9;
  color: #334155;
}

.tabs-navigation .tab-button.active {
  border-bottom-color: #3b82f6;
  color: #3b82f6;
  background-color: #f1f5f9;
}
.manual-entry-option {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 10;
}

.manual-entry-option label {
  display: block;
  font-size: 0.85rem;
  color: #a3aed0;
  margin-bottom: 5px;
}

.manual-entry-option input {
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  position: relative;
  z-index: 20;
  cursor: text;
}

.manual-entry-option input:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.5);
}

.manual-entry-option input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Styles spécifiques pour les boutons d'action dans les documents */

/* Styles pour les boutons d'action (Aperçu, Générer PDF, Sauvegarder) */
button.bg-purple-600,
button.bg-violet-600,
button.bg-blue-600,
button.bg-green-600 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Styles pour les boutons sur mobile */
@media (max-width: 768px) {
  /* Ciblage des boutons par leur classe et contenu */
  button[class*="bg-purple-600"] span,
  button[class*="bg-violet-600"] span,
  button[class*="bg-blue-600"] span,
  button[class*="bg-green-600"] span {
    display: none !important;
  }
  
  button[class*="bg-purple-600"] svg,
  button[class*="bg-violet-600"] svg,
  button[class*="bg-blue-600"] svg,
  button[class*="bg-green-600"] svg {
    margin-right: 0 !important;
  }
  
  /* Ajuster le padding pour les boutons avec icônes uniquement */
  button[class*="bg-purple-600"],
  button[class*="bg-violet-600"],
  button[class*="bg-blue-600"],
  button[class*="bg-green-600"] {
    padding: 0.5rem !important;
    min-width: 42px !important;
    justify-content: center !important;
  }
  
  /* Ciblage spécifique des boutons dans DocumentPreview */
  .preview-actions .btn span {
    display: none !important;
  }
  
  .preview-actions .btn svg {
    margin-right: 0 !important;
  }
  
  .preview-actions .btn {
    padding: 0.5rem !important;
    min-width: 42px !important;
    justify-content: center !important;
  }
  
  /* Ciblage direct des boutons avec le texte spécifique */
  button:has(span:contains("Aperçu")) span,
  button:has(span:contains("Générer PDF")) span,
  button:has(span:contains("Sauvegarder")) span {
    display: none !important;
  }
}
/* Clients.css - Updated to match Facturation UI design */

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tabs-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
}

.tab-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.tab-button.active {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.modal-content {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-content.large {
  max-width: 800px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close:hover {
  color: white;
}

.client-form {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(85vh - 4rem);
}

.form-section-title {
  margin: 1.5rem 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.form-section-title h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

.required-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  margin-left: 0.25rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Client Card Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

/* Refresh Button */
.refresh-button {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.refresh-button:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: rotate(180deg);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .tabs-navigation {
    flex-wrap: wrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
  }
  
  .tab-button {
    flex: 1 1;
    min-width: 120px;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .client-form {
    padding: 1rem;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }
  
  .filter-bar > div {
    width: 100%;
  }
  
  .search-input {
    width: 100% !important;
  }
  
  .filter-dropdown {
    width: 100%;
  }
  
  .view-mode-toggle {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }
  
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem !important;
  }
  
  .pagination-info {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
  }
  
  .refresh-button {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  /* Table styles for mobile */
  .clients-table {
    display: block;
    width: 100%;
  }
  
  .clients-table thead {
    display: none;
  }
  
  .clients-table tbody {
    display: block;
    width: 100%;
  }
  
  .clients-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .clients-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .clients-table td:last-child {
    border-bottom: none;
  }
  
  .clients-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .client-actions {
    justify-content: center;
    padding-top: 0.5rem;
  }
  
  .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .modal-header h2 {
    font-size: 1.1rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions button {
    width: 100%;
  }
  
  /* Improved card display for mobile */
  .client-card {
    padding: 0.75rem !important;
  }
  
  .client-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .client-card-content {
    padding: 0.75rem !important;
  }
  
  .client-info-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  
  .client-info-item {
    padding: 0.5rem !important;
  }
  
  /* Fix for small screens */
  .client-type-badge {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.5rem !important;
  }
  
  .client-status-badge {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.5rem !important;
  }
}

/* Small phone screens */
@media (max-width: 380px) {
  .tab-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    min-width: 100px;
  }
  
  .clients-table td::before {
    font-size: 0.8rem;
  }
  
  .clients-table td {
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
  }
  
  .form-group label {
    font-size: 0.8rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
}

/* View Modal Styles */
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999 !important; /* Ensure modal appears above everything */
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.form-modal {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  position: relative;
  z-index: 10000 !important; /* Modal content even higher */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-title .icon {
  color: #60a5fa;
}

.close-button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #f87171;
}

.form-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-submit {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.view-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 1rem;
}

.view-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.view-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.view-section-title {
  color: #60a5fa;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  align-items: start;
}

.view-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.view-item.full-width {
  grid-column: 1 / -1;
}

.view-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

.view-value {
  color: white;
  font-size: 0.95rem;
  font-weight: 400;
  word-break: break-word;
}

.view-status {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: -webkit-fit-content;
  max-width: fit-content;
}

.view-status.active {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.view-status.inactive {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Mobile responsive adjustments for view modal */
@media (max-width: 768px) {
  .form-modal {
    width: 95vw;
    max-height: 95vh;
    margin: 0.5rem;
  }
  
  .form-header {
    padding: 1rem;
  }
  
  .form-title {
    font-size: 1.1rem;
  }
  
  .form-footer {
    padding: 1rem;
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  
  .btn-cancel,
  .btn-submit {
    width: 100%;
    justify-content: center;
  }
  
  .view-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .view-item.full-width {
    grid-column: 1;
  }
  
  .view-content {
    max-height: 60vh;
    padding: 0.75rem;
  }
  
  .view-section {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
}

/* Smooth scrolling for modal content - matching software theme */
.view-content {
  scrollbar-width: thin;
  scrollbar-color: #60a5fa rgba(0, 0, 0, 0.1);
}

.view-content::-webkit-scrollbar {
  width: 8px;
}

.view-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.view-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Shared Form Modal UI - Matches the Products & Services design */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  /* backdrop-filter: blur(8px); SUPPRIMÉ pour performance */
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-container {
  background-color: rgba(30, 41, 59, 0.95); /* Background solide plus performant */
  /* backdrop-filter: blur(16px); SUPPRIMÉ pour performance */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.modal-close-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.modal-close-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.modal-form {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 70vh;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgb(51, 65, 85); /* Background solide plus performant */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  font-size: 0.875rem;
  transition: border-color 0.2s; /* Transition simplifiée */
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
  /* background-color: rgba(255, 255, 255, 0.15); SUPPRIMÉ pour performance */
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgb(51, 65, 85); /* Background solide plus performant */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  font-size: 0.875rem;
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27white%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7 10l5 5 5-5z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5rem;
  transition: border-color 0.2s; /* Transition simplifiée */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 2.5rem;
}

.form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
  /* background-color: rgba(255, 255, 255, 0.15); SUPPRIMÉ pour performance */
}

.form-select option {
  background-color: #334155;
  color: white;
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgb(51, 65, 85); /* Background solide plus performant */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  font-size: 0.875rem;
  min-height: 100px;
  resize: vertical;
  transition: border-color 0.2s; /* Transition simplifiée */
}

.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
  /* background-color: rgba(255, 255, 255, 0.15); SUPPRIMÉ pour performance */
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cancel {
  padding: 0.625rem 1.25rem;
  background-color: rgb(71, 85, 105); /* Background solide plus performant */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s; /* Transition simplifiée */
}

.btn-cancel:hover {
  background-color: rgb(100, 116, 139); /* Background solide plus performant */
}

.btn-submit {
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.2s; /* Transition simplifiée */
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
  opacity: 0.9; /* Effet simplifié plus performant */
}

.full-width {
  grid-column: 1 / -1;
}

/* Responsive styles */
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-container {
    max-height: 90vh;
  }

  .modal-form {
    max-height: calc(90vh - 60px);
  }

  .form-footer {
    flex-direction: column-reverse;
  }

  .btn-cancel,
  .btn-submit {
    width: 100%;
    text-align: center;
  }
}
/* Corrections générales pour la vue mobile */

/* Corrections pour les débordements */
@media (max-width: 768px) {
  /* Empêcher les débordements horizontaux */
  body, html {
    overflow-x: hidden;
    width: 100%;
  }

  /* Ajuster les tableaux pour qu'ils ne débordent pas */
  .data-table {
    width: 100%;
    min-width: 800px; /* Assure le défilement horizontal */
  }

  /* Ajustements pour les cartes statistiques */
  .stats-card {
    padding: 0.75rem;
  }

  .stats-card p.text-2xl {
    font-size: 1.25rem;
  }

  /* Ajustements pour les filtres */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-dropdowns {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .filter-select {
    flex: 1 1 45%;
    min-width: 0;
    font-size: 0.85rem;
  }

  /* Ajustements pour les boutons d'action */
  .action-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .action-buttons button {
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  /* Ajustements pour les formulaires */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Ajustements pour les modales */
  .modal-container {
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Ajustements pour les boutons de pagination */
  .pagination-controls {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  /* Corrections spécifiques pour les employés */
  .employee-actions, .client-actions, .product-actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  /* Ajustements pour les vues en grille */
  .employee-grid, .client-grid, .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Corrections spécifiques pour les très petits écrans */
@media (max-width: 480px) {
  .stats-card p.text-2xl {
    font-size: 1.1rem;
  }

  .filter-select {
    font-size: 0.75rem;
  }

  /* Ajuster les boutons pour qu'ils tiennent sur une ligne */
  .action-buttons button {
    padding: 0.4rem;
    font-size: 0.75rem;
  }

  /* Réduire la taille des icônes */
  .action-buttons button svg {
    width: 16px;
    height: 16px;
  }
}

/* Corrections spécifiques pour la page Clients/Partenaires */

/* Ajustements pour les filtres et la recherche sur mobile */
@media (max-width: 768px) {
  /* Conteneur principal pour la recherche et les filtres */
  .filter-bar {
    width: 100%;
    padding: 0.5rem;
    overflow: visible;
  }

  /* Barre de recherche */
  .search-input {
    width: 100%;
    max-width: 100%;
  }

  /* Conteneur des filtres */
  .filter-dropdowns {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  /* Chaque filtre individuel */
  .filter-select, 
  .bg-white\/10.border.border-white\/20.rounded-xl.px-4.py-2.text-white {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 0.5rem);
    min-width: 0;
    font-size: 0.85rem;
    padding: 0.5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  /* Ajuster le toggle de vue */
  .view-mode-toggle {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5rem;
  }

  /* Ajuster le conteneur de la barre de filtres */
  .bg-white\/10.backdrop-blur-lg.rounded-3xl.p-6.border.border-white\/20 {
    padding: 1rem;
    margin-bottom: 1rem;
    overflow: visible;
  }

  /* Ajuster la disposition des éléments de filtre */
  .flex.flex-col.md\:flex-row.gap-4.items-center.justify-between.filter-bar {
    gap: 0.5rem;
  }

  /* Ajuster la largeur du conteneur de recherche */
  .relative.flex-1.max-w-md {
    max-width: 100%;
    width: 100%;
  }

  /* S'assurer que les filtres ne dépassent pas */
  .flex.items-center.gap-4 {
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
  }

  /* Ajuster les cartes statistiques */
  .grid.grid-cols-1.md\:grid-cols-5.gap-6 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Ajuster le bouton "Nouveau client/fournisseur" */
  .bg-gradient-to-r.from-blue-600.to-purple-600.text-white.px-6.py-3.rounded-xl.font-semibold.hover\:from-blue-700.hover\:to-purple-700.transition-all.duration-300.flex.items-center.space-x-2 {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Ajuster les onglets clients/fournisseurs */
  .flex.space-x-1.overflow-x-auto.hide-scrollbar {
    justify-content: center;
    padding: 0.25rem;
  }
  
  .flex.space-x-1.overflow-x-auto.hide-scrollbar button {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* Corrections spécifiques pour les très petits écrans */
@media (max-width: 480px) {
  /* Réduire encore plus la taille des filtres */
  .filter-select, 
  .bg-white\/10.border.border-white\/20.rounded-xl.px-4.py-2.text-white {
    font-size: 0.75rem;
    padding: 0.4rem;
  }

  /* Ajuster le bouton "Nouveau client/fournisseur" */
  .bg-gradient-to-r.from-blue-600.to-purple-600.text-white.px-6.py-3.rounded-xl.font-semibold.hover\:from-blue-700.hover\:to-purple-700.transition-all.duration-300.flex.items-center.space-x-2 {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  /* Ajuster les onglets clients/fournisseurs */
  .flex.space-x-1.overflow-x-auto.hide-scrollbar button span {
    font-size: 0.75rem;
  }
}

/* Employees.css - Updated to match Facturation UI design */

/* Hide scrollbars but allow scrolling */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.modal-content {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content.large {
  max-width: 800px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Form Styles */
.employee-form {
  padding: 1.5rem;
  overflow-y: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border: none;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Refresh Button */
.refresh-button {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.refresh-button:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: rotate(180deg);
}

/* Responsive Styles - Enhanced for better mobile experience */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .modal-content.large {
    width: 95%;
    margin: 1rem;
  }
  
  .employee-form {
    padding: 1rem;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }
  
  .filter-bar > div {
    width: 100%;
  }
  
  .search-input {
    width: 100% !important;
  }
  
  .filter-dropdown {
    width: 100%;
  }
  
  .view-mode-toggle {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }
  
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem !important;
  }
  
  .pagination-info {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
  }
  
  .employee-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .refresh-button {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }
  
  /* Better spacing for mobile forms */
  .form-group {
    margin-bottom: 0.75rem;
  }
  
  .form-group label {
    margin-bottom: 0.25rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 640px) {
  /* Table styles for mobile */
  .employees-table {
    display: block;
    width: 100%;
  }
  
  .employees-table thead {
    display: none;
  }
  
  .employees-table tbody {
    display: block;
    width: 100%;
  }
  
  .employees-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .employees-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: right;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .employees-table td:last-child {
    border-bottom: none;
  }
  
  .employees-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    padding-right: 0.5rem;
    flex-basis: 40%;
  }
  
  .employee-actions {
    justify-content: center;
    padding-top: 0.5rem;
  }
  
  .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .modal-header h2 {
    font-size: 1.1rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions button {
    width: 100%;
  }
  
  .tabs-navigation {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
  }
  
  /* Better card display for mobile */
  .employee-card {
    padding: 0.75rem !important;
  }
  
  .employee-info {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  
  .employee-avatar {
    width: 3rem !important;
    height: 3rem !important;
    margin-right: 0 !important;
  }
  
  .employee-details {
    padding: 0.75rem !important;
  }
  
  .employee-contact {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.25rem;
  }
  
  .employee-contact-item {
    font-size: 0.8rem !important;
  }
}

/* Small phone screens */
@media (max-width: 380px) {
  .employees-table td {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
  }
  
  .employees-table td::before {
    font-size: 0.8rem;
    flex-basis: 100%;
  }
  
  .form-group label {
    font-size: 0.8rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Corrections spécifiques pour la page Employés */

/* Ajustements pour les filtres et la recherche sur mobile */
@media (max-width: 768px) {
  /* Conteneur principal pour la recherche et les filtres */
  .filter-bar {
    width: 100%;
    padding: 0.5rem;
    overflow: visible;
  }

  /* Barre de recherche */
  .search-input {
    width: 100%;
    max-width: 100%;
  }

  /* Conteneur des filtres */
  .filter-dropdowns {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  /* Chaque filtre individuel */
  .filter-select, 
  .bg-white\/10.border.border-white\/20.rounded-xl.px-4.py-2.text-white {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 0.5rem);
    min-width: 0;
    font-size: 0.85rem;
    padding: 0.5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  /* Ajuster le toggle de vue */
  .view-mode-toggle {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5rem;
  }

  /* Ajuster le conteneur de la barre de filtres */
  .bg-white\/10.backdrop-blur-lg.rounded-3xl.p-6.border.border-white\/20 {
    padding: 1rem;
    margin-bottom: 1rem;
    overflow: visible;
  }

  /* Ajuster la disposition des éléments de filtre */
  .flex.flex-col.md\:flex-row.gap-4.items-center.justify-between.filter-bar {
    gap: 0.5rem;
  }

  /* Ajuster la largeur du conteneur de recherche */
  .relative.flex-1.max-w-md {
    max-width: 100%;
    width: 100%;
  }

  /* S'assurer que les filtres ne dépassent pas */
  .flex.items-center.gap-4 {
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
  }

  /* Ajuster les cartes statistiques */
  .grid.grid-cols-1.md\:grid-cols-5.gap-6 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Ajuster le bouton "Nouvel employé" */
  .bg-gradient-to-r.from-blue-600.to-purple-600.text-white.px-6.py-3.rounded-xl.font-semibold.hover\:from-blue-700.hover\:to-purple-700.transition-all.duration-300.flex.items-center.space-x-2 {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Corrections spécifiques pour les très petits écrans */
@media (max-width: 480px) {
  /* Réduire encore plus la taille des filtres */
  .filter-select, 
  .bg-white\/10.border.border-white\/20.rounded-xl.px-4.py-2.text-white {
    font-size: 0.75rem;
    padding: 0.4rem;
  }

  /* Ajuster le bouton "Nouvel employé" */
  .bg-gradient-to-r.from-blue-600.to-purple-600.text-white.px-6.py-3.rounded-xl.font-semibold.hover\:from-blue-700.hover\:to-purple-700.transition-all.duration-300.flex.items-center.space-x-2 {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Products Page Styles */
.products {
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Products Table Container */
.products-table-container {
  width: 100%;
  margin-bottom: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  overflow: hidden;
}

.products-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* Table Headers */
.products-table thead {
  background-color: rgba(255, 255, 255, 0.05);
}

.products-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

/* Table Rows */
.products-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}

.products-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.products-table tbody tr:last-child {
  border-bottom: none;
}

/* Table Cells */
.products-table td {
  padding: 1.25rem;
  vertical-align: middle;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Product Info Cell */
.product-info-cell {
  max-width: 300px;
}

.product-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.product-sku {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.product-description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Type Badge */
.type-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}

.type-badge.product {
  background-color: rgba(59, 130, 246, 0.2);
  color: rgba(219, 234, 254, 1);
}

.type-badge.service {
  background-color: rgba(245, 158, 11, 0.2);
  color: rgba(254, 243, 199, 1);
}

/* Price Cell */
.price-cell {
  white-space: nowrap;
}

.price {
  font-weight: 600;
  color: #ffffff;
}

.unit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Stock Cell */
.stock-cell {
  text-align: center;
}

.stock {
  font-weight: 600;
  color: #ffffff;
}

.stock.low {
  color: #ef4444;
}

.stock-unlimited {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-badge.active {
  background-color: rgba(22, 163, 74, 0.2);
  color: rgba(134, 239, 172, 1);
}

.status-badge.inactive {
  background-color: rgba(220, 38, 38, 0.2);
  color: rgba(252, 165, 165, 1);
}

/* Action Icons */
.actions-cell {
  white-space: nowrap;
}

.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.action-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.action-icon.edit:hover {
  color: #3b82f6;
}

.action-icon.delete:hover {
  color: #dc2626;
}

/* No Products Message */
.no-products {
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Search and Filters */
.filter-bar {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-input {
  position: relative;
  flex: 1 1;
  max-width: 350px;
}

.search-input input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.search-input input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.search-input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.filter-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: white;
  font-size: 0.875rem;
  min-width: 140px;
  max-width: 180px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.view-mode-toggle {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.25rem;
  display: flex;
}

/* Stats Cards */
.products-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Refresh Button */
.refresh-button {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.refresh-button:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: rotate(180deg);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

h3.product-name {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
  .products-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .filter-bar {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .search-filters {
    flex-direction: column;
    width: 100%;
  }
  
  .search-input {
    max-width: none;
    width: 100%;
  }
  
  .filter-select {
    max-width: none;
    width: 100%;
    min-width: 100%;
  }
  
  .view-mode-toggle {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  .products-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .refresh-button {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }
  
  /* Table styles for mobile */
  .products-table {
    display: block;
    width: 100%;
  }
  
  .products-table thead {
    display: none;
  }
  
  .products-table tbody {
    display: block;
    width: 100%;
  }
  
  .products-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .products-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: right;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .products-table td:last-child {
    border-bottom: none;
  }
  
  .products-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    padding-right: 0.5rem;
    flex-basis: 40%;
  }
  
  .product-actions {
    justify-content: center;
    padding-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .products-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .stat-item {
    padding: 0.75rem;
  }
  
  .product-card {
    margin-bottom: 1rem;
  }
  
  .card-header {
    padding: 0.75rem 1rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .product-footer {
    padding: 0.75rem 1rem;
  }
  
  .products-table td {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
  }
  
  .products-table td::before {
    font-size: 0.8rem;
    flex-basis: 100%;
  }
  
  .product-name {
    font-size: 0.9rem;
  }
  
  .product-description {
    font-size: 0.75rem;
  }
  
  .type-badge, .status-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Fix modal on small screens */
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .modal-header h2 {
    font-size: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-actions button {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* Small phone screens */
@media (max-width: 380px) {
  .stat-icon {
    width: 2rem;
    height: 2rem;
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .card-header {
    padding: 0.5rem 0.75rem;
  }
  
  .card-content {
    padding: 0.75rem;
  }
  
  h3.product-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .product-description {
    font-size: 0.7rem;
  }
  
  .product-footer {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
}
/* Archives.css */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Status styles */
.status-container {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.status-container:has(.status-dropdown) {
  z-index: 9999;
}

/* Ensure table cells and rows allow overflow */
.table-horizontal-scroll {
  overflow-x: auto;
  overflow-y: visible !important;
}

.archives-table {
  overflow: visible !important;
}

.archives-table tbody {
  overflow: visible !important;
}

.archives-table tbody tr {
  position: relative;
  overflow: visible !important;
}

.archives-table tbody tr td {
  overflow: visible !important;
}

.status-dropdown {
  position: fixed;
  /* top and left will be set dynamically by JavaScript */
  width: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: auto;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.status-dropdown.open-upward {
  top: auto;
  bottom: calc(100% + 5px);
}

.status-dropdown-header {
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem 0.75rem 0 0;
}

.status-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
}

.status-dropdown-item:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
}

.status-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

.status-dropdown-item.active {
  background-color: rgba(255, 255, 255, 0.18);
  font-weight: 500;
}

.status-dropdown-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

/* Convert dropdown - same style as status dropdown */
.convert-dropdown {
  position: fixed;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: auto;
  animation: dropdownFadeIn 0.2s ease-out;
}

.convert-dropdown-header {
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem 0.75rem 0 0;
}

.convert-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  border: none;
  background: transparent;
}

.convert-dropdown-item:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
}

.convert-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

/* Status badge hover effect */
.status-badge {
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 0.375rem;
}

/* Status update toast notification */
.status-update-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 12px 20px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  font-size: 14px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.status-update-toast.status-paid {
  background-color: rgba(16, 185, 129, 0.9);
}

.status-update-toast.status-pending {
  background-color: rgba(245, 158, 11, 0.9);
}

.status-update-toast.status-overdue {
  background-color: rgba(239, 68, 68, 0.9);
}

.status-update-toast.status-draft {
  background-color: rgba(100, 116, 139, 0.9);
}

.status-update-toast.status-deleted {
  background-color: rgba(239, 68, 68, 0.9);
}

/* Document Preview Modal */
.document-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.document-preview-modal .modal-content {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  max-width: 90vw;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.document-preview-modal .document-preview-container {
  background: rgba(30, 41, 59, 0.95);
}

.preview-document-wrapper {
  position: relative;
  padding: 0 !important;
  overflow: auto;
  min-height: 400px;
  max-height: calc(90vh - 140px);
}

.preview-document-wrapper .document-preview {
  transform-origin: top center;
}

/* Style for the DocumentPreview component inside the modal */
.preview-document-wrapper .document-preview .document-paper {
  transform: scale(0.8);
  transform-origin: top center;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hide action buttons in preview mode */
.preview-document-wrapper .preview-actions {
  display: none !important;
}

.document-preview-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.document-preview-modal .modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
}

.document-preview-modal .close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.document-preview-modal .close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.document-preview-modal .modal-body {
  padding: 1.5rem;
  flex: 1 1;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.9);
}

.document-preview-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.preview-detail {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.preview-detail strong {
  font-weight: 600;
  color: white;
}

.document-preview-items {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.document-preview-modal .modal-footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Filter dropdown buttons */
.filter-dropdown {
  min-width: 150px;
  display: flex;
  align-items: center;
  position: relative;
}

.filter-dropdown select {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* Top filter buttons */
.top-filter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 150px;
  position: relative;
}

.top-filter-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.top-filter-button:after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.75rem;
  height: 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Document conversion buttons */
.document-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.document-actions button {
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.document-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Tooltip for action buttons */
.action-button-tooltip {
  position: relative;
}

.action-button-tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .document-preview-modal {
    padding: 1rem;
  }
  
  .document-preview-modal .modal-content {
    max-width: 100%;
    max-height: 90vh;
  }
  
  .document-preview-details {
    grid-template-columns: 1fr;
  }
  
  .document-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  /* Enhanced mobile styles for Archives */
  .filter-bar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  
  .filter-bar > div {
    width: 100%;
  }
  
  .search-input {
    width: 100% !important;
  }
  
  .filter-dropdown {
    width: 100%;
  }
  
  .top-filter-button {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }
  
  .tabs-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
  }
  
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .pagination-info {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 640px) {
  /* Table styles for mobile */
  .archives-table {
    display: block;
    width: 100%;
  }
  
  .archives-table thead {
    display: none;
  }
  
  .archives-table tbody {
    display: block;
    width: 100%;
  }
  
  .archives-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .archives-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .archives-table td:last-child {
    border-bottom: none;
  }
  
  .archives-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .document-actions {
    justify-content: center;
    padding-top: 0.5rem;
  }
  
  .status-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 50vh;
    border-radius: 1rem 1rem 0 0;
    z-index: 2001;
  }
  
  .status-update-toast {
    left: 20px;
    right: 20px;
    text-align: center;
  }
}
/* Categories Component Styles */

.categories-table-body tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 8px;
  vertical-align: middle;
}

.refresh-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.spin-animation {
  animation: spin 1s ease;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive styles for the categories table */
@media (max-width: 768px) {
  .categories-table thead {
    display: none;
  }
  
  .categories-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
  }
  
  .categories-table tbody td {
    display: flex;
    padding: 0.75rem;
    text-align: right;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .categories-table tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    padding-right: 1rem;
  }
  
  .category-row-actions {
    justify-content: flex-end;
  }
}
/* Styles mobiles pour les catégories */

/* Amélioration du défilement horizontal pour la vue tableau */
.table-horizontal-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  position: relative;
  width: 100%;
}

.table-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.table-horizontal-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.table-horizontal-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

/* Forcer le tableau à rester en mode tableau même sur mobile */
@media (max-width: 768px) {
  .categories-table {
    width: 100%;
    min-width: 800px; /* Forcer une largeur minimale pour assurer le défilement */
  }
  
  .categories-table thead {
    display: table-header-group;
  }
  
  .categories-table tbody tr {
    display: table-row;
    margin-bottom: 0;
    border: none;
    background-color: transparent;
  }
  
  .categories-table tbody td {
    display: table-cell;
    text-align: left;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .categories-table tbody td::before {
    content: none;
  }
  
  /* Indicateur de défilement */
  .table-horizontal-scroll::after {
    content: "→";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    animation: fadeInOut 1.5s infinite alternate;
    pointer-events: none;
  }
  
  @keyframes fadeInOut {
    from { opacity: 0.3; }
    to { opacity: 0.8; }
  }
}

/* Settings Page Styles */
.settings {
  padding: 0;
}

/* Premium Model Styles */
.document-model-card.premium-model {
  opacity: 0.75;
  border: 2px solid rgba(245, 158, 11, 0.3);
  cursor: not-allowed;
}

.premium-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 0.375rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.premium-preview-btn {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #f59e0b !important;
}

/* Language Selector Highlight */
.language-selector-highlight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 1rem;
  border: 2px solid rgba(59, 130, 246, 0.2);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.2); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.language-selector-content {
  text-align: center;
}

.language-selector-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.language-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.language-button {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
}

.language-button:first-child {
  background-color: #f1f5f9;
  color: #334155;
}

.language-button:last-child {
  background-color: #f1f5f9;
  color: #334155;
  font-family: 'Dubai', 'Droid Arabic Kufi', 'Noto Sans Arabic', sans-serif;
}

.language-button.active:first-child {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.language-button.active:last-child {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.language-button:hover {
  transform: translateY(-2px);
}

/* Language Setting Highlight */
.language-setting-highlight {
  position: relative;
  z-index: 1;
}

.language-setting-highlight::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  z-index: -1;
  animation: pulse-light 2s infinite;
  pointer-events: none;
}

/* Settings Container */
.settings-container {
  /* background: white; -- Removed to allow dark theme */
  border-radius: 1rem;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); -- Removed for dark theme */
  /* border: 1px solid #f1f5f9; -- Removed for dark theme */
  overflow: hidden;
}

/* Tabs Navigation */
.settings-tabs {
  display: flex;
  /* background: #f8fafc; -- Removed to allow dark theme */
  /* border-bottom: 1px solid #f1f5f9; -- Removed for dark theme */
  overflow-x: auto;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: none;
  border: none;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  font-size: 0.875rem;
}

.tab:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.tab.active {
  color: #3b82f6;
  /* background: white; -- Removed to allow dark theme */
  border-bottom-color: #3b82f6;
}

/* Settings Content */
.settings-content {
  padding: 2rem;
  width: 100%;
}

.settings-section {
  width: 100%;
  max-width: none;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
}

.subsection-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 1.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subsection-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: #3b82f6;
  border-radius: 2px;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-column-gap: 2rem;
  column-gap: 2rem;   /* keep horizontal spacing */
  grid-row-gap: 1rem;
  row-gap: 1rem;      /* reduce vertical spacing */
}

/* Large screens - more columns */
@media (min-width: 1200px) {
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1600px) {
  .form-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  /* background: white; -- Removed to allow dark theme */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  /* background: white; -- Removed to allow dark theme */
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.form-group small {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}

/* Tax Info */
.tax-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.tax-info p {
  color: #0369a1;
  margin: 0;
  font-size: 0.875rem;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0 !important;
  cursor: pointer;
  font-weight: 500 !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

/* Notifications Grid */
.notifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .notifications-grid {
    grid-template-columns: 1fr;
  }
}

.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem;
  /* background: white; -- Removed to allow dark theme */
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.notification-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.notification-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.notification-info p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Toggle Switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 1.5rem;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 1.125rem;
  width: 1.125rem;
  left: 0.1875rem;
  bottom: 0.1875rem;
  /* background-color: white; -- Removed to allow dark theme */
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle input:checked + .toggle-slider {
  background-color: #3b82f6;
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(1.5rem);
}

/* Settings Actions */
.settings-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.unsaved-notice {
  color: #f59e0b;
  font-weight: 500;
  font-size: 0.875rem;
}

.unsaved-notice span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .settings-content {
    padding: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-group.full-width {
    grid-column: 1;
  }

  .settings-tabs {
    flex-direction: column;
  }

  .tab {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    border-right: none;
  }

  .tab.active {
    border-bottom-color: #f1f5f9;
    border-left: 3px solid #3b82f6;
  }

  .notification-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .settings-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .checkbox-group {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .settings-content {
    padding: 0.75rem;
  }

  .section-title {
    font-size: 1.125rem;
  }

  .notification-item {
    padding: 1rem;
  }
}

/* Design Preview Styles */
.design-preview {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.design-preview h3 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
}

.header-preview {
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  min-height: 120px;
  transition: all 0.3s ease;
}

.preview-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.preview-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.preview-logo.center {
  margin: 0 auto;
}

.preview-logo.right {
  margin-left: auto;
}

.logo-placeholder {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.preview-company-info {
  flex: 1 1;
}

.preview-company-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.preview-company-info p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.section-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

/* Color input styling */
.form-group input[type="color"] {
  width: 60px;
  height: 40px;
  padding: 4px;
  border-radius: 0.5rem;
  cursor: pointer;
}

.form-group input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.form-group input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

/* Design tabs enhancement */
.tab[data-tab="design"] {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-radius: 0.5rem 0.5rem 0 0;
}

.tab[data-tab="design"]:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: white;
}

/* Templates Library Styles */
.templates-library {
  margin-bottom: 2rem;
  padding: 1.5rem;
  /* background: white; -- Removed to allow dark theme */
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.templates-library h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
}

.library-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.template-card {
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  /* background: white; -- Removed to allow dark theme */
  overflow: hidden;
}

.template-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.template-card.selected {
  border-color: #3b82f6;
  background: #f8fafc;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.template-preview {
  height: 160px;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

/* Template Styles */
.template-preview.modern-blue {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-left: 4px solid #1e88e5;
}

.template-preview.classic-gray {
  background: #ffffff;
  border: 1px solid #d1d5db;
}

.template-preview.elegant-blue {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.template-preview.minimal-green {
  background: #ffffff;
  border-top: 2px solid #10b981;
}

.template-preview.corporate-orange {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.template-preview.creative-red {
  background: linear-gradient(45deg, #fff5f5 0%, #fef2f2 50%, #ffffff 100%);
}

/* Template Headers */
.template-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.template-header.gradient {
  background: linear-gradient(90deg, rgba(30, 136, 229, 0.1) 0%, transparent 100%);
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin: -0.5rem -0.5rem 1rem -0.5rem;
}

.template-header.minimal {
  border-bottom: 1px solid #e5e7eb;
}

.template-header.corporate {
  justify-content: space-between;
  border-bottom: 2px solid #f59e0b;
  padding-bottom: 0.5rem;
}

.template-header.creative {
  transform: skew(-2deg);
  background: rgba(239, 68, 68, 0.05);
  padding: 0.5rem;
  margin: -0.5rem -0.5rem 1rem -0.5rem;
}

/* Template Logos */
.template-logo {
  width: 24px;
  height: 24px;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.template-logo.blue { background: #1e88e5; }
.template-logo.gray { background: #374151; }
.template-logo.purple { background: #1e88e5; }
.template-logo.green { background: #10b981; }
.template-logo.orange { background: #f59e0b; }
.template-logo.red { background: #ef4444; }

/* Template Info */
.template-info {
  flex: 1 1;
}

.template-info.centered {
  text-align: center;
  margin: 0 auto;
}

.template-info.angled {
  transform: skew(2deg);
}

.template-title {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.template-title.blue { color: #1e88e5; }
.template-title.gray { color: #374151; }
.template-title.purple { color: #1e88e5; }
.template-title.green { color: #10b981; }
.template-title.orange { color: #f59e0b; }
.template-title.red { color: #ef4444; }

.template-subtitle {
  font-size: 0.625rem;
  color: #64748b;
}

/* Template Contact */
.template-contact {
  text-align: right;
}

.contact-line {
  height: 2px;
  background: #d1d5db;
  margin-bottom: 0.25rem;
  border-radius: 1px;
}

.contact-line:first-child {
  width: 40px;
  margin-left: auto;
}

.contact-line:last-child {
  width: 60px;
  margin-left: auto;
}

/* Template Content */
.template-content {
  flex: 1 1;
}

.template-content.minimal {
  padding-top: 0.5rem;
}

.template-content.creative {
  transform: skew(-1deg);
}

.template-line {
  height: 3px;
  background: #e5e7eb;
  margin-bottom: 0.5rem;
  border-radius: 1.5px;
}

.template-line.thin {
  height: 2px;
}

.template-line.short {
  width: 60%;
}

.template-line.angled {
  transform: skew(-1deg);
  background: linear-gradient(90deg, #ef4444, #fca5a5);
}

.template-separator {
  height: 1px;
  background: #d1d5db;
  margin: 0.5rem 0;
}

/* Template Details */
.template-details {
  text-align: center;
}

.template-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

.template-details p {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
  
  .template-preview {
    height: 140px;
  }
}

/* Numbering System Styles */
.numbering-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-style: italic;
}

.numbering-category {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.numbering-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-title {
  margin: 0 0 1.25rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.numbering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1rem;
}

.numbering-item {
  /* background: white; -- Removed to allow dark theme */
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.numbering-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.numbering-item label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.numbering-item input {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.numbering-item input[type="text"] {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
}

.numbering-item input[type="number"] {
  color: #059669;
  font-weight: 600;
}

.numbering-item input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.numbering-item input:last-child {
  margin-bottom: 0;
}

/* Responsive for numbering */
@media (max-width: 1024px) {
  .numbering-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
  }
}

/* Styles pour la grille de numérotation avec préfixes seulement */
.numbering-grid-prefix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1rem;
}

.numbering-item-prefix {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.numbering-item-prefix:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.numbering-item-prefix label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.numbering-item-prefix input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.numbering-item-prefix input[type="text"]:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Styles pour le bouton "Voir plus" et résumé des catégories */
.more-categories-button {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.more-categories-button .btn-outline {
  margin-bottom: 1rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  /* background: white; -- Removed to allow dark theme */
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.more-categories-button .btn-outline:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.categories-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.category-chip {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.category-chip:hover {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-color: #94a3b8;
  transform: translateY(-1px);
}

/* Résumé final des 68 documents */
.total-documents-summary {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  color: white;
  margin-top: 2rem;
}

.total-documents-summary h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.total-documents-summary p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.documents-count {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.count-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.count-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .numbering-grid, .numbering-grid-prefix {
    grid-template-columns: 1fr;
  }
  
  .numbering-category {
    padding: 1rem;
  }
  
  .category-title {
    font-size: 0.875rem;
  }
  
  .categories-summary {
    gap: 0.375rem;
  }
  
  .category-chip {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Styles pour les champs de compte bancaire - Each bank takes full vertical line */
.bank-account-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.75rem;
  background-color: rgba(0, 0, 0, 0.15);
}

.bank-account-inputs input,
.bank-account-inputs select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  min-height: 45px;
}

.bank-account-inputs input:focus,
.bank-account-inputs select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.bank-account-inputs .account-number {
  font-family: monospace;
  letter-spacing: 0;
  font-weight: 500;
}

.bank-account-inputs .bank-select,
.bank-account-inputs .wilaya-select {
  font-weight: 500;
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpolyline points=%276 9 12 15 18 9%27%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Clean horizontal layout - no individual sections needed */

/* Move third bank account up closer to the second one */
.bank-account-3 {
  margin-top: -4rem !important; /* cancel grid row gap */
}

@media (max-width: 768px) {
  .bank-account-inputs {
    gap: 0.75rem;
    padding: 0.75rem;
  }
  
  .bank-account-inputs input,
  .bank-account-inputs select {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
    min-height: 40px;
  }
  
  .field-subtitle {
    font-size: 0.8rem;
    padding: 0.25rem 0.4rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bank-account-inputs {
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .field-subtitle {
    font-size: 0.75rem;
    padding: 0.2rem 0.3rem;
    margin-bottom: 0.25rem;
  }
  
  .bank-account-inputs input,
  .bank-account-inputs select {
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
    min-height: 38px;
  }
}

/* Styles pour le champ de second nom d'entreprise */
.secondary-name-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #1e293b;
  transition: all 0.2s ease;
}

.secondary-name-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
} 

/* Logo Upload Styles */
.logo-upload-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.current-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px dashed #e2e8f0;
  border-radius: 0.5rem;
  background-color: #f8fafc;
}

.logo-preview {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
}

.remove-logo {
  padding: 0.25rem 0.75rem;
  background-color: #fee2e2;
  color: #dc2626;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.75rem;
}

.remove-logo:hover {
  background-color: #fecaca;
}

.logo-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #eff6ff;
  color: #3b82f6;
  border: 1px solid #bfdbfe;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  width: -webkit-fit-content;
  width: fit-content;
}

.logo-upload-button:hover {
  background-color: #dbeafe;
  border-color: #93c5fd;
}

.logo-tip {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
} 

/* Add styling for the secondary button */
.btn-secondary {
  background-color: #f0f2f5;
  color: #333;
  border: 1px solid #ddd;
}

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

/* Layout for settings actions to display buttons properly */
.settings-actions {
  display: flex;
  align-items: center;
  margin-top: 20px;
} 

/* Bank accounts row wrapper to place two accounts side by side */
.bank-accounts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.bank-account-block {
  display: flex;
  flex-direction: column;
} 
/* Settings CSS with updated UI to match Facturation */

/* Base Settings Styles */
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Smooth transition effects */
.transition-all {
  transition-property: all;
  transition-duration: 0.3s;
}

/* Settings Container Styling */
.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.backdrop-blur-lg {
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  color: white;
  transition: all 0.2s;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: rgba(59, 130, 246, 0.8);
  background-color: rgba(255, 255, 255, 0.18);
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Toggle Switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 1.5rem;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 1.125rem;
  width: 1.125rem;
  left: 0.1875rem;
  bottom: 0.1875rem;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle input:checked + .toggle-slider {
  background-color: #3b82f6;
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(1.5rem);
}

/* Animation for pulse */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Improved form section titles */
h2.text-xl.font-bold.text-white {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Field labels and form descriptions */
.section-description, 
.form-group small,
.logo-tip,
.numbering-description,
.category-title,
.library-description {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
}

/* Form section headings */
h3, h4, .section-title, .category-title {
  color: white;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Small descriptive text */
small, .small-text {
  color: rgba(255, 255, 255, 0.85);
}

/* Field labels with enhanced visibility */
.field-label {
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Even more prominent field labels for important fields */
.field-label-title {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
}

/* Make ALL form labels white */
label {
  color: white !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Target specific labels that might be getting overridden */
label[for], .logo-upload-container label, .checkbox-label {
  color: white !important;
  font-weight: 600;
}

/* Make sure all headings are white */
h2, h3, h4, h5, .category-title, .section-title {
  color: white !important;
}

/* Enhanced section titles */
.text-white {
  color: white !important;
}

/* Field titles like "Logo de l'entreprise" */
.logo-upload-container label, .secondary-name-input + label, 
div > label:first-child, .form-group > label:first-child {
  color: white !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Style descriptive text for better visibility */
.logo-tip, .secondary-name-input, small, .section-description {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Bank account styles are now handled in Settings.css */

/* Main form section labels */
.form-group > label:first-child:not(.field-subtitle) {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.3), rgba(124, 58, 237, 0.2));
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Add subtle glow to inputs on focus */
.bank-account-inputs input:focus,
.bank-account-inputs select:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Improve form grid layout for better spacing */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

/* Full width items */
.form-grid .form-group.full-width {
  grid-column: 1 / -1;
}

/* RC Section Styles */
.rc-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.rc-header > label {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  margin: 0;
}

.rc-toggle-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rc-toggle-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

.rc-toggle-switch {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.25rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rc-toggle-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.rc-toggle-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.rc-toggle-btn.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.4);
  transform: scale(1.02);
}

.rc-inputs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.rc-input-group {
  display: flex;
  flex-direction: column;
}

.rc-input-group label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.rc-input-group input {
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.rc-input-group input:focus {
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

.rc-input-group input.active-rc {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.rc-input-group input.active-rc:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

/* Responsive design for RC section */
@media (max-width: 768px) {
  .rc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .rc-inputs-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .rc-toggle-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
/* Corrections pour la page Paramètres */

/* Correction des cartes de statistiques */
@media (max-width: 768px) {
  .grid.grid-cols-1.md\:grid-cols-3.gap-6 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.75rem;
    gap: 0.75rem;
  }
}

/* Amélioration de l'affichage des onglets */
.flex.space-x-1.overflow-x-auto.hide-scrollbar {
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.flex.space-x-1.overflow-x-auto.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Affichage des onglets en icônes uniquement sur mobile */
@media (max-width: 768px) {
  .flex.space-x-1.overflow-x-auto.hide-scrollbar button span {
    display: none;
  }
  
  .flex.space-x-1.overflow-x-auto.hide-scrollbar button {
    padding: 0.75rem;
    min-width: 50px;
    justify-content: center;
  }
}

/* Correction des formulaires */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Amélioration des comptes bancaires */
.bank-account-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 0.75rem;
}

.bank-account-inputs input,
.bank-account-inputs select {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: white;
}

/* Correction des boutons d'action */
.flex.items-center.space-x-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .flex.flex-col.md\:flex-row.gap-4.items-center.justify-between {
    gap: 1rem;
  }
  
  .flex.items-center.space-x-4 {
    width: 100%;
    justify-content: space-between;
  }
  
  .flex.items-center.space-x-4 button {
    flex: 1 1;
    white-space: nowrap;
    padding: 0.75rem;
    justify-content: center;
  }
}

/* Correction de la barre de recherche */
.relative.flex-1.max-w-md {
  width: 100%;
  max-width: 100%;
}

/* Correction pour le profil utilisateur */
.profile-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.profile-info h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.profile-info p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.profile-field {
  margin-bottom: 1rem;
}

.profile-field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.profile-field p {
  font-size: 1rem;
  color: white;
  margin: 0;
}

.profile-edit-btn, .change-password-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-edit-btn:hover, .change-password-btn:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.profile-form .form-group {
  margin-bottom: 1rem;
}

.profile-form .form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.profile-form .form-group input {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: white;
}

.profile-form .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-save, .btn-cancel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-save {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
}

.btn-cancel {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-save:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.btn-cancel:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.profile-password-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-password-section p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Correction des messages de profil */
.profile-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.profile-message.success {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.profile-message.error {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Correction de la distribution des paramètres */
.grid.grid-cols-1.md\:grid-cols-3.gap-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

@media (max-width: 768px) {
  .grid.grid-cols-1.md\:grid-cols-3.gap-4 {
    grid-template-columns: 1fr;
  }
}

/* Correction des labels */
.field-label-title {
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  display: block;
}

/* Amélioration de la barre de recherche en bas */
.bg-white\/10.backdrop-blur-lg.rounded-3xl.p-6.border.border-white\/20.mt-6 {
  margin-top: 1.5rem;
}

/* Centrage du bouton Sauvegarder */
.bg-gradient-to-r.from-blue-600.to-purple-600.text-white.px-6.py-3.rounded-xl.font-semibold.hover\:from-blue-700.hover\:to-purple-700.transition-all.duration-300.flex.items-center.space-x-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Correction du bouton Sauvegarder en haut */
button.bg-gradient-to-r.from-blue-600.to-purple-600.text-white.px-6.py-3.rounded-xl.font-semibold.hover\:from-blue-700.hover\:to-purple-700.transition-all.duration-300.flex.items-center.space-x-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Correction des boutons d'action en bas */
@media (max-width: 768px) {
  .flex.flex-col.md\:flex-row.gap-4.items-center.justify-between {
    gap: 1rem;
  }
  
  .bg-amber-500\/20.text-amber-300.px-4.py-2.rounded-lg.flex.items-center {
    width: 100%;
    justify-content: center;
  }
}

/* Document Model Preview Styles */
.document-model-preview {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.document-model-preview:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 58, 138, 0.7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.preview-icon {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.preview-icon span {
  margin-top: 8px;
  font-size: 14px;
}

/* Section styles */
.model-section {
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
}

/* Header section */
.header-section {
  display: flex;
  gap: 15px;
}

.model-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-logo {
  width: 40px;
  height: 40px;
  background-color: rgba(66, 153, 225, 0.4);
  border-radius: 50%;
}

.model-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Title section */
.title-section {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

/* Info section */
.info-section {
  display: flex;
  justify-content: space-between;
}

.model-column {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.model-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Table section */
.table-section {
  overflow: hidden;
}

.model-table-header {
  display: flex;
  background-color: rgba(66, 153, 225, 0.2);
  padding: 6px 0;
  border-radius: 4px 4px 0 0;
}

.model-table-row {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 0;
}

.model-cell {
  height: 10px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.model-cell.small {
  width: 10%;
}

.model-cell.medium {
  width: 20%;
}

.model-cell.large {
  width: 30%;
}

/* Totals section */
.totals-section {
  display: flex;
  justify-content: flex-end;
}

.model-totals {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.model-total-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.model-total-label {
  width: 40%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.model-total-value {
  width: 30%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.model-total-row.highlight {
  background-color: rgba(66, 153, 225, 0.1);
  border-radius: 4px;
  padding: 6px 4px;
}

.highlight .model-total-label,
.highlight .model-total-value {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Footer section */
.footer-section {
  padding: 10px 0;
}

/* Line styles */
.model-line {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.model-line.short {
  width: 30%;
}

.model-line.medium {
  width: 60%;
}

.model-line.long {
  width: 90%;
}

.model-line.center {
  margin: 0 auto;
}

/* Full preview modal styles */
.full-model-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.model-preview-content {
  position: relative;
  background-color: white;
  width: 95%;
  max-width: 1200px;
  max-height: 95vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 10000;
  animation: modalFadeIn 0.3s ease;
  margin: auto;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.model-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #1e3a8a;
  color: white;
}

.model-preview-header h3 {
  margin: 0;
  font-size: 18px;
  color: white;
}

.close-preview {
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.close-preview:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.model-preview-body {
  padding: 20px;
  overflow: auto;
  flex: 1 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

/* Document preview styles */
.real-document-preview {
  background-color: white;
  padding: 40px 20px;
  color: #333;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure DocumentPreview component is properly sized within modal */
.model-preview-body > div {
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Style the document preview container */
.document-preview {
  max-width: 800px !important;
  width: 100% !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

/* Specific styles for DocumentPreview when inside modal */
.model-preview-body .document-preview {
  min-height: auto !important;
  height: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  background: white !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ensure document container fits properly in modal */
.model-preview-body .document-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  overflow-x: auto !important;
}

/* Scale down the preview content if needed */
.model-preview-body .document-paper {
  transform: scale(0.9);
  transform-origin: top center;
  margin: 0 auto;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
  .model-preview-content {
    width: 98%;
    max-height: 90vh;
    margin: 1rem;
  }
  
  .model-preview-body {
    padding: 10px;
  }
  
  .model-preview-body .document-paper {
    transform: scale(0.7);
  }
  
  .model-preview-body .document-preview {
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .model-preview-content {
    width: 100%;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    margin: 0;
  }
  
  .model-preview-body {
    padding: 5px;
  }
  
  .model-preview-body .document-paper {
    transform: scale(0.6);
  }
}

.preview-document-header {
  padding-bottom: 20px;
}

.preview-header-content {
  display: flex;
  gap: 20px;
}

.preview-logo-section {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-company-logo {
  max-width: 100%;
  max-height: 100%;
}

.preview-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #888;
  font-weight: bold;
}

.preview-company-section {
  flex: 1 1;
}

.preview-company-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #2c5282;
}

.preview-company-name-arabic {
  font-size: 18px;
  margin-bottom: 5px;
  direction: rtl;
  text-align: left;
}

.preview-company-activity,
.preview-company-services {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 5px;
}

.preview-company-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 12px;
}

.preview-company-bank {
  margin-top: 5px;
  font-size: 12px;
}

.preview-header-separator {
  margin-top: 15px;
  height: 2px;
  background-color: #4299e1;
}

.preview-document-title {
  text-align: center;
  margin: 20px 0;
}

.preview-document-title h2 {
  color: #2c5282;
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.preview-document-info {
  display: flex;
  margin-bottom: 30px;
}

.preview-info-left {
  flex: 1 1;
}

.preview-info-row {
  display: flex;
  margin-bottom: 5px;
  font-size: 14px;
}

.preview-info-label {
  font-weight: bold;
  width: 120px;
}

.preview-info-right {
  flex: 1 1;
}

.preview-recipient-box {
  border: 1px solid #e2e8f0;
  padding: 15px;
  border-radius: 4px;
}

.preview-recipient-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 16px;
}

.preview-recipient-address {
  margin-bottom: 10px;
  font-size: 14px;
}

.preview-recipient-details {
  font-size: 13px;
}

.preview-detail-row {
  display: flex;
  margin-bottom: 3px;
}

.preview-detail-label {
  font-weight: bold;
  width: 80px;
}

.preview-items-table-section {
  margin-bottom: 20px;
}

.preview-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.preview-items-table th,
.preview-items-table td {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  text-align: left;
  font-size: 14px;
}

.preview-items-table th {
  background-color: #edf2f7;
  font-weight: bold;
}

.preview-totals-area {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.preview-totals-table {
  width: 300px;
  border-collapse: collapse;
}

.preview-totals-table td {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  text-align: right;
  font-size: 14px;
}

.preview-total-label {
  font-weight: bold;
}

.preview-net-total td {
  background-color: #edf2f7;
  font-weight: bold;
}

.preview-amount-words {
  font-size: 14px;
  margin-top: 20px;
}
/* Preview Modal Styles */
.preview-modal-container {
  /* Ensure modal content scales properly */
}

.preview-modal-body .document-preview {
  /* Override default DocumentPreview styles for modal */
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  min-height: auto !important;
  background: white !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: scale(0.9) translateY(-20px) !important;
  transform-origin: center top !important;
}

.preview-modal-body .document-paper {
  /* Ensure document content fits within modal */
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

/* Responsive scaling for different screen sizes */
@media (max-width: 1200px) {
  .preview-modal-body .document-preview {
    transform: scale(0.8) translateY(-15px) !important;
  }
}

@media (max-width: 768px) {
  .preview-modal-body .document-preview {
    transform: scale(0.7) translateY(-10px) !important;
  }
}

@media (max-width: 640px) {
  .preview-modal-body .document-preview {
    transform: scale(0.6) translateY(-5px) !important;
  }
}

/* Animation for modal appearance */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.preview-modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

/* Ensure text is readable in preview */
.preview-modal-body .document-preview * {
  color: #333 !important;
  background-color: transparent !important;
}

/* Make sure scrollbars are hidden in preview */
.preview-modal-body::-webkit-scrollbar {
  width: 8px;
}

.preview-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.preview-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.preview-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Model card styles for Settings page */
.document-model-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.document-model-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.document-model-card.selected {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 10px 25px rgba(0, 0, 0, 0.15);
}

.document-model-card-header {
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.document-model-card-header h4 {
  margin: 0;
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.document-model-selected-badge {
  background: rgba(59, 130, 246, 0.8);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-model-thumbnail {
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.1);
  flex: 1 1;
}

/* Miniature model section styles */
.model-section.table-section.mini {
  transform: scale(0.8);
  margin: -10px;
}

.model-section.header-section.modern {
  background: linear-gradient(to right, rgba(59, 130, 246, 0.15), rgba(124, 58, 237, 0.15));
  border-radius: 8px;
}

.model-section.title-section.modern {
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.07), transparent);
  border-radius: 8px;
}

.model-section.table-section.mini.modern {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
}

.model-section.header-section.minimal {
  padding: 10px;
}

.model-content.minimal {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-model-card-footer {
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
}

.document-model-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.document-model-view-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.document-model-coming-soon {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  padding: 6px 0;
}

/* Document preview styling for Settings page */
/* Match the real document preview styling from the create document page */

.real-document-preview {
  background-color: white;
  padding: 30px;
  font-family: 'Arial', sans-serif;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  margin: auto;
  position: relative;
}

.preview-document-header {
  display: flex;
  flex-direction: column;
}

.preview-header-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.preview-logo-section {
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.preview-company-logo {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.preview-logo-placeholder {
  width: 80px;
  height: 80px;
  background-color: #f0f0f0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 4px;
}

.preview-company-section {
  flex: 1 1;
}

.preview-company-name {
  font-size: 18px;
  font-weight: bold;
  color: #2c5282;
  margin-bottom: 2px;
}

.preview-company-name-arabic {
  font-size: 16px;
  margin-bottom: 2px;
  direction: rtl;
}

.preview-company-activity, 
.preview-company-services {
  font-size: 13px;
  color: #4a5568;
  margin-bottom: 2px;
}

.preview-company-details,
.preview-company-bank {
  font-size: 11px;
  margin-top: 5px;
}

.preview-header-separator {
  height: 2px;
  background-color: #4299e1;
  margin-top: 10px;
  margin-bottom: 15px;
}

.preview-document-title {
  text-align: center;
  margin-bottom: 20px;
}

.preview-document-title h2 {
  color: #2c5282;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.preview-document-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.preview-info-left {
  flex: 1 1;
}

.preview-info-row {
  display: flex;
  margin-bottom: 4px;
  font-size: 13px;
}

.preview-info-label {
  font-weight: bold;
  width: 120px;
}

.preview-info-right {
  flex: 1 1;
  display: flex;
  justify-content: flex-end;
}

.preview-recipient-box {
  border: 1px solid #e2e8f0;
  padding: 10px 15px;
  border-radius: 4px;
  width: 100%;
  max-width: 300px;
}

.preview-recipient-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 14px;
}

.preview-recipient-address {
  margin-bottom: 8px;
  font-size: 13px;
}

.preview-recipient-details {
  font-size: 12px;
}

.preview-detail-row {
  display: flex;
  margin-bottom: 3px;
  font-size: 12px;
}

.preview-detail-label {
  font-weight: bold;
  width: 80px;
}

.preview-items-table-section {
  margin-top: 20px;
}

.preview-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 12px;
}

.preview-items-table th,
.preview-items-table td {
  border: 1px solid #e2e8f0;
  padding: 6px 8px;
  text-align: left;
}

.preview-items-table th {
  background-color: #edf2f7;
  font-weight: bold;
}

.preview-totals-area {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.preview-totals-table {
  width: 250px;
  border-collapse: collapse;
  font-size: 13px;
}

.preview-totals-table td {
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  text-align: right;
}

.preview-total-label {
  font-weight: bold;
}

.preview-net-total td {
  background-color: #edf2f7;
  font-weight: bold;
}

.preview-amount-words {
  font-size: 13px;
  margin-top: 15px;
  margin-bottom: 25px;
}

.preview-signature-section {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

/* Facturation.css */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth transition effects */
.transition-all {
  transition-property: all;
  transition-duration: 0.3s;
}
.profile-container {
  padding: 20px;
  max-width: 100%;
  animation: fadeIn 0.3s ease;
}

.profile-header-section {
  background-color: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: white;
}

.subtitle {
  font-size: 15px;
  margin: 0;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

.profile-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  padding: 24px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin-right: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.profile-info {
  flex: 1 1;
}

.profile-info h2 {
  margin: 0;
  font-size: 1.4rem;
  color: white;
  font-weight: 600;
}

.profile-info p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.profile-details {
  padding: 0.5rem 0;
}

.profile-field {
  margin-bottom: 1rem;
}

.profile-field label {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
  gap: 0.5rem;
}

.profile-field label .icon,
.form-group label .icon {
  color: rgba(59, 130, 246, 0.8);
}

.profile-field p {
  margin: 0;
  padding: 0.5rem 0;
  color: white;
  font-size: 1rem;
}

.profile-edit-btn,
.change-password-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logout-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: white;
}

.profile-edit-btn:hover,
.change-password-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.profile-form,
.password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group input {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  width: 100%;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.15);
  background-color: rgba(255, 255, 255, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-save,
.btn-cancel {
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-save {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-save:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.section-title {
  margin-top: 0;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title svg {
  color: rgba(59, 130, 246, 0.8);
}

.profile-password-section {
  display: flex;
  flex-direction: column;
}

.profile-password-section p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.profile-message {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 0.3s ease;
}

.profile-message.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.profile-message.error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .profile-container {
    padding: 15px;
  }
  
  .profile-header-section {
    padding: 16px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-save, .btn-cancel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .profile-avatar {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .profile-info {
    text-align: center;
  }
} 
/* Settings Upload Button Fix Styles */

/* Make upload buttons more visible against white background */
.logo-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white !important;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  width: -webkit-fit-content;
  width: fit-content;
  box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3);
}

.logo-upload-button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4);
}

/* Improve the upload container styling */
.logo-upload-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Style the current logo preview area */
.current-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.15);
}

.logo-preview {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 0.25rem;
}

/* Style the remove button */
.remove-logo {
  padding: 0.4rem 1rem;
  background-color: rgba(220, 38, 38, 0.8);
  color: white;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.remove-logo:hover {
  background-color: rgba(220, 38, 38, 1);
}

/* Style the tip text */
.logo-tip {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-align: center;
}

/* Import des polices modernes */

/* Variables CSS globales */
:root {
  --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --secondary-gradient: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* Base styles */
body {
  font-family: 'Inter', sans-serif;
}

/* Pour la prise en charge de l'arabe */
html[lang="ar"] body {
  font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

/* Styles de base pour le texte */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

/* Boutons modernes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

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

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
  background: var(--secondary-gradient);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-accent:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  background: var(--success-gradient);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-success:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  background: var(--danger-gradient);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-danger:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid;
  color: #64748b;
}

.btn-outline:hover {
  background-color: currentColor;
  color: white;
}

.btn-ghost {
  background-color: transparent;
  color: #64748b;
}

.btn-ghost:hover {
  background-color: rgba(241, 245, 249, 0.1);
}

/* Cards modernes avec effet glassmorphism */
.card {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 4px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.dark .card {
  background-color: rgba(30, 41, 59, 0.8);
  border-color: rgba(30, 41, 59, 0.5);
}

/* Inputs modernes */
.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Tableaux modernes */
.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-modern th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-modern td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.875rem;
}

.table-modern tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Badges modernes */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  background: var(--primary-gradient);
  color: white;
}

.badge-secondary {
  background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
  background: var(--secondary-gradient);
  color: white;
}

.badge-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  background: var(--success-gradient);
  color: white;
}

.badge-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  background: var(--danger-gradient);
  color: white;
}

.badge-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

/* Éléments statut */
.status-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

.status-success {
  background: #22c55e;
}

.status-pending {
  background: #f59e0b;
}

.status-danger {
  background: #ef4444;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

.slide-up {
  animation: slideUp 0.4s ease-out;
}

.scale-in {
  animation: scaleIn 0.2s ease-out;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideIn {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes slideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Support RTL */
.rtl {
  direction: rtl;
  text-align: right;
}

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

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

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
  scrollbar-width: none;  /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}

/* Make all dropdowns transparent */
select {
  background-color: transparent !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

select option {
  background-color: #334155;
  color: white;
}

select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/*# sourceMappingURL=main.ac2816fc.css.map*/