.jira-bar {
  position: fixed;

  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;

  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #dfe1e6;

  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 16px;

  max-width: 95vw;
  width: auto;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition:
    bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.jira-bar.is-active {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}

.image-product {
  object-fit: contain;
}

.btn-jira {
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  color: #42526e;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 12px;

  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border-radius: 3px;
  transition: background-color 0.1s ease;
}

.btn-jira:hover {
  background-color: #091e4214;
  color: #172b4d;
  text-decoration: none;
}

.btn-jira.text-danger {
  color: #ae2a19 !important;
}
.btn-jira.text-danger:hover {
  background-color: #ffebe6 !important;
  color: #de350b !important;
}

.btn-jira:focus {
  outline: none;
}

@media (max-width: 768px) {
  .jira-bar {
    bottom: -100px;

    overflow-x: auto;
    justify-content: flex-start;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .jira-bar.is-active {
    bottom: 20px;
  }

  .jira-bar::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 992px) {
  #vendor-tabs-list {
    overflow-x: hidden !important;
  }
}

.cursor-pointer {
  cursor: pointer;
}

.option-box {
  transition: all 0.2s ease-in-out;
  border: 1px solid #dbadeb;
  background-color: #fff;
}

.option-box:hover {
  border-color: #696cff;
}

.option-box.selected {
  border-color: #696cff;
  background-color: #e7e7ff;
  color: #696cff;
}

.btn-outline-dashed {
  border: 1px dashed #d9dee3;
  color: #697a8d;
  background: transparent;
}
.btn-outline-dashed:hover {
  border-color: #696cff;
  color: #696cff;
  background: rgba(105, 108, 255, 0.05);
}

.bg-light-gray {
  background-color: rgb(245, 247, 247);
}

.field-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.field-card.active-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #0d6efd;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.drag-handle {
  cursor: move;
  color: #b0b0b0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
}

.form-label-small {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.btn-add-option {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.btn-add-option:hover {
  text-decoration: underline;
}

.dashed-add-btn {
  border: 2px dashed #dbe0e6;
  background-color: #f8f9fa;
  border-radius: 12px;
  color: #6c757d;
  transition: all 0.2s;
  cursor: pointer;
}
.dashed-add-btn:hover {
  border-color: #0d6efd;
  color: #0d6efd;
  background-color: #fff;
}

.delete-icon {
  cursor: pointer;
  color: #adb5bd;
  transition: color 0.2s;
}
.delete-icon:hover {
  color: #dc3545;
}

.template-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  width: 300px;
  z-index: 1050;
}
.template-card {
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  border-color: #f1f3f5 !important;
  height: 100%;
}
.template-card:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6 !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.rotate-180 {
  transform: rotate(180deg);
}
.transition-transform {
  transition: transform 0.2s ease;
}

/* Utility Alpine transition helper */
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.translate-y-2 {
  transform: translateY(10px);
}
.translate-y-0 {
  transform: translateY(0);
}

.modal-transition {
  transition: all 0.3s ease-out;
}

.backdrop-enter-start,
.backdrop-leave-end {
  opacity: 0;
}

.backdrop-enter-end,
.backdrop-leave-start {
  opacity: 1;
}

.card-enter-start,
.card-leave-end {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
}

.card-enter-end,
.card-leave-start {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.cursor-pointer {
  cursor: pointer;
}

.bg-lighter {
  background-color: #f8f9fa;
}

.hover-bg-gray:hover {
  background-color: #e9ecef;
}
