.border-regulation {
  border-top-color: #ef6c44 !important;
  border-right-color: #ef6c44 !important;
  border-bottom-color: #ef6c44 !important;
  border-left-color: #ef6c44 !important;
}

.bg-optimizer {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
}

.bg-regulation {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%) !important;
}

.text-regulation {
  color: #ef4444 !important;
}

.btn-gradient-regulation {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  border: none;
  transition: all 0.3s ease;
  color: white;
}

.btn-gradient-regulation:hover {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
  color: white;
}

.btn-gradient-prompt {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-gradient-prompt:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}
.btn-gradient-prompt:hover .wizard-prompt-icon {
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hover-normativa:hover {
  background: linear-gradient(135deg, #fff7ee 0%, #ffe4e0 100%) !important;
  border-color: #e58846 !important;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15) !important;
}

.hover-prompt:hover {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border-color: #10b981 !important;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15) !important;
}

.hover-shadow-xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-4px);
}

.transition-all {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-shadow-md:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

.hover-shadow-xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-4px);
}

.hover-prompt-list:hover, .hover-optimizer-list:hover {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border-left: 4px solid #94d2b2 !important;
  transform: translateX(8px);
}

.transition-all {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rounded-4 {
  border-radius: 24px;
}

.rounded-3 {
  border-radius: 20px;
}

.form-control:focus .search-prompt-icon {
  border-color: #86b7fe;
  border-left: 2px solid #86b7fe;
}

.btn-gradient-optimizer {
  border: 1px solid #8b5cf6 !important;
  color: #8b5cf6;
  transition: all 0.3s ease;
}

.btn-gradient-optimizer:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: white;
}

.category-pill {
  color: white !important;
}

.folder-item:hover {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-left: 4px solid #f59e0b !important;
}

.folder-item.active {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  border-left: 4px solid #f59e0b !important;
}

.breadcrumb-item a:hover {
  color: #8b5cf6 !important;
}

.hover-shadow-md:hover, .folder-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

.transition-all {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.resume-prompt {
  width: inherit;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
  max-width: 50rem;
}
.resume-prompt p {
  margin-bottom: 0 !important;
}

.active-folder {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-left: 4px solid #f59e0b !important;
}

.wizard-content {
  min-height: 44rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wizard-steps-container {
  height: 42rem !important;
  overflow: hidden;
  width: 20% !important;
}

.wizard-progress-container {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.wizard-progress-steps {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.5rem;
}

.wizard-step {
  height: 42rem !important;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.step-circle.active, .step-line.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: glowPulse 1s ease-out forwards;
}

.step-circle-regulation {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.step-circle-regulation.active, .step-line-regulation.active {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: glowPulse-regulation 1s ease-out forwards;
  color: white;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4), 0 0 0 0 rgba(16, 185, 129, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5), 0 0 0 12px rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4), 0 0 0 0 rgba(16, 185, 129, 0);
    transform: scale(1);
  }
}
@keyframes glowPulse-regulation {
  0% {
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4), 0 0 0 0 rgba(234, 88, 12, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.5), 0 0 0 12px rgba(234, 88, 12, 0.15);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4), 0 0 0 0 rgba(234, 88, 12, 0);
    transform: scale(1);
  }
}
.step-circle .step-number {
  color: #6b7280;
  font-weight: 600;
  font-size: 1.1rem;
}

.step-circle.active .step-number {
  color: white;
}

.step-circle .bi-check-lg {
  color: white;
  font-size: 1.3rem;
}

.step-line, .step-line-regulation {
  width: 4px;
  height: 35px;
  background: #e5e7eb;
  margin: 0 auto;
  flex-shrink: 0;
}

.step-line-regulation {
  height: 4rem !important;
}

.wizard-step {
  display: flex;
  justify-content: center;
  transition: all 0.5s ease;
}

.form-check-inline-style {
  display: block;
}

.form-check-inline-style .form-check-label {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.form-check-inline-style .form-check-input:checked + .form-check-label {
  border-color: #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
}

.multiple-select-item-scroll-container {
  min-height: 13rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.75rem;
  background: #fafafa;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.multiple-select-item-scroll-container:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.15);
  background: #f0fdf4;
}

.multiple-select-item-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.option-item-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.option-item-chip:hover {
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15);
}

.option-item-chip input[type=checkbox] {
  display: none;
}

.option-item-chip input[type=checkbox]:checked + span {
  color: #059669;
  font-weight: 600;
}

.option-item-chip input[type=checkbox]:checked {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #10b981 !important;
}

/* Scroll bonito */
.multiple-select-item-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.multiple-select-item-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.multiple-select-item-scroll-container::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 10px;
}

.multiple-select-item-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

.folder-tree-container {
  overflow-y: auto;
  background: #fafafa;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  height: 13rem;
}

.folder-tree {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: 0.75rem;
}

.folder-tree-item {
  padding-inline: 2.5px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 8px;
  margin: 2px 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.folder-tree-item:hover {
  background: #f1f9f3;
}

.folder-tree-item.selected {
  background: linear-gradient(135deg, rgb(236, 253, 245) 0%, rgb(209, 250, 229) 100%);
  font-weight: 500;
  border-left: 4px solid rgb(16, 185, 129);
  padding-left: 6px;
}

.folder-tree-item .toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.folder-tree-item .toggle.collapsed {
  transform: rotate(-90deg);
}

.folder-tree-item .toggle:empty {
  width: 20px;
}

.folder-tree-item .icon {
  font-size: 1.5rem;
  color: #f59e0b;
  flex-shrink: 0;
}

.folder-tree-item .name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
}

