@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css);
*, ::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.19 | 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: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -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;
}
.collapse {
  visibility: collapse;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.left-0 {
  left: 0px;
}
.right-4 {
  right: 1rem;
}
.top-0 {
  top: 0px;
}
.top-4 {
  top: 1rem;
}
.z-10 {
  z-index: 10;
}
.z-30 {
  z-index: 30;
}
.z-50 {
  z-index: 50;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.ml-16 {
  margin-left: 4rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-64 {
  margin-left: 16rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-4 {
  height: 1rem;
}
.h-8 {
  height: 2rem;
}
.max-h-56 {
  max-height: 14rem;
}
.max-h-\[75vh\] {
  max-height: 75vh;
}
.min-h-screen {
  min-height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-16 {
  width: 4rem;
}
.w-24 {
  width: 6rem;
}
.w-4 {
  width: 1rem;
}
.w-6 {
  width: 1.5rem;
}
.w-64 {
  width: 16rem;
}
.w-8 {
  width: 2rem;
}
.w-\[300px\] {
  width: 300px;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-full {
  min-width: 100%;
}
.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-\[1800px\] {
  max-width: 1800px;
}
.flex-1 {
  flex: 1 1 0%;
}
.border-collapse {
  border-collapse: collapse;
}
.cursor-pointer {
  cursor: pointer;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.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));
}
.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-slate-200 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-divide-opacity, 1));
}
.self-start {
  align-self: flex-start;
}
.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;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-amber-200 {
  --tw-border-opacity: 1;
  border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
}
.border-amber-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 211 77 / var(--tw-border-opacity, 1));
}
.border-emerald-200 {
  --tw-border-opacity: 1;
  border-color: rgb(167 243 208 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-indigo-200 {
  --tw-border-opacity: 1;
  border-color: rgb(199 210 254 / var(--tw-border-opacity, 1));
}
.border-rose-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 205 211 / var(--tw-border-opacity, 1));
}
.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.border-slate-300 {
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
}
.border-slate-700 {
  --tw-border-opacity: 1;
  border-color: rgb(51 65 85 / var(--tw-border-opacity, 1));
}
.border-slate-800 {
  --tw-border-opacity: 1;
  border-color: rgb(30 41 59 / var(--tw-border-opacity, 1));
}
.border-slate-900 {
  --tw-border-opacity: 1;
  border-color: rgb(15 23 42 / var(--tw-border-opacity, 1));
}
.bg-amber-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(253 230 138 / var(--tw-bg-opacity, 1));
}
.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-blue-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(191 219 254 / var(--tw-bg-opacity, 1));
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-emerald-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(167 243 208 / var(--tw-bg-opacity, 1));
}
.bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
}
.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.bg-indigo-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(238 242 255 / var(--tw-bg-opacity, 1));
}
.bg-rose-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 205 211 / var(--tw-bg-opacity, 1));
}
.bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1));
}
.bg-rose-50\/40 {
  background-color: rgb(255 241 242 / 0.4);
}
.bg-slate-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}
.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}
.bg-slate-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));
}
.bg-slate-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-white\/70 {
  background-color: rgb(255 255 255 / 0.7);
}
.p-0 {
  padding: 0px;
}
.p-1 {
  padding: 0.25rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.pr-1 {
  padding-right: 0.25rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pt-0 {
  padding-top: 0px;
}
.pt-2 {
  padding-top: 0.5rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.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-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.\!text-amber-950 {
  --tw-text-opacity: 1 !important;
  color: rgb(69 26 3 / var(--tw-text-opacity, 1)) !important;
}
.\!text-blue-950 {
  --tw-text-opacity: 1 !important;
  color: rgb(23 37 84 / var(--tw-text-opacity, 1)) !important;
}
.\!text-emerald-950 {
  --tw-text-opacity: 1 !important;
  color: rgb(2 44 34 / var(--tw-text-opacity, 1)) !important;
}
.\!text-gray-900 {
  --tw-text-opacity: 1 !important;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1)) !important;
}
.\!text-rose-950 {
  --tw-text-opacity: 1 !important;
  color: rgb(76 5 25 / var(--tw-text-opacity, 1)) !important;
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-amber-700 {
  --tw-text-opacity: 1;
  color: rgb(180 83 9 / var(--tw-text-opacity, 1));
}
.text-amber-900 {
  --tw-text-opacity: 1;
  color: rgb(120 53 15 / var(--tw-text-opacity, 1));
}
.text-emerald-700 {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}
.text-emerald-800 {
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1));
}
.text-emerald-900 {
  --tw-text-opacity: 1;
  color: rgb(6 78 59 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-indigo-800 {
  --tw-text-opacity: 1;
  color: rgb(55 48 163 / var(--tw-text-opacity, 1));
}
.text-rose-700 {
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1));
}
.text-rose-800 {
  --tw-text-opacity: 1;
  color: rgb(159 18 57 / var(--tw-text-opacity, 1));
}
.text-slate-100 {
  --tw-text-opacity: 1;
  color: rgb(241 245 249 / var(--tw-text-opacity, 1));
}
.text-slate-300 {
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity, 1));
}
.text-slate-400 {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}
.text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}
.text-slate-900 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.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: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.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: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring-1 {
  --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), var(--tw-shadow, 0 0 #0000);
}
.ring-amber-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(252 211 77 / var(--tw-ring-opacity, 1));
}
.ring-blue-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity, 1));
}
.ring-emerald-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(110 231 183 / var(--tw-ring-opacity, 1));
}
.ring-gray-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1));
}
.ring-rose-300 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(253 164 175 / var(--tw-ring-opacity, 1));
}
.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);
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.hover\:bg-rose-50\/60:hover {
  background-color: rgb(255 241 242 / 0.6);
}
.hover\:bg-slate-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}
.hover\:bg-slate-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}
.hover\:bg-slate-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));
}
.hover\:bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.hover\:text-slate-900:hover {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
@media (min-width: 640px) {

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

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

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

  .sm\:justify-between {
    justify-content: space-between;
  }
}
@media (min-width: 768px) {

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

  .md\:w-56 {
    width: 14rem;
  }

  .md\:w-96 {
    width: 24rem;
  }

  .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\:flex-row {
    flex-direction: row;
  }

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

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

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

  .md\:self-center {
    align-self: center;
  }
}
@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\: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));
  }
}
@media (min-width: 1280px) {

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

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

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

/* Modern Layout (Inspired by SentinelOne and 1Plus1) */
body {
  margin: 0;
}

.modern {
  display: flex;
  min-height: 100vh;

  /* DISABLED (Step 3): Global font stack in app.css.
     Let Tailwind typography control the font consistently. */
  /* font-family: 'Arial', sans-serif; */

  /* Keep shell background for now */
  background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.06), transparent 60%),
              radial-gradient(900px 500px at 80% 20%, rgba(255,255,255,0.04), transparent 55%),
              #0b1220;
}

