/* Tender management: stage navigation is plain; only real actions look like buttons. */
html body #app .tender-process-page .tender-process-line > button,
html body #app .tender-process-page .tender-process-line > button:is(:hover, :focus, :focus-visible, :active),
html body.light-theme #app .tender-process-page .tender-process-line > button,
html body.light-theme #app .tender-process-page .tender-process-line > button:is(:hover, :focus, :focus-visible, :active) {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  outline: 0 !important;
  transition: none !important;
}

html body #app .tender-process-page .proposal-actions .sample-issued,
html body #app .tender-process-page .proposal-actions .sample-issued:is(:hover, :focus, :focus-visible, :active) {
  border: 1px solid rgba(55, 207, 196, .38) !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, rgba(56, 194, 186, .58) 0%, rgba(23, 97, 91, .58) 100%) !important;
  color: rgba(238, 255, 252, .58) !important;
  box-shadow: none !important;
  opacity: .58 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: none !important;
  transform: none !important;
  text-decoration: none !important;
}

html body.light-theme #app .tender-process-page .proposal-actions .sample-issued,
html body.light-theme #app .tender-process-page .proposal-actions .sample-issued:is(:hover, :focus, :focus-visible, :active) {
  border-color: rgba(18, 157, 147, .36) !important;
  background: linear-gradient(180deg, rgba(127, 213, 204, .62) 0%, rgba(58, 174, 164, .62) 100%) !important;
  color: rgba(18, 68, 63, .58) !important;
}

/* Tender management: completed check nodes and connecting line use the system turquoise. */
html body #app .tender-process-page .tender-process-line > button.done::before,
html body #app .tender-process-page .tender-process-line > button.done::after,
html body #app .tender-process-page .tender-process-line > button.current::before,
html body.light-theme #app .tender-process-page .tender-process-line > button.done::before,
html body.light-theme #app .tender-process-page .tender-process-line > button.done::after,
html body.light-theme #app .tender-process-page .tender-process-line > button.current::before {
  background: #19c7b4 !important;
}

html body #app .tender-process-page .tender-process-line > button.done > i,
html body.light-theme #app .tender-process-page .tender-process-line > button.done > i {
  border-color: #19c7b4 !important;
  background: #19c7b4 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(25, 199, 180, .14) !important;
}

/* Tender management: manufacturer cards use the catalog status colors and hover motion. */
html body #app .tender-process-page .proposal-review-list > article {
  --manufacturer-card-accent: #24c9c0;
  --manufacturer-card-glow: rgba(36, 201, 192, .2);
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #24605a !important;
  border-left: 4px solid var(--manufacturer-card-accent) !important;
  border-radius: 11px !important;
  background: linear-gradient(105deg, #0b3534 0%, #092b2c 66%, #0d3835 100%) !important;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(137, 255, 238, .035) !important;
  cursor: pointer;
  filter: none !important;
  transform: translateY(0) scale(1) !important;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease !important;
}
html body #app .tender-process-page .proposal-review-list > article.audited {
  --manufacturer-card-accent: #63c276;
  --manufacturer-card-glow: rgba(99, 194, 118, .22);
}
html body #app .tender-process-page .proposal-review-list > article::after {
  content: "";
  display: block !important;
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 12%, var(--manufacturer-card-glow) 50%, transparent 88%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity .24s ease, transform .5s ease;
  pointer-events: none;
}
html body #app .tender-process-page .proposal-review-list > article:is(:hover, :focus-visible) {
  border-color: var(--manufacturer-card-accent) !important;
  border-left-color: var(--manufacturer-card-accent) !important;
  background: linear-gradient(105deg, #104541 0%, #0c3635 66%, #12463f 100%) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .34), 0 0 0 1px var(--manufacturer-card-glow) !important;
  transform: translateY(-4px) scale(1.004) !important;
  outline: none !important;
}
html body #app .tender-process-page .proposal-review-list > article:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: translateX(35%);
}
html body.light-theme #app .tender-process-page .proposal-review-list > article {
  border-color: #b9d1c6 !important;
  border-left-color: var(--manufacturer-card-accent) !important;
  background: linear-gradient(105deg, #fff 0%, #f3f9f6 72%, #e8f3ed 100%) !important;
  box-shadow: 0 9px 24px rgba(20, 65, 49, .11), inset 0 1px 0 #fff !important;
}
html body.light-theme #app .tender-process-page .proposal-review-list > article:is(:hover, :focus-visible) {
  border-color: var(--manufacturer-card-accent) !important;
  border-left-color: var(--manufacturer-card-accent) !important;
  background: linear-gradient(105deg, #fff 0%, #edf7f3 68%, #dff0e8 100%) !important;
  box-shadow: 0 16px 32px rgba(20, 65, 49, .17), 0 0 0 1px var(--manufacturer-card-glow) !important;
}
@media (prefers-reduced-motion: reduce) {
  html body #app .tender-process-page .proposal-review-list > article,
  html body #app .tender-process-page .proposal-review-list > article::after {
    transition: none !important;
  }
  html body #app .tender-process-page .proposal-review-list > article:is(:hover, :focus-visible) {
    transform: none !important;
  }
}
