.oemcatalog-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
}

.oemcatalog-modal.is-open {
  display: block;
}

.oemcatalog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  z-index: 0;
}

.oemcatalog-modal__panel {
  position: absolute;
  inset: 4px;
  z-index: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.oemcatalog-modal__header {
  height: 48px;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.oemcatalog-modal__title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.oemcatalog-modal__close {
  border: 0;
  background: transparent;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.oemcatalog-modal__close:hover {
  background: #e2e8f0;
}

.oemcatalog-modal__body {
  flex: 1;
  min-height: 0;
  background: #fff;
}

.oemcatalog-modal__frame {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #fff;
}

button[name="orders_quotation_save_and_continue_primary"] {
  background-color: rgb(22 163 74) !important;
  border-color: rgb(21 128 61) !important;
  color: #fff !important;
}

.dark button[name="orders_quotation_save_and_continue_primary"] {
  border-color: rgb(34 197 94) !important;
}

.vehicle-image-with-brand-cover {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: #ffffff;
}

.vehicle-image-with-brand-cover > img {
  display: block;
  width: 100%;
  height: 100%;
}

.vehicle-image-with-brand-cover::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--vehicle-brand-cover-width, 32px);
  border-radius: inherit;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 1px 0 4px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 1;
}

.vehicle-image-with-brand-cover::before {
  content: "";
  position: absolute;
  left: calc((var(--vehicle-brand-cover-width, 32px) - var(--vehicle-brand-cover-logo-width, 68px)) / 2);
  bottom: var(--vehicle-brand-cover-logo-bottom, 28px);
  width: var(--vehicle-brand-cover-logo-width, 68px);
  height: var(--vehicle-brand-cover-logo-height, 28px);
  background: url("/static/svg/logos/recyapp_logo.1142abf60244.svg") center / contain no-repeat;
  transform: rotate(-90deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 2;
}

.vehicle-image-with-brand-cover--admin-header {
  width: min(100%, 420px);
  height: 15rem;
  max-width: 100%;
  border-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  --vehicle-brand-cover-width: 34px;
  --vehicle-brand-cover-logo-width: 72px;
  --vehicle-brand-cover-logo-height: 30px;
  --vehicle-brand-cover-logo-bottom: 34px;
}

.vehicle-image-with-brand-cover--admin-header > img {
  object-fit: contain;
}

.vehicle-image-with-brand-cover--admin-details {
  width: 180px;
  height: 64px;
  border-radius: 6px;
  --vehicle-brand-cover-width: 22px;
  --vehicle-brand-cover-logo-width: 48px;
  --vehicle-brand-cover-logo-height: 20px;
  --vehicle-brand-cover-logo-bottom: 20px;
}

.vehicle-image-with-brand-cover--admin-details > img {
  object-fit: contain;
}