.folder-tree-children {
  margin-left: 24px;
  border-left: 1px dashed #cbd5e1;
  overflow: hidden;
  transition: all 0.3s ease;
}

.folder-tree-children.collapsed {
  height: 0;
  padding-left: 0;
  border-left-color: transparent;
}

.chat-bot-pfp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 0.5rem;
  margin-right: 1rem;
}

#responseOptions {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#promptResponse {
  height: 54vh;
  margin-bottom: 1.25rem;
}

.chat-options-buttons-container {
  display: flex;
  justify-content: space-between;
}

.user-message {
  display: flex;
  justify-content: end;
  margin-bottom: 1.5rem;
}

.input-group {
  align-items: end !important;
}
.input-group #sendMessage {
  max-height: 5rem !important;
}

#userInput {
  font-size: 1.15rem !important;
  resize: none !important;
}

#userInput:focus {
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.15) !important;
  border-color: #10b981 !important;
}

.loading-indicator .dots {
  display: inline-flex;
  align-items: center;
}

.loading-indicator .dot {
  width: 6px;
  height: 6px;
  background-color: #474747;
  border-radius: 50%;
  margin: 0 4px;
  animation: dot-flashing 1s infinite alternate;
}

.loading-indicator .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-flashing {
  0% {
    opacity: 0.2;
  }
  50%, 100% {
    opacity: 1;
  }
}
.streaming-text h1, #promptResponse h1 {
  font-size: 1.5rem !important;
}
.streaming-text p, #promptResponse p {
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
}
.streaming-text ul, #promptResponse ul {
  margin-bottom: 0.5rem !important;
}

.add-regulation-pill, .add-regulation-pill-exclusion {
  position: absolute;
  right: 3rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.add-regulation-pill-exclusion {
  background: #fff1f2;
  border: 2px solid #ef4444;
  margin-top: 0.5rem;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.badge-item-regulation {
  cursor: grab;
  transition: all 0.2s ease;
}
.badge-item-regulation .badge {
  border-radius: 5rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  padding-right: 1rem !important;
  padding-left: 1rem !important;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.badge-item-regulation:active {
  cursor: grabbing;
}

.badge-item-regulation.dragging {
  opacity: 0.6;
  transform: rotate(4deg) scale(1.08);
  z-index: 1000;
}

.drag-drop-horizontal {
  display: flex;
  font-family: inherit;
}

#drag-drop-container {
  border: 0.5px rgb(222, 226, 230) solid;
}

/* Scroll horizontal solo en disponibles */
#available-badges {
  scrollbar-width: thin;
  scrollbar-color: rgb(194, 147, 108) transparent;
}

#available-badges::-webkit-scrollbar {
  height: 8px;
}

#available-badges::-webkit-scrollbar-thumb {
  background: rgb(108, 194, 108);
  border-radius: 4px;
}

/* Scroll vertical en seleccionados */
#selected-badges {
  scrollbar-width: thin;
  scrollbar-color: rgb(194, 147, 108) transparent;
}

#selected-badges::-webkit-scrollbar {
  width: 8px;
}

#selected-badges::-webkit-scrollbar-thumb {
  background: rgb(108, 194, 108);
  border-radius: 4px;
}

#selected-badges .badge {
  animation: popIn 0.35s ease;
}

/* Hover */
#available-badges .badge:hover,
#selected-badges .badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(194, 144, 108, 0.3) !important;
}

.selectionable-excluir-pills {
  width: 45%;
  display: flex;
  flex-direction: column;
  border: 0.5px rgb(222, 226, 230) solid;
}

.no-exclusion-container {
  background-color: rgba(34, 197, 94, 0.1);
  min-height: 7.85rem;
}
.no-exclusion-container .text-success {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.no-exclusion-container #include-badges-no-exclusion {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.exclusion-container {
  background-color: rgba(239, 68, 68, 0.1);
  min-height: 7.85rem;
}
.exclusion-container .text-danger {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.exclusion-container #include-badges-exclusion {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

@media (max-width: 991px) {
  .wizard-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .wizard-step {
    height: auto !important;
  }
  .step-line, .step-line-regulation {
    flex: 1;
    height: 4px !important;
    background: #e5e7eb;
    margin: 0 8px;
    position: relative;
    top: 22px;
  }
  .wizard-steps-container {
    height: 7rem !important;
    width: 100% !important;
    padding: 0.5rem !important;
    overflow: clip !important;
  }
  .wizard-progress-container {
    padding-inline: 0.25rem !important;
  }
  .wizard-progress-container .wizard-progress-numbers {
    padding-inline: 0 !important;
  }
  .wizard-progress-steps {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0rem !important;
  }
  .wizard-card {
    width: 100% !important;
  }
  .wizard-card .card-body {
    padding: 0.5rem !important;
  }
  .add-regulation-pill {
    right: 2rem;
  }
}/*# sourceMappingURL=engineering.css.map */