*, ::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 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     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::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

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

/*
Set the default cursor for buttons.
*/

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

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

:disabled {
  cursor: default;
}

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

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

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

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

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

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.container {
  width: 100%;
}

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

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

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

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

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

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.inset-x-0 {
  left: 0px;
  right: 0px;
}

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

.bottom-full {
  bottom: 100%;
}

.left-0 {
  left: 0px;
}

.left-1\/2 {
  left: 50%;
}

.left-2 {
  left: 0.5rem;
}

.left-3 {
  left: 0.75rem;
}

.left-4 {
  left: 1rem;
}

.right-0 {
  right: 0px;
}

.right-2 {
  right: 0.5rem;
}

.right-4 {
  right: 1rem;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-3 {
  top: 0.75rem;
}

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

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

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.order-3 {
  order: 3;
}

.order-last {
  order: 9999;
}

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

.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}

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

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

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

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

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

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

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

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

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

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

.ml-1 {
  margin-left: 0.25rem;
}

.ml-16 {
  margin-left: 4rem;
}

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

.mr-2 {
  margin-right: 0.5rem;
}

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

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

.mt-12 {
  margin-top: 3rem;
}

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

.mt-3 {
  margin-top: 0.75rem;
}

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

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

.table-row {
  display: table-row;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-0 {
  height: 0px;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: 0.5rem;
}

.h-4 {
  height: 1rem;
}

.h-48 {
  height: 12rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-7 {
  height: 1.75rem;
}

.h-8 {
  height: 2rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.max-h-48 {
  max-height: 12rem;
}

.max-h-96 {
  max-height: 24rem;
}

.max-h-\[50vh\] {
  max-height: 50vh;
}

.max-h-\[600px\] {
  max-height: 600px;
}

.min-h-full {
  min-height: 100%;
}

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

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-2 {
  width: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-7 {
  width: 1.75rem;
}

.w-8 {
  width: 2rem;
}

.w-96 {
  width: 24rem;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0px;
}

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

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

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

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

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

.flex-shrink-0 {
  flex-shrink: 0;
}

.shrink-0 {
  flex-shrink: 0;
}

.border-collapse {
  border-collapse: collapse;
}

.origin-top {
  transform-origin: top;
}

.-translate-x-16 {
  --tw-translate-x: -4rem;
  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-y-16 {
  --tw-translate-y: 4rem;
  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-y-0 {
  --tw-scale-y: 0;
  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-y-100 {
  --tw-scale-y: 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 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-pointer {
  cursor: pointer;
}

.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}

.resize-none {
  resize: none;
}

.columns-1 {
  -moz-columns: 1;
       columns: 1;
}

.break-inside-avoid {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}

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

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

.grid-cols-\[auto_1fr_auto\] {
  grid-template-columns: auto 1fr auto;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

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

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

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

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

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

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

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

.overflow-hidden {
  overflow: hidden;
}

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

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

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

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

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

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

.border-company-red {
  --tw-border-opacity: 1;
  border-color: rgb(207 46 46 / var(--tw-border-opacity, 1));
}

.border-company-red\/30 {
  border-color: rgb(207 46 46 / 0.3);
}

.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-700 {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}

.border-gray-700\/50 {
  border-color: rgb(55 65 81 / 0.5);
}

.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}

.border-green-300 {
  --tw-border-opacity: 1;
  border-color: rgb(134 239 172 / var(--tw-border-opacity, 1));
}

.border-red-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
}

.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}

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

.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}

.bg-black\/95 {
  background-color: rgb(0 0 0 / 0.95);
}

.bg-company-red {
  --tw-bg-opacity: 1;
  background-color: rgb(207 46 46 / var(--tw-bg-opacity, 1));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-gray-800 {
  --tw-bg-opacity: 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-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}

.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/50 {
  background-color: rgb(255 255 255 / 0.5);
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black\/80 {
  --tw-gradient-from: rgb(0 0 0 / 0.8) 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-black\/90 {
  --tw-gradient-from: rgb(0 0 0 / 0.9) 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-company-red\/10 {
  --tw-gradient-from: rgb(207 46 46 / 0.1) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(207 46 46 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-black\/0 {
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-black\/20 {
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.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;
}

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

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

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.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-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

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

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pl-14 {
  padding-left: 3.5rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pr-14 {
  padding-right: 3.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.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-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-9xl {
  font-size: 8rem;
  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-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.italic {
  font-style: italic;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

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

.text-company-red {
  --tw-text-opacity: 1;
  color: rgb(207 46 46 / var(--tw-text-opacity, 1));
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}

.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}

.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-white\/50 {
  color: rgb(255 255 255 / 0.5);
}

.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}

.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}

.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}

.placeholder-gray-400::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}

.placeholder-gray-400::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1));
}

.placeholder-gray-500::-moz-placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1));
}

.placeholder-gray-500::placeholder {
  --tw-placeholder-opacity: 1;
  color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1));
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-75 {
  opacity: 0.75;
}

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

.outline {
  outline-style: solid;
}

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

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

.transition-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, text-decoration-color, fill, stroke;
  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-shadow {
  transition-property: box-shadow;
  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-200 {
  transition-duration: 200ms;
}

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

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

/* Add your custom styles here */

/* Fix: Override old snippet's overflow hidden on body */

body {
  overflow: visible !important;
}

#wrapper {
  overflow: visible !important;
}

/* Ultimate Member Account Dropdown */

.um-account-dropdown .absolute {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.um-account-dropdown:hover .absolute,
.um-account-dropdown.active .absolute {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Make dropdown visible on group hover */

.group:hover .group-hover\:block {
  display: block !important;
}

.um-followers-bar .um-followers-links .um-followers-rc a {
  color: white !important;
}

/* Mobile responsive styles for profile buttons */

@media screen and (max-width: 768px) {
  .um-profile-navbar .um-messaging-btn {
    margin-right: 20px !important;
    margin-left: 10px !important;
  }

  .um-profile-navbar .um-followers-btn {
    margin-right: 10px !important;
    margin-left: 10px !important;
  }
}

@media screen and (max-width: 500px) {
  .um-profile-navbar .um-messaging-btn,
  .um-profile-navbar .um-followers-btn {
    float: none !important;
    margin: 5px auto !important;
    display: block !important;
  }

  .um-profile-navbar .um-followers-bar {
    text-align: center !important;
  }
}

/* Hide avatar and author name overlay in My Artwork gallery on UM profile */

.um-profile .rltgallery-item .rltoverlay {
  display: none !important;
}

.um-profile-body {
  color: white;
}

.um-field-label label {
  color: white;
}

/* Profile navbar enhancement */

.um-profile-navbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Better followers/following/members styling */

.um-followers-bar .um-followers-links .um-followers-rc a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  font-weight: 500;
}

.um-followers-bar .um-followers-links .um-followers-rc a:hover {
  color: white !important;
}

.um-followers-bar .um-followers-links .um-followers-rc a span {
  color: #ef4444 !important;
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  margin-top: 0.25rem;
}

/* Profile header section */

.um-profile-header {
  background: #111827;
  padding: 2rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.um-profile-header-name {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

/* Profile tabs enhancement */

.um-profile-nav-item a {
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 0.75rem;
}

.um-profile-nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ef4444;
  transition: width 0.3s ease;
}

.um-profile-nav-item.um-profile-nav-active a::after,
.um-profile-nav-item a:hover::after {
  width: 80%;
}

.um-profile-nav-item.um-profile-nav-active a {
  color: white !important;
}

.um-profile-nav-item a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Gallery section polish */

.um-profile-artwork-gallery {
  padding: 2rem 0;
}

/* Subtle fade-in animation for gallery items */

.um-profile .break-inside-avoid {
  animation: fadeInUp 0.6s ease-out backwards;
}

.um-profile .break-inside-avoid:nth-child(1) {
  animation-delay: 0.05s;
}

.um-profile .break-inside-avoid:nth-child(2) {
  animation-delay: 0.1s;
}

.um-profile .break-inside-avoid:nth-child(3) {
  animation-delay: 0.15s;
}

.um-profile .break-inside-avoid:nth-child(4) {
  animation-delay: 0.2s;
}

.um-profile .break-inside-avoid:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Profile content sections */

.um-profile-body {
  background: #1f2937;
  padding: 2rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Override UM's narrow max-width on desktop */

.um .um-profile-body {
  max-width: inherit !important;
}

/* =============================================
   UM MESSAGES STYLING
   ============================================= */

/* Message conversation list */

.um-message-conv-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1rem !important;
  transition: background 0.2s ease;
}

.um-message-conv-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Picture comes first visually (even though it's second in HTML) */

.um-message-conv-item .um-message-conv-pic {
  order: -1 !important;
  flex-shrink: 0 !important;
}

.um-message-conv-item .um-message-conv-pic img {
  border-radius: 50% !important;
}

.um-message-conv-item .um-message-conv-name {
  color: white !important;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 3rem !important;
}

.um-message-conv-item .um-message-conv-msg {
  color: rgba(255, 255, 255, 0.7) !important;
}

.um-message-conv-item .um-message-conv-time {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Message thread area */

.um-message-body {
  background: #1f2937 !important;
}

.um-message-item-content {
  color: white !important;
}

/* Sent messages (right side) */

.um-message-item.right_m .um-message-item-content {
  background: #3b82f6 !important;
  color: white !important;
  border-radius: 1rem 1rem 0 1rem !important;
}

/* Received messages (left side) */

.um-message-item.left_m .um-message-item-content {
  background: #374151 !important;
  color: white !important;
  border-radius: 1rem 1rem 1rem 0 !important;
}

/* Message timestamp */

.um-message-item-time {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.75rem !important;
}

/* Message input area */

.um-message-footer {
  background: #111827 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1rem !important;
}

.um-message-textarea textarea {
  background: #1f2937 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem !important;
}

.um-message-textarea textarea:focus {
  border-color: #3b82f6 !important;
  outline: none !important;
}

.um-message-textarea textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.um-message-textarea textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Send button */

.um-message-send {
  background: #ef4444 !important;
  color: white !important;
  border-radius: 0.5rem !important;
  transition: background 0.2s ease;
}

.um-message-send:hover {
  background: #dc2626 !important;
}

/* Emoji picker container */

.um-message-emoji {
  position: relative;
}

/* Emoji button - remove persistent highlight */

.um-message-emoji .um-message-emo {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.2s ease;
}

.um-message-emoji .um-message-emo:hover,
.um-message-emoji .um-message-emo:focus {
  color: white !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Emoji picker - style when visible (UM toggles inline display) */

span.um-message-emolist {
  background: #1f2937 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0.5rem !important;
  padding: 0.5rem !important;
  position: absolute !important;
  bottom: 100% !important;
  left: 0 !important;
  width: 280px !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  z-index: 100 !important;
}

/* When UM shows the emoji list */

span.um-message-emolist[style*="inline"],
span.um-message-emolist[style*="block"] {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 0.25rem !important;
}

/* Individual emoji items */

span.um-message-emolist .um-message-insert-emo {
  cursor: pointer;
  padding: 0.25rem !important;
  text-align: center;
  transition: transform 0.1s ease;
  border-radius: 0.25rem;
}

span.um-message-emolist .um-message-insert-emo:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.1);
}

span.um-message-emolist .um-message-insert-emo img.emoji {
  width: 20px !important;
  height: 20px !important;
}

/* Message buttons container - better layout */

.um-message-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 0 !important;
}

/* File upload button */

.um-message-file {
  position: relative !important;
  margin-left: 0 !important;
}

.um-message-file a {
  color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
  border: none !important;
  padding: 0.5rem !important;
}

.um-message-file a:hover {
  color: white !important;
}

/* Character limit */

.um-message-limit {
  color: rgba(255, 255, 255, 0.5) !important;
  margin-left: auto !important;
  font-size: 0.875rem !important;
}

/* Message header */

.um-message-header {
  background: #111827 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1rem !important;
}

.um-message-header .um-message-header-name {
  color: white !important;
  font-weight: 600;
}

/* =============================================
   UM COMMENTS STYLING
   ============================================= */

/* Comments tab content */

.um-profile-body .um-profile-note {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Comment items */

.um .um-ajax-items .um-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1rem 0 !important;
}

/* Comment text - make it visible! */

.um .um-ajax-items .um-item-text,
.um .um-ajax-items .um-item-text p,
.um .um-ajax-items .um-item .um-item-link,
.um .um-ajax-items .um-item-meta {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Comment icon */

.um .um-ajax-items .um-item i,
.um .um-ajax-items .um-item .um-icon {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* "On [Artwork]" link */

.um .um-ajax-items .um-item a {
  color: #fff !important;
  transition: color 0.2s ease;
}

.um .um-ajax-items .um-item a:hover {
  color: #60a5fa !important;
}

/* Load more comments button */

.um .um-load-items {
  background: #374151 !important;
  color: white !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0.75rem 2rem !important;
  transition: background 0.2s ease;
}

.um .um-load-items:hover {
  background: #4b5563 !important;
}

/* Mobile spacing for profile body */

@media screen and (max-width: 768px) {
  .um .um-profile-body {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Center profile nav icons on mobile */

  .um .um-profile-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }

  .um .um-profile-nav a {
    padding: 0.5rem !important;
    min-width: auto !important;
  }
}

/* Better button styling */

.um-profile .um-button,
.um-profile a.um-button {
  background: #3ba1da !important;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  position: relative;
}

.um-profile .um-button::after,
.um-profile a.um-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ef4444;
  transition: width 0.3s ease;
}

.um-profile .um-button:hover,
.um-profile a.um-button:hover {
  background: #2e8ab8 !important;
}

.um-profile .um-button:hover::after,
.um-profile a.um-button:hover::after {
  width: 80%;
}

/* Load More button styling */

.um-profile-artwork-gallery .load-more-gallery-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transition: all 0.3s ease;
}

.um-profile-artwork-gallery .load-more-gallery-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Page title - centered */

.page h1,
.single h1 {
  text-align: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

/* Form container with background */

.gform_wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #1f2937;
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Form body (main content area) */

.gform-body {
  color: white;
}

/* Field labels */

.gform_wrapper .gfield_label {
  color: white !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Input fields */

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper textarea,
.gform_wrapper select {
  background: #374151;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  border-color: #ef4444;
  background: #4b5563;
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  color: white;
}

/* Placeholder text */

.gform_wrapper input::-moz-placeholder, .gform_wrapper textarea::-moz-placeholder {
  color: #a5a5a5;
}

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: #a5a5a5;
}

/* Submit button */

.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Validation errors */

.gform_wrapper .gfield_error {
  background: #111827;
  border-left: 3px solid #ef4444;
  padding: 1rem;
  border-radius: 0.5rem;
}

.gform_wrapper .validation_message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* File upload field */

.gform_wrapper .ginput_container_fileupload {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.gform_wrapper .ginput_container_fileupload:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

/* File input element constraints */

.gform_wrapper input[type="file"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* File preview/name display */

.gform_wrapper .ginput_preview,
.gform_wrapper .gform_fileupload_filename {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Field containers */

.gform_wrapper .gfield,
.gform_wrapper .ginput_container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Description text */

.gform_wrapper .gfield_description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Mobile responsive for form */

@media screen and (max-width: 768px) {
  .gform_wrapper {
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
  }

  .page h1,
  .single h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* ========================================
   WOOCOMMERCE STYLES
   ======================================== */

/**
 * WooCommerce Minimal Styles for AC Build
 *
 * Only includes essential styles for WooCommerce-generated elements.
 * Most styling is handled by Tailwind CSS in template overrides.
 */

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
  --wc-bg-primary: #000;
  --wc-bg-secondary: #1f2937;
  --wc-bg-tertiary: #111827;
  --wc-bg-input: #374151;
  --wc-text-primary: #fff;
  --wc-text-secondary: #d1d5db;
  --wc-text-muted: #9ca3af;
  --wc-accent-primary: #ef4444;
  --wc-accent-hover: #dc2626;
  --wc-border-primary: #374151;
  --wc-border-radius: 0.5rem;
}

/* ========================================
   GENERAL DARK THEME
   ======================================== */

.woocommerce,
.woocommerce-page {
  background-color: var(--wc-bg-primary);
  color: var(--wc-text-primary);
}

/* Protect header and footer logos from WooCommerce styles */

.woocommerce header .logo img,
.woocommerce-page header .logo img,
header .logo img {
  height: 3rem !important;
  /* h-12 = 3rem */
  width: auto !important;
  max-height: 3rem !important;
}

/* Footer logo protection (different structure) */

.woocommerce footer h2 img,
.woocommerce-page footer h2 img,
footer h2 img,
footer h2 a img {
  height: 3rem !important;
  /* h-12 = 3rem */
  width: auto !important;
  max-height: 3rem !important;
  max-width: none !important;
}

/* Prevent WooCommerce from affecting non-product images - but keep icon sizes */

.woocommerce header svg,
.woocommerce-page header svg,
.woocommerce footer svg,
.woocommerce-page footer svg {
  /* Don't override Tailwind width/height classes */
  max-width: none !important;
  max-height: none !important;
}

/* ========================================
   PRODUCT IMAGE GALLERY
   ======================================== */

.woocommerce-product-gallery {
  background-color: var(--wc-bg-tertiary);
  border-radius: var(--wc-border-radius);
  overflow: hidden;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 400px;
}

.woocommerce-product-gallery__image {
  background-color: var(--wc-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce-product-gallery__image img {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  display: block;
  border-radius: var(--wc-border-radius);
  -o-object-fit: contain;
     object-fit: contain;
}

/* Thumbnails */

.flex-control-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.flex-control-thumbs li {
  flex: 0 0 auto;
}

.flex-control-thumbs li img {
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--wc-border-radius);
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.flex-control-thumbs li img:hover,
.flex-control-thumbs li img.flex-active {
  opacity: 1;
  border-color: var(--wc-accent-primary);
}

/* ========================================
   PRODUCT VARIATIONS (Size Selector)
   ======================================== */

/* New variation group styling for radio buttons */

.variation-group {
  margin-bottom: 1.5rem;
}

/* The variations table is hidden with inline styles in the template */

.variation-label {
  color: var(--wc-text-primary) !important;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.75rem;
}

.variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.variation-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.variation-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.variation-option-label {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  background-color: transparent;
  color: var(--wc-text-primary);
  border: 2px solid var(--wc-border-primary);
  border-radius: var(--wc-border-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 80px;
  text-align: center;
}

.variation-option input[type="radio"]:checked + .variation-option-label {
  background-color: var(--wc-accent-primary);
  border-color: var(--wc-accent-primary);
  color: var(--wc-text-primary);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.variation-option:hover .variation-option-label {
  border-color: var(--wc-accent-primary);
  transform: translateY(-2px);
}

.variation-option input[type="radio"]:focus + .variation-option-label {
  outline: 2px solid var(--wc-accent-primary);
  outline-offset: 2px;
}

/* Old dropdown styles (keep for backwards compatibility) */

.woocommerce div.product form.cart .variations {
  margin-bottom: 1.5rem;
  border: none !important;
  width: 100%;
}

.woocommerce div.product form.cart .variations tbody {
  display: block;
}

.woocommerce div.product form.cart .variations tr {
  display: block;
  margin-bottom: 0;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  padding: 0 !important;
  border: none !important;
  vertical-align: middle;
  display: block;
  background: transparent !important;
}

.woocommerce div.product form.cart .variations th.label {
  margin-bottom: 0.75rem;
}

.woocommerce div.product form.cart .variations label {
  color: var(--wc-text-primary) !important;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0;
}

.woocommerce div.product form.cart .variations td.value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.woocommerce div.product form.cart .variations select {
  background-color: #fff !important;
  color: #000 !important;
  border: 2px solid var(--wc-border-primary) !important;
  border-radius: var(--wc-border-radius);
  padding: 1rem 1rem !important;
  font-size: 1rem !important;
  width: 100% !important;
  max-width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
  height: auto !important;
  line-height: 1.5;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1.25rem !important;
  padding-right: 2.5rem !important;
}

.woocommerce div.product form.cart .variations select option {
  background-color: #fff !important;
  color: #000 !important;
  padding: 0.5rem;
}

/* Force visibility and text color for dropdown */

.woocommerce div.product form.cart .variations select,
.woocommerce-page div.product form.cart .variations select,
select#pa_size,
.variations select,
select[name*="attribute"],
.variations_form select {
  background-color: #fff !important;
  color: #000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 1rem !important;
}

/* Override any potential WordPress/theme defaults */

.woocommerce .variations select option,
.woocommerce-page .variations select option,
select#pa_size option {
  background-color: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.woocommerce div.product form.cart .variations select:hover {
  border-color: #4b5563 !important;
}

.woocommerce div.product form.cart .variations select:focus {
  outline: none !important;
  border-color: var(--wc-accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.woocommerce div.product form.cart .reset_variations {
  color: var(--wc-accent-primary) !important;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.woocommerce div.product form.cart .reset_variations:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ========================================
   QUANTITY INPUT & BUTTON WRAPPER
   ======================================== */

.woocommerce div.product form.cart .single_variation_wrap {
  margin-top: 2rem;
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: stretch !important;
  gap: 1rem !important;
  flex-wrap: nowrap !important;
}

.woocommerce div.product form.cart .quantity {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.woocommerce div.product form.cart .quantity label {
  display: none;
}

.woocommerce div.product form.cart .quantity .qty {
  background-color: #fff !important;
  color: #000 !important;
  border: 2px solid var(--wc-border-primary) !important;
  border-radius: var(--wc-border-radius);
  padding: 1rem !important;
  width: 100px !important;
  text-align: center !important;
  font-size: 1.125rem !important;
  font-weight: 700;
  transition: all 0.3s ease;
  height: auto !important;
  line-height: 1.5;
}

/* Desktop: Force spinners to always be visible */

@media (min-width: 769px) {
  .woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button,
  .woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button {
    opacity: 1 !important;
    position: relative;
    cursor: pointer;
  }
}

/* Mobile: Hide spinner arrows */

@media (max-width: 768px) {
  .woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button,
  .woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .woocommerce div.product form.cart .quantity .qty {
    -moz-appearance: textfield;
    /* Firefox: remove spinner */
  }
}

/* Force visibility for quantity input */

.woocommerce div.product form.cart .quantity .qty,
.woocommerce-page div.product form.cart .quantity .qty,
input.qty {
  background-color: #fff !important;
  color: #000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.woocommerce div.product form.cart .quantity .qty:focus {
  outline: none !important;
  border-color: var(--wc-accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.woocommerce div.product form.cart .quantity .qty:hover {
  border-color: #4b5563 !important;
}

/* ========================================
   ADD TO CART FORM & BUTTON
   ======================================== */

.woocommerce div.product form.cart {
  margin: 0;
}

/* Selected variation info */

.woocommerce div.product form.cart .single_variation {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: rgba(239, 68, 68, 0.1);
  border-radius: var(--wc-border-radius);
  border-left: 3px solid var(--wc-accent-primary);
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.woocommerce
  div.product
  form.cart
  .single_variation
  .woocommerce-variation-price {
  display: none !important;
}

.woocommerce div.product form.cart .single_variation .price {
  display: none !important;
}

.woocommerce
  div.product
  form.cart
  .single_variation
  .woocommerce-variation-availability {
  color: var(--wc-text-secondary);
  font-size: 0.875rem;
}

/* ========================================
   CTA BUTTONS (Theme-wide)
   ======================================== */

/* Base CTA button style - use class "cta-button" on any button */

.cta-button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce .button.alt {
  background-color: var(--wc-accent-primary) !important;
  color: var(--wc-text-primary) !important;
  border: none !important;
  padding: 1rem 3rem !important;
  border-radius: var(--wc-border-radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  white-space: nowrap;
}

.cta-button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce .button.alt:hover {
  background-color: #fff !important;
  color: var(--wc-accent-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Add to cart button specific */

.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1;
  min-width: 250px;
}

.woocommerce div.product form.cart .single_add_to_cart_button:focus {
  outline: 2px solid var(--wc-text-primary) !important;
  outline-offset: 2px;
}

/* Quantity section */

.woocommerce div.product form.cart .quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quantity-label {
  color: var(--wc-text-primary) !important;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.75rem;
}

/* ========================================
   PRODUCT PAGE LAYOUT ENHANCEMENTS
   ======================================== */

/* Product images container */

.product-images {
  position: relative;
}

/* Product summary alignment */

.product-summary {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0.5rem !important;
}

@media (min-width: 1024px) {
  .product-summary {
    padding: 1.5rem !important;
  }
}

.product-summary h1 {
  text-align: left !important;
}

/* Ensure price displays cleanly */

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--wc-accent-primary);
  font-weight: 700;
}

.woocommerce div.product .price del {
  opacity: 0.6;
  margin-right: 0.5rem;
}

.woocommerce div.product .price ins {
  text-decoration: none;
}

.woocommerce div.product form.cart .single_add_to_cart_button:disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce
  div.product
  form.cart
  .single_add_to_cart_button.wc-variation-selection-needed {
  background-color: var(--wc-bg-input) !important;
  color: var(--wc-text-muted) !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  transform: none !important;
  box-shadow: none !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--wc-text-primary);
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.6s linear infinite;
}

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

/* ========================================
   PRODUCT TITLE & PRICE
   ======================================== */

.woocommerce div.product .product_title {
  color: var(--wc-text-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.woocommerce div.product .price {
  color: var(--wc-accent-primary) !important;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.woocommerce div.product .price del {
  color: var(--wc-text-muted);
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.woocommerce div.product .price .woocommerce-Price-amount {
  color: inherit;
}

.woocommerce div.product .price .woocommerce-Price-currencySymbol {
  color: inherit;
}

/* ========================================
   PRODUCT TABS
   ======================================== */

.woocommerce-tabs {
  background-color: var(--wc-bg-secondary);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .woocommerce-tabs {
    padding: 2rem;
  }
}

.woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  border-bottom: 2px solid var(--wc-border-primary);
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--wc-accent-primary) var(--wc-bg-secondary);
}

/* Hide scrollbar on mobile for cleaner look, still scrollable */

@media (max-width: 767px) {
  .woocommerce-tabs ul.tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
  }
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.woocommerce-tabs ul.tabs li a {
  color: var(--wc-text-muted);
  padding: 1rem 1.5rem;
  display: block;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Reduce padding on mobile */

@media (max-width: 767px) {
  .woocommerce-tabs ul.tabs li a {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--wc-text-primary);
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--wc-accent-primary);
  border-bottom-color: var(--wc-accent-primary);
}

.woocommerce-tabs .panel {
  color: var(--wc-text-secondary);
  line-height: 1.75;
}

.woocommerce-tabs .panel h2 {
  color: var(--wc-text-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ========================================
   CART TABLE
   ======================================== */

.woocommerce table.cart,
.woocommerce-cart table.cart {
  background-color: var(--wc-bg-secondary);
  border-radius: 0.75rem;
  overflow: hidden;
  border: none;
}

.woocommerce table.cart thead {
  background-color: var(--wc-bg-tertiary);
}

.woocommerce table.cart th,
.woocommerce table.cart td {
  color: var(--wc-text-primary);
  border-color: var(--wc-border-primary);
}

.woocommerce table.cart input {
  background-color: var(--wc-bg-input);
  color: var(--wc-text-primary);
  border-color: var(--wc-border-primary);
}

/* ========================================
   WOOCOMMERCE CART BLOCKS STYLING
   ======================================== */

/* Cart block main containers */

.wp-block-woocommerce-cart,
.wc-block-cart {
  background-color: var(--wc-bg-primary);
  color: var(--wc-text-primary);
}

/* Cart items block */

.wc-block-cart__main {
  background-color: var(--wc-bg-secondary);
  border-radius: var(--wc-border-radius);
  padding: 0.75rem 0.5rem;
}

@media (min-width: 768px) {
  .wc-block-cart__main {
    padding: 1.5rem;
  }
}

/* Cart totals sidebar */

.wc-block-cart__sidebar {
  /* background-color: var(--wc-bg-secondary); */
  border-radius: var(--wc-border-radius);
  padding: 0.75rem 0.5rem;
}

@media (min-width: 768px) {
  .wc-block-cart__sidebar {
    padding: 1.5rem;
  }
}

/* Cart items */

.wc-block-cart-items__row {
  border-bottom: 1px solid var(--wc-border-primary);
  padding: 1rem 0.75rem;
}

@media (min-width: 768px) {
  .wc-block-cart-items__row {
    padding: 1rem;
  }
}

@container (max-width: 699px) {
  .wc-block-components-sidebar-layout .wc-block-components-main,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    padding: 16px !important;
    width: 100%;
  }
}

/* Cart item images - fix size on mobile */

.wc-block-cart-item__image img {
  max-width: 80px;
  height: auto;
  border-radius: var(--wc-border-radius);
}

@media (min-width: 768px) {
  .wc-block-cart-item__image img {
    max-width: 120px;
  }
}

/* Fix product price alignment */

.wc-block-components-product-price {
  display: flex;
  align-items: center;
}

/* Ensure cart item content doesn't overflow */

.wc-block-cart-item__wrap {
  min-width: 0;
}

/* Product names and links */

.wc-block-components-product-name,
.wc-block-components-product-name a {
  color: var(--wc-text-primary) !important;
  text-decoration: none;
}

.wc-block-components-product-name a:hover {
  color: var(--wc-accent-primary) !important;
}

/* Product metadata */

.wc-block-components-product-metadata {
  color: var(--wc-text-secondary);
}

/* Prices */

.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.wc-block-cart__totals-title {
  color: var(--wc-text-primary) !important;
}

/* Checkout button */

.wc-block-cart__submit-container,
.wc-block-components-checkout-button {
  background-color: var(--wc-accent-primary) !important;
  color: var(--wc-text-primary) !important;
  border: none !important;
  padding: 1rem 2rem !important;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.wc-block-cart__submit-container:hover,
.wc-block-components-checkout-button:hover {
  background-color: #fff !important;
  color: var(--wc-accent-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Quantity selector */

.wc-block-components-quantity-selector {
  background-color: white;
  color: #000;
  border: rgba(0, 0, 0, 0.3);
}

/* Remove item button */

.wc-block-cart-item__remove-link {
  color: var(--wc-text-muted) !important;
}

.wc-block-cart-item__remove-link:hover {
  color: var(--wc-accent-primary) !important;
}

/* Cart headings */

.wc-block-cart__main h2,
.wc-block-cart__sidebar h2,
.wc-block-cart__totals-title {
  color: var(--wc-text-primary) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

/* ========================================
   MESSAGES & NOTICES
   ======================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background-color: var(--wc-bg-secondary);
  color: var(--wc-text-primary);
  border-left: 4px solid var(--wc-accent-primary);
  border-radius: var(--wc-border-radius);
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

/* Checkout layout */

.wc-block-components-sidebar-layout {
  background-color: var(--wc-bg-secondary);
  padding: 1.5rem;
}

.wc-block-components-order-summary {
  padding: 1.5rem;
}

/* Checkout button */

.wc-block-checkout__actions
  .wc-block-checkout__actions_row
  .wc-block-components-checkout-place-order-button {
  background-color: var(--wc-accent-primary) !important;
  color: var(--wc-text-primary) !important;
  border: none !important;
  padding: 1rem 2rem !important;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.wc-block-checkout__actions
  .wc-block-checkout__actions_row
  .wc-block-components-checkout-place-order-button:hover {
  background-color: #fff !important;
  color: var(--wc-accent-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

@container (max-width: 699px) {
  .wc-block-checkout__actions
    .wc-block-checkout__actions_row
    .wc-block-components-checkout-place-order-button {
    width: 100% !important;
  }
}

/* Checkout headings - uppercase */

.wc-block-checkout__main h2,
.wc-block-checkout__sidebar h2,
.wc-block-components-order-summary h2,
.wc-block-components-order-summary-item__header,
.wc-block-components-totals-wrapper h2 {
  color: var(--wc-text-primary) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

/* ========================================
   RELATED PRODUCTS SECTION
   ======================================== */

/* Related products container */

.related.products {
  background-color: var(--wc-bg-secondary);
  border-radius: var(--wc-border-radius);
  padding: 2rem;
  margin-top: 3rem;
}

@media (max-width: 767px) {
  .related.products {
    padding: 1.5rem 1rem;
  }
}

/* Related products heading */

.related.products h2 {
  color: var(--wc-text-primary) !important;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Products grid */

.related.products ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 640px) {
  .related.products ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .related.products ul.products {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Ensure first item always starts in first column */

.related.products ul.products li.product:first-child {
  grid-column-start: 1;
}

/* Individual product card */

.related.products ul.products li.product {
  background-color: var(--wc-bg-tertiary);
  border-radius: var(--wc-border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.related.products ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Product link wrapper */

.related.products ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex: 1;
}

/* Product image */

.related.products ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Product title */

.related.products ul.products li.product .woocommerce-loop-product__title {
  color: var(--wc-text-primary) !important;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1rem 1rem 0.5rem 1rem;
  line-height: 1.4;
  transition: color 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-hyphens: none;
          hyphens: none;
}

.related.products
  ul.products
  li.product:hover
  .woocommerce-loop-product__title {
  color: var(--wc-accent-primary) !important;
}

@media (max-width: 767px) {
  .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.85rem;
    margin: 0.75rem 0.75rem 0.5rem 0.75rem;
  }
}

/* Product price */

.related.products ul.products li.product .price {
  color: var(--wc-accent-primary) !important;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 1rem 1rem 1rem;
}

@media (max-width: 767px) {
  .related.products ul.products li.product .price {
    font-size: 0.9rem;
    margin: 0 0.75rem 0.75rem 0.75rem;
  }
}

.related.products ul.products li.product .price .woocommerce-Price-amount {
  color: inherit;
}

/* Hide screen reader text */

.related.products ul.products li.product .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Select options / Add to cart button */

.related.products ul.products li.product .button {
  background-color: var(--wc-accent-primary) !important;
  color: var(--wc-text-primary) !important;
  border: none !important;
  padding: 0.75rem 0.5rem !important;
  margin: 0 1rem 1rem 1rem;
  border-radius: var(--wc-border-radius);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .related.products ul.products li.product .button {
    font-size: 0.9rem;
    padding: 0.75rem 1rem !important;
  }
}

@media (max-width: 639px) {
  .related.products ul.products li.product .button {
    padding: 0.65rem 0.5rem !important;
    margin: 0 0.75rem 0.75rem 0.75rem;
    font-size: 0.75rem;
  }
}

.related.products ul.products li.product .button:hover {
  background-color: #fff !important;
  color: var(--wc-accent-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100%;
  justify-content: left;
}

.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
  width: 100%;
}

/* ========================================
   ORDER RECEIVED / THANK YOU PAGE
   ======================================== */

/* Success notice */

.woocommerce-notice--success,
.woocommerce-thankyou-order-received {
  background-color: var(--wc-bg-secondary) !important;
  border-left: 4px solid #10b981 !important;
  color: #10b981 !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: 2rem !important;
  border-radius: var(--wc-border-radius);
  font-size: 1.125rem;
  font-weight: 600;
}

/* Order overview list */

.woocommerce-order-overview {
  background-color: var(--wc-bg-secondary);
  border: 2px solid var(--wc-border-primary);
  border-radius: var(--wc-border-radius);
  padding: 2rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  list-style: none !important;
}

.woocommerce-order-overview li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-order-overview li::before {
  display: none !important;
}

.woocommerce-order-overview li {
  color: var(--wc-text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woocommerce-order-overview li strong {
  display: block;
  color: var(--wc-text-primary);
  font-size: 1.25rem;
  margin-top: 0.5rem;
  font-weight: 700;
}

/* Order details section */

.woocommerce-order-details {
  background-color: var(--wc-bg-secondary);
  border: 2px solid var(--wc-border-primary);
  border-radius: var(--wc-border-radius);
  padding: 2rem;
  margin: 2rem 0;
}

.woocommerce-order-details__title {
  color: var(--wc-text-primary) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--wc-border-primary);
}

/* Order details table */

.woocommerce-table--order-details {
  width: 100%;
  background-color: var(--wc-bg-tertiary);
  border-radius: var(--wc-border-radius);
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.woocommerce-table--order-details thead {
  background-color: var(--wc-bg-input);
}

.woocommerce-table--order-details thead th {
  color: var(--wc-text-primary) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 1rem !important;
  text-align: left !important;
  border: none !important;
}

.woocommerce-table--order-details tbody tr {
  border-bottom: 1px solid var(--wc-border-primary);
}

.woocommerce-table--order-details tbody tr:last-child {
  border-bottom: none;
}

.woocommerce-table--order-details tbody td {
  color: var(--wc-text-secondary) !important;
  padding: 1rem !important;
  border: none !important;
}

.woocommerce-table--order-details tbody td a {
  color: var(--wc-text-primary);
  text-decoration: none;
  font-weight: 600;
}

.woocommerce-table--order-details tbody td a:hover {
  color: var(--wc-accent-primary);
}

.woocommerce-table--order-details .product-quantity {
  color: var(--wc-text-muted);
  font-weight: 400;
}

/* Table footer (totals) */

.woocommerce-table--order-details tfoot {
  background-color: var(--wc-bg-secondary);
  border-top: 2px solid var(--wc-border-primary);
}

.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
  color: var(--wc-text-secondary) !important;
  padding: 1rem !important;
  border: none !important;
  font-weight: 600;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
  color: var(--wc-text-primary) !important;
  font-size: 1.125rem;
  font-weight: 700;
}

/* Customer details section */

.woocommerce-customer-details {
  background-color: var(--wc-bg-secondary);
  border: 2px solid var(--wc-border-primary);
  border-radius: var(--wc-border-radius);
  padding: 2rem;
  margin: 2rem 0;
}

.woocommerce-column__title {
  color: var(--wc-text-primary) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--wc-border-primary);
}

.woocommerce-customer-details address {
  color: var(--wc-text-secondary);
  font-style: normal;
  line-height: 1.8;
  font-size: 1rem;
}

.woocommerce-customer-details--email {
  color: var(--wc-accent-primary) !important;
  margin-top: 1rem !important;
  font-weight: 600;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .woocommerce-order-overview {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .woocommerce-table--order-details {
    font-size: 0.875rem;
  }

  .woocommerce-table--order-details thead th,
  .woocommerce-table--order-details tbody td,
  .woocommerce-table--order-details tfoot th,
  .woocommerce-table--order-details tfoot td {
    padding: 0.75rem !important;
  }
}

/* ========================================
   ARTWORK PREVIEW (Gravity Forms)
   ======================================== */

/* Artwork radio labels */

.gform-theme--framework
  .gform-field-label--type-inline:where(
    :not(.gform-theme__disable):not(.gform-theme__disable *):not(
        .gform-theme__disable-framework
      ):not(.gform-theme__disable-framework *)
  ) {
  color: #ffffff !important;
}

/* Additional radio button label selectors for maximum coverage */

.gform_wrapper .gfield_radio label,
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gchoice label {
  color: #ffffff !important;
}

/* Preview modal - overlay that sits on top of everything */

.artwork-preview-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  z-index: 99999 !important;
  overflow-y: auto !important;
  padding: 2rem !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .artwork-preview-modal {
    padding: 1rem !important;
  }
}

.gform_wrapper .artwork-preview-card,
.artwork-preview-card {
  background: #2d3748 !important;
  border: 2px solid #4a5568 !important;
  border-radius: 0.5rem !important;
  padding: 1.5rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  width: 100% !important;
  max-width: 60rem !important;
  display: block !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  position: relative !important;
  float: none !important;
  clear: both !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

@media (max-width: 768px) {
  .artwork-preview-card {
    padding: 1rem !important;
  }
}

/* Close button */

.artwork-preview-close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  background: rgba(239, 68, 68, 0.3) !important;
  border: 2px solid #ef4444 !important;
  color: #ffffff !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 24px !important;
  line-height: 1 !important;
  transition: background 0.2s ease !important;
  z-index: 10 !important;
}

.artwork-preview-close:hover {
  background: rgba(239, 68, 68, 0.6) !important;
}

/* Header */

.artwork-preview-header h3 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin: 0 0 0.5rem 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3 !important;
}

.artwork-preview-header p {
  color: #cbd5e0 !important;
  font-size: 0.9rem !important;
  margin: 0 0 1.25rem 0 !important;
  line-height: 1.5 !important;
}

/* Controls */

.artwork-preview-controls {
  margin-bottom: 1.25rem !important;
  width: 100% !important;
}

.artwork-preview-controls label {
  display: block;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3 !important;
}

.preview-size-selector {
  width: 100%;
  max-width: 300px;
  background-color: #fff !important;
  color: #000 !important;
  border: 2px solid var(--wc-border-primary) !important;
  border-radius: var(--wc-border-radius);
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1.25rem !important;
  padding-right: 2.5rem !important;
}

.preview-size-selector:hover {
  border-color: #4b5563 !important;
}

.preview-size-selector:focus {
  outline: none !important;
  border-color: var(--wc-accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Validation messages */

.artwork-preview-validation {
  margin-bottom: 1.25rem !important;
  width: 100% !important;
}

.validation-message {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.875rem !important;
  border-radius: 0.5rem !important;
  border-left: 4px solid !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.validation-message > div {
  flex: 1 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.validation-success {
  background-color: rgba(16, 185, 129, 0.15);
  border-left-color: #10b981;
  color: #34d399 !important;
}

.validation-error {
  background-color: rgba(239, 68, 68, 0.15);
  border-left-color: #ef4444;
  color: #fca5a5 !important;
}

.validation-icon {
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin-top: 2px !important;
}

.validation-message strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  display: block;
  margin-bottom: 0.25rem;
}

.validation-details {
  font-size: 0.8rem !important;
  opacity: 0.9;
  margin-top: 0.25rem !important;
  display: block;
  color: inherit !important;
}

/* Preview display */

.gform_wrapper .artwork-preview-display,
.artwork-preview-display {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}

@media (min-width: 768px) {
  .gform_wrapper .artwork-preview-display,
  .artwork-preview-display {
    grid-template-columns: 2fr 1fr !important;
    gap: 1.5rem !important;
    align-items: start !important;
  }
}

.preview-frame {
  background: #1a202c !important;
  background-image: repeating-linear-gradient(
    45deg,
    #1a202c 0,
    #1a202c 10px,
    #2d3748 10px,
    #2d3748 20px
  ) !important;
  border-radius: 0.5rem !important;
  padding: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  border: 3px solid transparent !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  min-height: 300px !important;
}

@media (max-width: 768px) {
  .preview-frame {
    max-width: 100% !important;
  }
}

.preview-frame.preview-valid {
  border-color: #10b981;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.preview-frame.preview-warning {
  border-color: var(--wc-accent-primary);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

.preview-image {
  display: block !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  position: absolute !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.preview-dimensions {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: monospace;
}

.preview-info {
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 1rem !important;
  border-radius: 0.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .preview-info {
    padding: 1.25rem !important;
  }
}

.preview-info p {
  color: #cbd5e0 !important;
  font-size: 0.85rem !important;
  margin: 0 0 0.6rem 0 !important;
  line-height: 1.4 !important;
}

.preview-info p:last-child {
  margin-bottom: 0 !important;
}

.preview-size-name {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.3 !important;
}

.preview-image-dims {
  font-family: monospace;
  font-size: 0.8rem !important;
  color: #a0aec0 !important;
}

.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-125:hover {
  --tw-scale-x: 1.25;
  --tw-scale-y: 1.25;
  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-\[1\.02\]:hover {
  --tw-scale-x: 1.02;
  --tw-scale-y: 1.02;
  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-company-red:hover {
  --tw-border-opacity: 1;
  border-color: rgb(207 46 46 / var(--tw-border-opacity, 1));
}

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

.hover\:bg-black\/75:hover {
  background-color: rgb(0 0 0 / 0.75);
}

.hover\:bg-company-red:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(207 46 46 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / 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-company-red:hover {
  --tw-text-opacity: 1;
  color: rgb(207 46 46 / var(--tw-text-opacity, 1));
}

.hover\:text-red-500:hover {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}

.hover\:text-red-700:hover {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:opacity-70:hover {
  opacity: 0.7;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.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: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

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

.hover\:ring-company-red:hover {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(207 46 46 / var(--tw-ring-opacity, 1));
}

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

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

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

.focus\:ring-company-red:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(207 46 46 / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus\:ring-offset-gray-900:focus {
  --tw-ring-offset-color: #111827;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.group:hover .group-hover\:block {
  display: block;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 640px) {
  .sm\:order-none {
    order: 0;
  }

  .sm\:block {
    display: block;
  }

  .sm\:hidden {
    display: none;
  }

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

  .sm\:columns-2 {
    -moz-columns: 2;
         columns: 2;
  }

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

  .sm\:flex-nowrap {
    flex-wrap: nowrap;
  }
}

@media (min-width: 768px) {
  .md\:h-64 {
    height: 16rem;
  }

  .md\:max-h-64 {
    max-height: 16rem;
  }

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

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

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

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

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

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

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

  .lg\:order-2 {
    order: 2;
  }

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

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

  .lg\:columns-3 {
    -moz-columns: 3;
         columns: 3;
  }

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

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

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

@media (min-width: 1280px) {
  .xl\:columns-4 {
    -moz-columns: 4;
         columns: 4;
  }
}