/* Sidebar (keep glass shell; we’ll convert spacing/width to Tailwind later) */
.modern .sidebar {
  background: rgba(255,255,255,0.04);
  border-right: 1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 2px 0 18px rgba(0,0,0,0.25);
}

/* Sidebar full height layout */
.modern .sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* New fixed top structure for logo + nav */
.sidebar-top {
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.sidebar-content {
  flex-grow: 1;
  padding-top: 10px;
}

.modern .sidebar.collapsed {
  width: 60px;
}

.modern .sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modern .sidebar h3 {
  margin: 0;
  font-size: 24px;
}

.modern .sidebar .collapse-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 18px;
}

.modern .sidebar ul {
  list-style: none;
  padding: 0;
}

.modern .sidebar li {
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
  position: relative;
}

.modern .sidebar li span,
.modern .sidebar .sidebar-item span,
.modern .sidebar .sidebar-group span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5px;
  transition: background-color 0.3s;
}

/* 
.modern .sidebar li:hover > span,
.modern .sidebar .sidebar-item:hover,
.modern .sidebar .sidebar-group:hover {
  background: #6C63FF;
}

.modern .sidebar li i {
  background: #1C2526;
  padding: 0 5px;
}

.modern .sidebar li ul {
  display: none;
  padding-left: 20px;
  background: #1C2526;
}

.modern .sidebar li:hover > ul {
  display: block;
}

.modern .sidebar li ul li {
  padding: 10px;
  background: #1C2526;
}

.modern .sidebar li ul li:hover {
  background: rgba(108, 99, 255, 0.2);
}
*/
/* Collapsed Mode Cleanup */
/*
.modern .sidebar.collapsed li span,
.modern .sidebar.collapsed .sidebar-group span,
.modern .sidebar.collapsed .sidebar-item span {
  display: none;
}

.modern .sidebar.collapsed ul ul {
  display: none !important;
}

.modern .sidebar .sidebar-group,
.modern .sidebar .sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.modern .sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
*/
.modern .logo h3 {
  font-size: 20px;
  margin: 0;
  white-space: nowrap;
}

.modern .main-content {
  margin-left: 0;              /* flex handles layout */
  padding: 20px;
  background: transparent;
  flex-grow: 1;
  transition: none;
}

.modern .main-content.collapsed {
  margin-left: 0;
}

/* Frame (keep temporarily; we’ll replace with Tailwind “Card” pattern later) */
.modern .frame {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.modern .frames-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modern .frame h2 {
  color: rgba(255,255,255,0.95);
  margin: 0 0 10px;
  font-size: 18px;
}

/* =========================
   DISABLED (Step 3):
   Table styling overrides in app.css.
   These fight Tailwind and cause inconsistent fonts/spacing.
   ========================= */
/*
.modern table {
  background: transparent;
}

.modern th {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.modern td {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modern tr:hover {
  background: rgba(255,255,255,0.04);
}
*/

.modern .right-align {
  text-align: right;
}

/* =========================
   DISABLED (Step 3):
   Button and pagination system in app.css.
   Buttons should become Tailwind primitives.
   ========================= */
/*
.modern .controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.modern .controls button {
  padding: 8px 12px;
  background: #6C63FF;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modern .controls button:hover {
  background: #5A54D9;
}

.modern .pagination {
  margin-top: 20px;
  display: flex;
  gap: 5px;
  justify-content: center;
}

.modern .pagination button {
  padding: 6px 12px;
  border: 1px solid #E0E0E0;
  background: #FFFFFF;
  color: #6C63FF;
  cursor: pointer;
  border-radius: 4px;
}

.modern .pagination button.active {
  background: #6C63FF;
  color: #FFFFFF;
}

.modern .pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
*/

.modern .loading,
.modern .error {
  padding: 20px;
  text-align: center;
  color: #FFFFFF;
  background: #2E2E2E;
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.subscription-header h2 {
  margin: 0;
}

/* =========================
   DISABLED (Step 3):
   Legacy button-group styling (will be Tailwind).
   ========================= */
/*
.button-group {
  display: flex;
  gap: 10px;
}

.button-group button {
  padding: 8px 16px;
  background-color: #34495e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button-group button:hover {
  background-color: #3e5c76;
}
*/

.expanded-details {
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

.expanded-details h3 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  color: #003087;
}

.details-columns.two-columns {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.details-columns.two-columns .column,
.details-columns.three-columns .column {
  flex: 1;
  min-width: 0;
}

.details-columns.three-columns {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.details-columns .column h4 {
  margin: 0 0 15px;
  font-size: 1.1rem;
  color: #333333;
  font-weight: 600;
}

.details-columns .column p {
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  align-items: flex-start;
}

.details-columns .column p strong {
  color: #333333;
  font-weight: 600;
  flex: 0 0 40%;
}

.details-columns .column p span {
  color: #666666;
  flex: 1;
  text-align: left;
  white-space: pre-wrap;
  max-width: 100%;
}

.details-columns .column p span span {
  white-space: pre-wrap;
  max-width: 100%;
}

.expand-icon {
  display: inline-block;
  width: 20px;
  text-align: center;
}

/* Modal (keep; we can Tailwind-ize later) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 10px 0;
}

/* =========================
   DISABLED (Step 3):
   Dark / Glass Theme Fixes that override typography tags globally.
   These blocks are a primary cause of “text too light / inconsistent.”
   ========================= */
/*
.modern {
  color: rgba(255,255,255,0.88);
}

.modern h1,
.modern h2,
.modern h3,
.modern h4,
.modern h5 {
  color: rgba(255,255,255,0.95);
}

.modern p,
.modern span,
.modern label {
  color: rgba(255,255,255,0.82);
}

.modern .sidebar {
  color: rgba(255,255,255,0.85);
}

.modern .sidebar a,
.modern .sidebar button {
  color: rgba(255,255,255,0.88);
}

.modern .sidebar a:hover,
.modern .sidebar button:hover {
  color: #ffffff;
}

.modern .sidebar svg,
.modern .sidebar i {
  color: rgba(255,255,255,0.75);
}
*/

/* =========================
   DISABLED (Step 3):
   Global inputs & focus styling for dark shell.
   We will style inputs per-surface using Tailwind.
   ========================= */
/*
.modern input,
.modern select,
.modern textarea {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.18);
}

.modern input::placeholder {
  color: rgba(255,255,255,0.55);
}

.modern input:focus,
.modern select:focus,
.modern textarea:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.32);
  outline: none;
}
*/

/* =========================
   DISABLED (Step 3):
   Global button overrides (will be Tailwind).
   ========================= */
/*
.modern button {
  color: rgba(255,255,255,0.95);
}
*/

/* =========================
   DISABLED (Step 3):
   Tables global overrides (duplicate block).
   ========================= */
/*
.modern table {
  color: rgba(255,255,255,0.88);
}

.modern th {
  color: rgba(255,255,255,0.95);
}

.modern td {
  color: rgba(255,255,255,0.85);
}
*/

/* Links (optional keep; safe) */
.modern a {
  color: rgba(140,180,255,0.95);
}

.modern a:hover {
  color: #ffffff;
}

/* =========================
   DISABLED (Step 3):
   Glass Button System and Audit Controls Fixes.
   This is a styling subsystem that conflicts with Tailwind.
   ========================= */
/*
.modern button,
.modern .btn {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.modern .controls button,
.modern .pagination button,
.modern .button-group button {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  font-weight: 650;
}

.modern .controls button:hover,
.modern .pagination button:hover,
.modern .button-group button:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.40);
}

.modern .pagination button.active {
  background: rgba(140,180,255,0.95);
  color: #ffffff;
  border: none;
}

.modern .pagination button:disabled,
.modern button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

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

.modern .controls button {
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 650;
  line-height: 44px;
}

.modern .controls button:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.40);
}

.modern .controls .search-input {
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.18);
}

.modern .controls .search-input::placeholder {
  color: rgba(255,255,255,0.55);
}
*/

/* =========================
   DISABLED (Step 3):
   SaaS Distributor Mapping table overrides.
   Convert those tables to Tailwind table primitives.
   ========================= */
/*
.modern .mapping-frame table {
  background: transparent;
}

.modern .mapping-frame th {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.modern .mapping-frame td {
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modern .mapping-frame tr[style*="ffeaea"] {
  background: rgba(255, 80, 80, 0.16) !important;
}

.modern .mapping-frame tr:not([style*="ffeaea"]):hover {
  background: rgba(255,255,255,0.06);
}

.modern .mapping-frame td:nth-child(10) {
  font-weight: 700;
}

.modern .mapping-frame td:last-child {
  text-align: center;
  font-size: 16px;
}

.modern .mapping-frame td.map-ref-missing {
  background: rgba(255, 80, 80, 0.18);
  color: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding-left: 10px;
  padding-right: 10px;
}
*/

/* Font Awesome import (optional; keep if you use it) */

/* =========================================
   OnePortal Theme Layer (Brand + Consistency)
   Keep: tokens + op-surface utilities are helpful.
   ========================================= */

/* Brand tokens */
:root {
  --op-brand-navy: #004a80;
  --op-brand-blue: #00adee;

  --op-shell: #061a2b;
  --op-shell-2: #0b2a44;
  --op-text-on-shell: rgba(255,255,255,0.90);
  --op-muted-on-shell: rgba(255,255,255,0.72);

  --op-surface: #ffffff;
  --op-surface-2: #f7fafc;
  --op-text: #0f172a;
  --op-muted: #475569;

  --op-border: #e2e8f0;
  --op-border-2: #cbd5e1;

  --op-focus: rgba(0, 173, 238, 0.35);
}

/* Keep shell background update */
.modern {
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(0, 173, 238, 0.10), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(0, 74, 128, 0.18), transparent 55%),
    var(--op-shell);
  color: var(--op-text-on-shell);
}

/* Sidebar hover accent: keep for now */
.modern .sidebar li:hover > span,
.modern .sidebar .sidebar-item:hover,
.modern .sidebar .sidebar-group:hover {
  background: rgba(0, 173, 238, 0.18);
}

/* DISABLED: This targets all buttons globally again; keep off. */
/*
.modern button:hover,
.modern .btn:hover {
  border-color: rgba(0, 173, 238, 0.55);
}
*/

/* Standard surface utility for white cards/panels */
.op-surface {
  background: var(--op-surface);
  color: var(--op-text);
  border: 1px solid var(--op-border);
  border-radius: 16px;
}

/* Make text inside surface readable */
.op-surface,
.op-surface * {
  color: inherit;
}

/* Inputs inside white surfaces: keep (useful while transitioning) */
.op-surface input,
.op-surface select,
.op-surface textarea {
  background: var(--op-surface) !important;
  color: var(--op-text) !important;
  border: 1px solid var(--op-border-2) !important;
  border-radius: 10px !important;
}

.op-surface input::placeholder,
.op-surface textarea::placeholder {
  color: #94a3b8 !important;
}

/* Focus ring consistent with brand accent */
.op-surface input:focus,
.op-surface select:focus,
.op-surface textarea:focus {
  outline: none !important;
  border-color: var(--op-brand-blue) !important;
  box-shadow: 0 0 0 3px var(--op-focus) !important;
}

/* Primary button (use on light surfaces) */
.op-btn-primary {
  background: var(--op-brand-navy);
  color: white !important;
  border: 1px solid var(--op-brand-navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

.op-btn-primary:hover {
  background: #003a66;
}

/* Outline button (use on light surfaces) */
.op-btn-outline {
  background: transparent;
  color: var(--op-brand-navy) !important;
  border: 1px solid var(--op-brand-navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

.op-btn-outline:hover {
  background: rgba(0, 74, 128, 0.06);
}

/* --- Login Page --- */
.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.08), transparent 60%),
                radial-gradient(900px 500px at 80% 20%, rgba(255,255,255,0.06), transparent 55%),
                #0b1220;
  }
  
  .login-card {
    width: 100%;
    max-width: 980px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
    overflow: hidden;
  }
  
  .login-header {
    padding: 22px 22px 0 22px;
  }
  
  .login-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #fff;
  }
  
  .login-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
  }
  
  .login-title {
    font-size: 20px;
    font-weight: 750;
    line-height: 1.1;
  }
  
  .login-subtitle {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 4px;
  }
  
  .login-alert {
    margin: 16px 22px 0 22px;
    padding: 12px 12px;
    border-radius: 12px;
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.25);
    color: #ffe5e5;
    font-size: 13px;
  }
  
  .login-sections {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
    padding: 22px;
  }
  
  .login-section {
    color: #fff;
    padding: 18px;
    border-radius: 16px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.10);
  }
  
  .section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 6px;
  }
  
  .section-help {
    font-size: 13px;
    opacity: 0.78;
    margin-bottom: 14px;
    line-height: 1.35;
  }
  
  .section-footnote {
    font-size: 12px;
    opacity: 0.65;
    margin-top: 12px;
    line-height: 1.35;
  }
  
  .login-divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    align-self: stretch;
    border-radius: 999px;
  }
  
  /* Form */
  .login-form {
    display: grid;
    gap: 12px;
  }
  
  .field span {
    display: block;
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 6px;
  }
  
  .field input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 10px 12px;
    outline: none;
  }
  
  .field input:focus {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.08);
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    padding: 10px 12px;
    font-weight: 650;
    cursor: pointer;
  }
  
  .btn-primary {
    background: rgba(255,255,255,0.16);
    color: #fff;
  }
  
  .btn-primary:hover {
    background: rgba(255,255,255,0.22);
  }
  
  .btn-secondary {
    background: rgba(255,255,255,0.10);
    color: #fff;
  }
  
  .btn-secondary:hover {
    background: rgba(255,255,255,0.16);
  }
  
  .login-footer {
    padding: 14px 22px 18px 22px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.70);
    font-size: 12px;
  }
  
  .login-footer .dot {
    opacity: 0.6;
  }
  /* Constrain client login form width */
  .login-sections > .login-section:nth-of-type(2) .login-form {
    max-width: 360px;
    margin: 0 auto;
  }
  .login-sections > .login-section:nth-of-type(2) .field span {
    margin-bottom: 4px;
  }
  
  .login-sections > .login-section:nth-of-type(2) .field input {
    padding: 9px 12px;
  }
  
  /* Make inputs feel tighter */
  .field input {
    height: 44px;
    font-size: 14px;
  }
  
  /* Optional: slightly rounder inputs */
  .field input {
    border-radius: 10px;
  }

  .login-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
  }
  
  .login-logo-img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
  }
  
  .login-section .field {
    margin-bottom: 10px;
  }

  .btn-primary {
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  
  /* Responsive */
  @media (max-width: 860px) {
    .login-sections {
      grid-template-columns: 1fr;
    }
    .login-divider {
      display: none;
    }
  }
  
