/* Message Content Container */
.message-content-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Tool Reasoning Section - New Design */
.tool-reasoning-section {
  border: 1px solid #ff6f00;
  border-radius: 8px;
  background: #fff7ed;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(255, 111, 0, 0.1);
  margin-bottom: 12px;
}

.tool-reasoning-header {
  padding: 8px 12px;
  cursor: pointer;
  background: linear-gradient(to bottom, #fff7ed, #fff4e6);
  border-bottom: 1px solid rgba(255, 111, 0, 0.2);
  transition: all 0.2s ease;
  user-select: none;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.tool-reasoning-header:hover {
  background: linear-gradient(to bottom, #fff4e6, #fff1df);
  border-bottom-color: rgba(255, 111, 0, 0.3);
}

.tool-reasoning-toggle-icon {
  font-size: 0.6875rem;
  color: #ff6f00;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  transform-origin: center;
}

.tool-reasoning-section:has(.tool-reasoning-content-wrapper.expanded) .tool-reasoning-toggle-icon {
  transform: rotate(90deg);
}

.tool-reasoning-brain-icon {
  font-size: 0.875rem;
  color: #ff6f00;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

.tool-reasoning-header p {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.tool-reasoning-brain-icon.pulsing {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.tool-usage-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #ff6f00;
  background: #fff7ed;
  border: 1px solid rgba(255, 111, 0, 0.3);
  border-radius: 9999px;
  white-space: nowrap;
  line-height: 1.4;
}

.tool-usage-pill.active {
  animation: pulse 2s ease-in-out infinite;
}

.tool-reasoning-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.tool-reasoning-content-wrapper.expanded {
  max-height: 400px;
  opacity: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.tool-reasoning-content-wrapper.collapsed {
  max-height: 0;
  opacity: 0;
}

/* Custom scrollbar for deep thinking */
.tool-reasoning-content-wrapper.expanded::-webkit-scrollbar {
  width: 6px;
}

.tool-reasoning-content-wrapper.expanded::-webkit-scrollbar-track {
  background: #fff7ed;
  border-radius: 3px;
}

.tool-reasoning-content-wrapper.expanded::-webkit-scrollbar-thumb {
  background: #ffb366;
  border-radius: 3px;
}

.tool-reasoning-content-wrapper.expanded::-webkit-scrollbar-thumb:hover {
  background: #ff9933;
}

.tool-reasoning-content {
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #444;
  background: #ffffff;
  border-top: 1px solid rgba(255, 111, 0, 0.1);
}

.tool-reasoning-content .markdown-p {
  margin: 0.5rem 0;
}

.tool-reasoning-content .markdown-ul,
.tool-reasoning-content .markdown-ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

/* Response Section */
.response-section {
  width: 100%;
}

.response-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* Markdown Styling */
.inline-code {
  background: #f5f5f5;
  padding: 0.125rem 0.25rem;
  border-radius: 0.1875rem;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.8rem;
  color: inherit;
}

.code-block-wrapper {
  margin: 12px 0;
  border-radius: 8px;
  overflow: hidden;
}

.code-block {
  display: block;
  background: #f5f5f5;
  padding: 0.5rem;
  margin: 0;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.8rem;
  overflow-x: auto;
  line-height: 1.4;
  white-space: pre-wrap;
  border-radius: 0.3rem;
}

.table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 8px;
}

.markdown-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  /* Smart column sizing - prevents layout shifts during streaming */
  border: 1px solid #ddd;
}

.markdown-th,
.markdown-table th {
  background: #333333;
  padding: 0.5rem;
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
  border: 1px solid #ddd;
  color: #ffffff;
}

.markdown-td,
.markdown-table td {
  padding: 0.5rem;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  color: inherit;
}

.markdown-table tr:hover {
  background: #f8f9fa;
}

/* Smart table column sizing for AI-generated tables */
/* First column gets fixed width and bold text for better visual hierarchy */
.message-content-container table td:first-child,
.message-content-container table th:first-child,
.response-content table td:first-child,
.response-content table th:first-child,
.tool-reasoning-content table td:first-child,
.tool-reasoning-content table th:first-child {
  width: 18%;
  font-weight: 600;
}

/* First column data cells - center vertically only */
.message-content-container table td:first-child,
.response-content table td:first-child,
.tool-reasoning-content table td:first-child {
  vertical-align: middle;
  text-align: left;
}

.markdown-link {
  color: #0d6efd;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.markdown-link:hover {
  color: #0a58ca;
  border-bottom-color: #0a58ca;
}

.external-link-icon {
  font-size: 0.8em;
  opacity: 0.7;
}

.markdown-h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.2;
  color: #ff6f00;
}

.markdown-h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 1.25rem 0 0.625rem 0;
  line-height: 1.3;
  color: #ff6f00;
}

.markdown-h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.4;
  color: #ff6f00;
}

.markdown-h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.875rem 0 0.4375rem 0;
  line-height: 1.4;
  color: #ff6f00;
}

.markdown-h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.375rem 0;
  line-height: 1.5;
  color: #ff6f00;
}

.markdown-h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem 0;
  line-height: 1.5;
  color: #ff6f00;
}

.markdown-ul {
  list-style-type: disc !important;
  padding-left: 1.75rem !important;
  margin: 0.5rem 0 !important;
}

.markdown-ol {
  list-style-type: decimal !important;
  padding-left: 1.75rem !important;
  margin: 0.5rem 0 !important;
}

.markdown-li {
  margin: 0.25rem 0;
  line-height: 1.6;
  color: inherit;
}

.markdown-ul .markdown-ul {
  list-style-type: circle !important;
  margin: 4px 0;
}

.markdown-ul .markdown-ul .markdown-ul {
  list-style-type: square !important;
}

.markdown-blockquote {
  border-left: 4px solid #ff6f00;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  opacity: 0.9;
  color: inherit;
}

.markdown-p {
  margin: 0.75rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
  color: inherit;
}

.markdown-strong {
  font-weight: 600;
  color: #ff6f00;
}

.markdown-em {
  font-style: italic;
  color: inherit;
}

.markdown-del {
  text-decoration: line-through;
  opacity: 0.7;
}

.markdown-checkbox {
  margin-right: 8px;
  cursor: not-allowed;
}

.markdown-li:has(.markdown-checkbox) {
  list-style-type: none !important;
  margin-left: -24px;
}

.markdown-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.markdown-hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 1.5rem 0;
  opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .code-block {
    padding: 12px;
    font-size: 0.75em;
  }

  .markdown-th,
  .markdown-td,
  .markdown-table th,
  .markdown-table td {
    padding: 8px 10px;
    font-size: 0.9em;
  }

  .markdown-h1 {
    font-size: 1.75em;
  }

  .markdown-h2 {
    font-size: 1.35em;
  }

  .markdown-h3 {
    font-size: 1.15em;
  }

  .tool-reasoning-header {
    padding: 10px 12px;
  }

  .tool-reasoning-content {
    padding: 12px;
    font-size: 0.85rem;
  }

  .markdown-ul,
  .markdown-ol {
    padding-left: 20px !important;
  }
}
/* Thinking Status Component - Exact match to existing chat design */

.thinking-status-container {
  margin: 0 0 12px 0;
  animation: fadeInUp 0.3s ease-out;
  width: 100%;
}

.thinking-status-accordion {
  border: 1px solid #e0e0e0;
  border-radius: 0.625rem;
  background: #ffffff;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.thinking-status-header {
  padding: 0.625rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thinking-status-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.thinking-status-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.phase-icon {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.phase-icon.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.thinking-status-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.thinking-status-label {
  font-weight: 500;
  font-size: 1rem;
  color: #ff6f00;
}

.thinking-status-time {
  font-size: 0.75rem;
  color: #666;
}

.thinking-status-indicator {
  color: #808080;
  transition: transform 0.3s ease;
  font-size: 0.875rem;
}

.thinking-status-indicator.expanded {
  transform: rotate(180deg);
}

.thinking-status-body {
  padding: 0 0.625rem 0.625rem 0.625rem;
  border-top: 1px solid #eee;
  animation: slideDown 0.2s ease-out;
}

.phase-history {
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.phase-history-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phase-history-list {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
}

.phase-history-list::-webkit-scrollbar {
  width: 6px;
}

.phase-history-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.phase-history-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.phase-history-list::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

.phase-history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem;
  background: #f5f5f5;
  border-radius: 0.375rem;
  border-left: 3px solid #ff6f00;
  animation: slideInLeft 0.3s ease-out;
  animation-fill-mode: both;
}

.phase-history-item:nth-child(1) { animation-delay: 0.05s; }
.phase-history-item:nth-child(2) { animation-delay: 0.1s; }
.phase-history-item:nth-child(3) { animation-delay: 0.15s; }
.phase-history-item:nth-child(4) { animation-delay: 0.2s; }

.phase-history-item.thinking {
  border-left-color: #ff6f00;
}

.phase-history-item.reasoning {
  border-left-color: #ff6f00;
}

.phase-history-item.searching {
  border-left-color: #ff6f00;
}

.phase-history-item.responding {
  border-left-color: #ff6f00;
}

.phase-history-icon {
  font-size: 0.875rem;
}

.phase-history-text {
  flex: 1;
  font-size: 0.875rem;
  color: black;
  font-weight: 500;
}

.phase-history-duration {
  font-size: 0.75rem;
  color: #666;
  font-weight: 400;
}

.phase-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6f00;
  flex-shrink: 0;
  opacity: 0.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .thinking-status-header {
    padding: 0.5rem;
  }
  
  .phase-icon {
    font-size: 0.875rem;
    width: 18px;
    height: 18px;
  }
  
  .phase-history {
    padding: 0.375rem 0;
  }
  
  .thinking-status-label {
    font-size: 0.875rem;
  }
  
  .thinking-status-time {
    font-size: 0.6875rem;
  }
}

/* Subtle Animations - Matches existing design */

/* Fade in from bottom */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide in from left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide down */
@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* Fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Blinking cursor for typing effect */
@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* Respects user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Premium Chat Styles - Minimal, matches existing design */

:root {
  --brand-primary: #ff6f00;
  --brand-primary-hover: #ff8c00;
  --brand-primary-light: rgba(255, 111, 0, 0.1);
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-tertiary: #808080;
  --border-color: #e0e0e0;
  --background-white: #ffffff;
  --background-light: #f5f5f5;
  --shadow-sm: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
  --shadow-md: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.12);
  --border-radius: 0.625rem;
  --border-radius-sm: 0.375rem;
}

/* Smooth transitions for all interactive elements */
button, a, .clickable {
  transition: all 0.2s ease;
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Ensure consistent font sizing */
.premium-text-sm {
  font-size: 0.75rem;
}

.premium-text-base {
  font-size: 0.875rem;
}

.premium-text-lg {
  font-size: 1rem;
}

/* Copy button row: visible on hover for user, always visible for bot */
.message .message-actions-row {
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.message:hover .message-actions-row {
  opacity: 1;
  pointer-events: auto;
}
/* Bot message: always show actions (no hover required) */
.message.bot .message-actions-row {
  opacity: 1;
  pointer-events: auto;
}

/* Copy button: icon only, no text */
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.copy-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* User message (dark blue): light icon for contrast */
.message.user .copy-btn {
  color: rgba(255, 255, 255, 0.85);
}
.message.user .copy-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Bot message (white): dark icon for contrast */
.message.bot .copy-btn {
  color: #64748b;
}
.message.bot .copy-btn:hover {
  color: #334155;
  background: rgba(0, 0, 0, 0.06);
}

/* After click: show check icon in brand orange */
.copy-btn.copied {
  color: var(--brand-primary) !important;
  background: transparent !important;
}
.message.user .copy-btn.copied {
  color: var(--brand-primary) !important;
}

/**
 * Responsive Layout - Mobile-first responsive design
 * Breakpoints and touch optimizations for all devices
 */

/* ===== BREAKPOINTS ===== */

:root {
  --breakpoint-mobile: 767px;
  --breakpoint-tablet: 1023px;
  --breakpoint-desktop: 1024px;
  --breakpoint-wide: 1440px;
}

/* ===== BASE MOBILE STYLES (0-767px) ===== */

/* Mobile-first approach - these are the default styles */
.chat-container-responsive {
  width: 100%;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.chat-messages-responsive {
  padding: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.chat-input-responsive {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: white;
  border-top: 1px solid #e9ecef;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

/* Touch-friendly buttons */
.touch-button {
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly inputs */
.touch-input {
  min-height: 44px;
  font-size: 16px; /* Prevents zoom on iOS */
  padding: 12px 16px;
  border-radius: 8px;
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile header */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: white;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Mobile content area */
.mobile-content {
  padding-top: 56px; /* Header height */
  padding-bottom: 60px; /* Nav height */
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Collapsible sections on mobile */
.mobile-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-collapsible.open {
  max-height: 500px;
}

/* Mobile-optimized cards */
.mobile-card {
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Mobile-optimized text */
.mobile-text-sm {
  font-size: 0.875rem;
  line-height: 1.4;
}

.mobile-text-base {
  font-size: 1rem;
  line-height: 1.5;
}

.mobile-text-lg {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ===== TABLET STYLES (768px - 1023px) ===== */

@media (min-width: 768px) {
  .chat-container-responsive {
    padding: 16px;
  }

  .chat-messages-responsive {
    padding: 20px;
  }

  .chat-input-responsive {
    position: relative;
    padding: 16px 20px;
  }

  .touch-button {
    min-width: 40px;
    min-height: 40px;
    padding: 10px 16px;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-header {
    height: 64px;
    padding: 0 24px;
  }

  .mobile-content {
    padding-top: 64px;
    padding-bottom: 0;
  }

  .mobile-card {
    padding: 20px;
    margin-bottom: 16px;
  }

  /* Two-column layout for tablet */
  .tablet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ===== DESKTOP STYLES (1024px+) ===== */

@media (min-width: 1024px) {
  .chat-container-responsive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
  }

  .chat-messages-responsive {
    padding: 24px;
  }

  .chat-input-responsive {
    padding: 20px 24px;
  }

  .mobile-header {
    display: none;
  }

  .mobile-content {
    padding-top: 0;
  }

  .mobile-card {
    padding: 24px;
    margin-bottom: 20px;
  }

  /* Three-column layout for desktop */
  .desktop-grid {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 24px;
  }

  /* Hover effects enabled on desktop */
  .desktop-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* ===== WIDE SCREEN STYLES (1440px+) ===== */

@media (min-width: 1440px) {
  .chat-container-responsive {
    max-width: 1400px;
  }

  .desktop-grid {
    grid-template-columns: 350px 1fr 350px;
    gap: 32px;
  }
}

/* ===== TOUCH OPTIMIZATIONS ===== */

/* Remove hover effects on touch devices */
@media (hover: none) {
  .hover-effect:hover {
    transform: none;
    box-shadow: none;
  }

  /* Larger touch targets */
  button,
  a,
  input[type="button"],
  input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===== SAFE AREA INSETS (iPhone X+) ===== */

@supports (padding: max(0px)) {
  .safe-area-top {
    padding-top: max(env(safe-area-inset-top), 16px);
  }

  .safe-area-bottom {
    padding-bottom: max(env(safe-area-inset-bottom), 16px);
  }

  .safe-area-left {
    padding-left: max(env(safe-area-inset-left), 16px);
  }

  .safe-area-right {
    padding-right: max(env(safe-area-inset-right), 16px);
  }

  .mobile-header {
    padding-top: env(safe-area-inset-top);
    height: calc(56px + env(safe-area-inset-top));
  }

  .mobile-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(60px + env(safe-area-inset-bottom));
  }
}

/* ===== VIRTUAL KEYBOARD HANDLING ===== */

/* Adjust layout when keyboard is visible */
@media (max-height: 500px) {
  .mobile-content {
    padding-bottom: 0;
  }

  .mobile-nav {
    display: none;
  }

  .chat-input-responsive {
    position: relative;
  }
}

/* ===== ORIENTATION HANDLING ===== */

/* Landscape mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .mobile-header {
    height: 48px;
  }

  .mobile-content {
    padding-top: 48px;
  }

  .mobile-card {
    padding: 12px;
  }
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */

.responsive-heading-1 {
  font-size: 1.75rem;
  line-height: 1.2;
}

.responsive-heading-2 {
  font-size: 1.5rem;
  line-height: 1.3;
}

.responsive-heading-3 {
  font-size: 1.25rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .responsive-heading-1 {
    font-size: 2.25rem;
  }

  .responsive-heading-2 {
    font-size: 1.875rem;
  }

  .responsive-heading-3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .responsive-heading-1 {
    font-size: 2.5rem;
  }

  .responsive-heading-2 {
    font-size: 2rem;
  }

  .responsive-heading-3 {
    font-size: 1.75rem;
  }
}

/* ===== RESPONSIVE SPACING ===== */

.responsive-spacing-sm {
  padding: 8px;
}

.responsive-spacing-md {
  padding: 12px;
}

.responsive-spacing-lg {
  padding: 16px;
}

@media (min-width: 768px) {
  .responsive-spacing-sm {
    padding: 12px;
  }

  .responsive-spacing-md {
    padding: 16px;
  }

  .responsive-spacing-lg {
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .responsive-spacing-sm {
    padding: 16px;
  }

  .responsive-spacing-md {
    padding: 24px;
  }

  .responsive-spacing-lg {
    padding: 32px;
  }
}

/* ===== RESPONSIVE IMAGES ===== */

.responsive-image {
  width: 100%;
  height: auto;
  display: block;
}

.responsive-image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsive-image-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== RESPONSIVE GRID ===== */

.responsive-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .responsive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .responsive-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1440px) {
  .responsive-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */

/* Hide on mobile */
.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
}

/* Hide on tablet */
.hide-tablet {
  display: block;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet {
    display: none;
  }
}

/* Hide on desktop */
.hide-desktop {
  display: block;
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none;
  }
}

/* Show only on mobile */
.show-mobile-only {
  display: block;
}

@media (min-width: 768px) {
  .show-mobile-only {
    display: none;
  }
}

/* Show only on tablet */
.show-tablet-only {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .show-tablet-only {
    display: block;
  }
}

/* Show only on desktop */
.show-desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .show-desktop-only {
    display: block;
  }
}

/* ===== PRINT STYLES ===== */

@media print {
  .mobile-nav,
  .mobile-header,
  .chat-input-responsive,
  .no-print {
    display: none !important;
  }

  .mobile-content {
    padding: 0;
  }

  .chat-container-responsive {
    max-width: 100%;
    padding: 0;
  }
}

.icon-hover-effect {
  color: #000;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.icon-hover-effect:hover {
  color: #ff6f00;
  transform: scale(1.1);
}
.button-hover-outline {
  color: #000;
  border: 1px solid currentColor;
  background: transparent;
}
.button-hover-outline:hover {
  color: #ff6f00;
}

/* RightMenu.css */
.right-menu {
    position: fixed;
    right: 0;
    top: 0;
    width: 700px;
    background-color: #fff;
  }
  
  .menu-content {
    padding-top: 59px;
  }
  
.timeline-header {
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
}
.timeline-header-buffer {
  height: 40px;
  max-height: 40px;
  min-height: 40px;
}
.column-name {
  width: 125px;
  min-width: 125px;
  max-width: 125px;
}
.task-name {
  width: 135px;
  min-width: 135px;
  max-width: 135px;
}
.focus {
  width: 275px;
  min-width: 275px;
  max-width: 275px;
}
.criticality {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}
.raci-matrix {
  width: 225px;
  min-width: 225px;
  max-width: 225px;
}
.ease-of-impl {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}
.impl-phase {
  width: 75px;
  min-width: 75px;
  max-width: 75px;
}
.time-bb {
  border-bottom: 1px solid #ccc;
}
.time-br {
  border-right: 1px solid #ccc;
}
.time-bl {
  border-left: 1px solid #ccc;
}
.adapt-steps {
  width: 125px;
  min-width: 125px;
  max-width: 125px;
}
.raci-table td {
  padding: 0px 0px 0px 5px;
  margin: 0px;
  vertical-align: top;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
}
.completed {
  text-decoration: line-through;
  text-decoration-color: red;
  color: red;
}
.vertical-middle {
  width: 100%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding-left: 5px;
  padding-right: 5px;
}
.fulljustify {
  text-align: justify;
}
.fulljustify:after {
  content: "";
  display: inline-block;
  width: 100%;
}

.auto-menu {
  position: absolute;
  z-index: 99;
  background: #fff;
  width: 270px;
  max-height: 200px;
  overflow: auto;
}
.auto-menu .item {
  overflow: hidden;
  padding: 0 16px;
  height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}
.processmap-editor-auto-menu .item {
  overflow: hidden;
  padding: 0 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}
.processmap-editor-auto-menu .item-highlighted {
  background: rgba(0, 0, 0, 0.03);
}
.auto-menu .item-highlighted {
  background: rgba(0, 0, 0, 0.03);
}

.client {
  padding: 15px;
}
.client:HOVER {
  cursor: pointer;
}
.client-name {
  width: 35%;
}
.client-created {
  width: 20%;
}
.client-created-by {
  width: 20%;
}
.client-retain {
  width: 15%;
}
.client-actions {
  width: 10%;
}
.btn-danger {
  background: transparent;
  border: none;
  color: #dc3545;
}
.btn-danger:hover {
  background: transparent;
  border: none;
  color: #c82333;
}
.btn-danger:disabled {
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}
.retain-input {
  max-width: 180px;
}

.react-calendar {
  width: 470px;
  max-width: 100%;
  background: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: 0.03em;
}
.react-calendar--doubleView {
  width: 700px;
}
.react-calendar--doubleView .react-calendar__viewContainer {
  display: flex;
  margin: -0.5em;
}
.react-calendar--doubleView .react-calendar__viewContainer > * {
  width: 50%;
  margin: 0.5em;
}
.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
}
.react-calendar button:enabled:hover {
  cursor: pointer;
}
.react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 8px;
}
.react-calendar__month-view__days__day {
  color: #000000;
  font-weight: 500;
}
.react-calendar__navigation button {
  min-width: 44px;
  background: none;
  font-size: 1.2rem;
}
.react-calendar__navigation button:disabled {
  background-color: #f0f0f0;
}
.react-calendar__navigation button:enabled:hover,
.react-calendar__navigation button:enabled:focus {
  background-color: #e6e6e6;
}
.react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}
.react-calendar__month-view__weekdays__weekday {
  padding: 12px 0;
}
.react-calendar__month-view__weekNumbers .react-calendar__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: bold;
}
.react-calendar__month-view__days__day--weekend {
  color: #b1b6b2;
}
.react-calendar__month-view__days__day--neighboringMonth {
  color: #b1b6b2;
}
.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
  padding: 2em 0.5em;
}
.react-calendar__tile {
  max-width: 100%;
  padding: 10px 6.6667px;
  background: none;
  text-align: center;
  line-height: 20px;
}
.react-calendar__tile:disabled {
  background-color: #f0f0f0;
}
.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
  background-color: #e6e6e6;
  border-radius: 5px;
}
.react-calendar__tile--hasActive {
  background: #76baff;
}
.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
  background: #a9d4ff;
}
.react-calendar__tile--active {
  background: #1D30B5;
  color: white;
}
.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
  background: #1087ff;
}
.react-calendar--selectRange .react-calendar__tile--hover {
  background-color: #e6e6e6;
}
.react-calendar__navigation__next-button,
.react-calendar__navigation__next2-button,
.react-calendar__navigation__prev-button,
.react-calendar__navigation__prev2-button {
  font-size: 2rem !important;
}
abbr[title],
abbr[aria-label] {
  text-decoration: none !important;
  cursor: default !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: 0.03em;
  text-align: left;
}
abbr[title] {
  font-size: 12px;
}
button.circle abbr[title],
button.circle abbr[aria-label] {
  display: none;
}
.circle-content {
  width: 28px;
  height: 28px;
}
.hidden-number {
  display: none;
}
.circle {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
.circle-dot {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
.green {
  background-color: #9BBA57;
  color: white;
  min-width: 18px;
}
.purple {
  background-color: #FFAC4A;
  color: white;
  min-width: 18px;
}
.pink {
  background-color: #FF0000;
  color: white;
  min-width: 18px;
}
.multiple-events {
  background-color: #AAC9E6;
  color: white;
}

.module-container {
  max-width: 100%;
  overflow: hidden;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  overflow: auto;
}

.module-item {
  margin: 1rem 0;
  text-decoration: none;
  height: 100px;
}

.module-card {
  padding: 11px 13px;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background-color: #091118;
  position: relative;
}

.module-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.module-header {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  gap: 1.25rem;
  align-items: center;
}

.module-title {
  width: 100%;
  overflow: hidden;
}

.module-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  color: #FFF;
  margin: 0;
  width: 100%;
}

.info-button {
  border: none;
  background: transparent;
  padding: 0;
  height: 18px;
  color: white;
}

.info-icon {
  min-height: 24px;
  min-width: 24px;
}

.module-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 24px;
  gap: 1.25rem;
  align-items: center;
}

.status-badge {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  color: #82868C;
  border-radius: 20px;
  padding: 4px 10px;
  width: 147px;
  height: 23px;
}

.status-icon {
  width: 8.67px;
  height: 8.67px;
}

.status-text {
  margin-left: 0.2rem;
  font-size: 10px;
  line-height: 15px;
  font-weight: 500;
}

.chevron-container {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron-container.clickable {
  cursor: pointer;
}

.chevron-icon {
  height: 24px;
  width: 24px;
}

.skeleton-stack {
  margin-top: 1rem;
}

.skeleton-line {
  height: 20px;
  margin-bottom: 0.5rem;
  background-color: #e9ecef;
  animation: pulse 2s infinite;
  border-radius: 0.25rem;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 0.4; }
  100% { opacity: 0.6; }
} 
.row-load {
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.col-left {
  width: 727px;
  z-index: 999;
}
.col-right {
  width: 100%;
}
.text-align-center-load {
  padding-top: 50%;
  text-align: center;
  vertical-align: middle;
}
.text-align-center-load-80 {
  padding-top: 61%;
  text-align: center;
  vertical-align: middle;
}
.text-align-center-add {
  padding-top: 10%;
  text-align: center;
  vertical-align: middle;
}
.alert-session {
  margin-left: 75%;
  margin-top: 30px;
  position: absolute;
  z-index: 99999;
}
::-webkit-scrollbar {
  width: 8px;
  /* Tamaño del scroll en vertical */
  height: 8px;
  /* Tamaño del scroll en horizontal */
}
::-webkit-scrollbar-thumb {
  background: #3f3f3f;
  border-radius: 4px;
}
/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

.module-attrs table {
  width: unset;
}
.module-attrs table td {
  padding: 4px 4px 4px 0;
}
.attr-key {
  color: #777;
  font-size: 0.93rem;
  padding-right: 25px !important;
}
.attr-value {
  font-size: 0.93rem;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.stability-tracker-chart-div {
  width: 100%;
  height: 320px;
  position: relative;
  z-index: 1;
}
.component-lbl {
  /*display: inline-block;
	width: 100%;*/
  margin: 0 -15px;
}
.stable-component {
  float: left;
  width: 30%;
  position: relative;
  margin-top: 35px;
}
.lbl-checkbox {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.lbl-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.lbl-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
.lbl-checkbox input:checked ~ .checkmark {
  background-color: #2196F3;
}
.lbl-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.lbl-checkbox input:checked ~ .checkmark:after {
  display: block;
}
.lbl-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.stable-component {
  display: flex;
  width: 25%;
  align-items: center;
  flex-direction: column;
  padding: 0 15px;
  position: relative;
}
.stable-component:after {
  background: #b7b7b7;
  height: 100%;
  position: absolute;
  top: 0px;
  right: -1px;
  width: 2px;
  content: "";
}
.stable-component.stable-component-lg {
  width: 50%;
}
.stable-component.stable-component-lg:after {
  display: none;
}
.left-title-comp {
  max-width: 100%;
  flex: 0 0 100%;
  text-align: center;
  font-weight: 600;
  font-size: 11px;
}
.right-title-comp {
  max-width: 100%;
  flex: 0 0 100%;
  text-align: center;
  font-size: 10px;
}
.right-title-comp .lbl-info-check {
  display: block;
  margin-bottom: 5px;
}
.lbl-checkbox .checkmark {
  position: relative;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #eee;
  display: inline-block;
}
.lbl-checkbox.lbl-black .checkmark {
  background-color: #000000;
}
.lbl-checkbox.lbl-black input:checked ~ .checkmark {
  background-color: #000000;
}
.lbl-checkbox.lbl-orange .checkmark {
  background-color: #fd7007;
}
.lbl-checkbox.lbl-orange input:checked ~ .checkmark {
  background-color: #fd7007;
}
.lbl-checkbox.lbl-blue .checkmark {
  background-color: #4e718b;
}
.lbl-checkbox.lbl-blue input:checked ~ .checkmark {
  background-color: #4e718b;
}
.lbl-checkbox.lbl-lightblue .checkmark {
  background-color: #68a1cc;
}
.lbl-checkbox.lbl-lightblue input:checked ~ .checkmark {
  background-color: #68a1cc;
}
.lbl-checkbox.lbl-gray .checkmark {
  background-color: #ebebeb;
}
.lbl-checkbox.lbl-gray input:checked ~ .checkmark {
  background-color: #ebebeb;
}
.lbl-checkbox.lbl-darkgray .checkmark {
  background-color: #7d7d7d;
}
.lbl-checkbox.lbl-darkgray input:checked ~ .checkmark {
  background-color: #7d7d7d;
}
.lbl-checkbox.lbl-lightgray .checkmark {
  background-color: #bcbcbc;
}
.lbl-checkbox.lbl-lightgray input:checked ~ .checkmark {
  background-color: #bcbcbc;
}
.spacer-top {
  margin-top: 25px;
}
.component-lbl strong {
  font-weight: 400;
  color: #514fee;
}
.stability-tracker-heat-map-chart-div {
  width: 100%;
  height: 320px;
}
#user-dropdown {
  padding-left: 0;
  padding-right: 0;
}
.mapDetail {
  text-align: center;
  margin-left: 150px;
  margin-right: 15px;
  display: flex;
}
.mapDetail span {
  width: 100%;
  display: inline-block;
  color: black;
}
.fontColor {
  color: #ffffff !important;
}
#bubble-chart {
  height: 598px;
  width: 100%;
}
.pie-chart-list {
  display: flex;
  width: 100%;
}
.pie-chart-blog {
  float: left;
  width: 33.33%;
  position: relative;
  flex: 0 0 33.33%;
  max-width: 25.33%;
  padding: 0px 0px 0px 10px;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
}
.pie-chart-list:first-child .pie-chart-blog {
  border-top: 1px solid #000000;
  border-bottom: 0px;
}
.pie-chart-list:nth-child(2) .pie-chart-blog {
  border-top: 1px solid #000000;
}
.pie-chart-list .pie-chart-blog:first-child {
  border-left: 1px solid #000000;
}
.pie-chart-list .pie-chart-blog:last-child {
  border-right-width: 1px;
}
.pie-chart-list:last-child .pie-chart-blog {
  border-bottom-width: 1px;
}
.pie-chart-blog-top {
  float: left;
  width: 100%;
  position: relative;
  padding-left: 06px;
}
.pie-chart-txt {
  position: absolute;
  top: 15px;
  left: 0;
}
.all-radial-chart {
  height: inherit;
}
.pie-chart-txt strong {
  display: block;
  color: #f47622;
  font-family: "Poppins";
}
.pie-chart-graph {
  margin-bottom: -15px;
  margin-left: 9px;
}
.pie-chart-blog-bottom {
  display: inline-block;
  width: 100%;
  font-size: 15px;
  line-height: normal;
  font-family: 'Droid Serif';
}
.pie-chart-blog-bottom span {
  font-family: 'Droid Serif' !important;
}
.pie-chart-blog-bottom .intervention-count {
  margin-top: 0rem;
  font-family: 'Droid Serif';
}
.condition-monitor-chart-div {
  width: 520px;
  height: 450px;
}
.progress-circle-list {
  width: 70px;
  height: 70px;
  position: relative;
  margin-top: 25px;
  display: inline-block;
  vertical-align: top;
  font-family: Poppins;
}
.donut-text {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: normal;
  font-weight: 700;
}
.progress-monitor {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0px 0 10px 0;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  color: #ff6f00;
}
.progress-monitor-chart {
  display: inline-block;
  width: 100%;
  margin: 0px 0 10px 0;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  color: #ff6f00;
  margin-top: 40px;
}
.progress-row {
  display: flex;
  width: 100%;
  margin: 0 -10px;
  min-height: 455px;
}
.progress-col {
  flex: 0 0 auto;
  width: 16.66666667%;
  padding: 0 10px;
  text-align: center;
}
.title-bg-wrap {
  display: flex;
  width: 100%;
  padding: 10px 5px;
  color: #ffffff;
  background-color: #091018;
  font-size: 10px;
  line-height: normal;
  align-items: center;
  min-height: 17%;
  justify-content: center;
  font-family: "Poppins";
  font-size: 11px;
}
.title-bg-wrap.orange-bg {
  background-color: #ff6f00;
}
.component-bar-chart .stable-component {
  width: 33.33%;
  margin-top: 15px;
}
.component-bar-chart .stable-component:last-child:after {
  display: none;
}
.container-xl,
.container-lg,
.container-md,
.container-sm,
.container {
  max-width: 100%;
}
.chart-wrapper {
  padding: 0 15px;
  margin-bottom: 35px;
  overflow-y: scroll;
  max-width: 1500px;
  margin: 0 auto;
}
.box-wrapper-show {
  display: inline-block;
  width: 100%;
  padding: 10px 10px 0 10px;
  height: 100%;
  overflow-x: auto;
  border: solid 1px #ddd;
}
.box-wrapper-show-stability {
  display: inline-block;
  width: 100%;
  padding: 10px 10px 0 10px;
  margin-top: 15px;
  height: 100%;
  border: solid 1px #ddd;
}
.capability-maturation-matrix,
.capability-maturation-matrix-chart-div {
  width: 100%;
  height: 100%;
  min-height: 520px;
}
.capability-maturation-matrix-chart-div {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
}
.chart-row {
  margin-bottom: 15px;
}
.weight-chart {
  margin-top: 15px;
}
.humbarger-menu a {
  display: inline-block;
  width: 40px;
  height: 35px;
}
.burger {
  height: 3em;
  width: 3em;
  position: relative;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.burger::after {
  content: "";
  display: block;
  position: absolute;
  height: 150%;
  width: 150%;
  top: -25%;
  left: -25%;
}
.burger.burger-squeeze .burger-lines::after,
.burger.burger-squeeze .burger-lines::before {
  width: 2em;
}
.burger .burger-lines::after {
  left: 0;
  top: -0.8em;
}
.burger .burger-lines::before {
  left: 1em;
  top: 0.8em;
}
.burger.burger-squeeze .burger-lines,
.burger.burger-squeeze .burger-lines::after,
.burger.burger-squeeze .burger-lines::before {
  transition: top 0.2s 0.2s, left 0.1s, transform 0.2s, background-color 0.4s 0.2s;
}
.burger .burger-lines,
.burger .burger-lines::after,
.burger .burger-lines::before {
  pointer-events: none;
  display: block;
  content: "";
  width: 100%;
  border-radius: 0.25em;
  background-color: #091018;
  height: 0.25em;
  position: absolute;
  -webkit-transform: rotate(0);
  transform: rotate(0);
}
.burger .burger-lines {
  top: 50%;
  margin-top: -0.125em;
}
.burger.burger-squeeze .burger-lines::after,
.burger.burger-squeeze .burger-lines::before {
  width: 2em;
}
.burger.burger-squeeze.open .burger-lines::after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #ffffff;
}
.burger.burger-squeeze.open .burger-lines::after,
.burger.burger-squeeze.open .burger-lines::before {
  left: 0.5em;
  top: 0;
  background-color: #ffffff;
}
.burger.burger-squeeze.open .burger-lines,
.burger.burger-squeeze.open .burger-lines::after,
.burger.burger-squeeze.open .burger-lines::before {
  transition: background-color 0.2s, top 0.2s, left 0.2s, transform 0.2s 0.15s;
}
.burger.burger-squeeze.open .burger-lines::before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.burger.burger-squeeze.open .burger-lines {
  background-color: initial;
}
.header-main {
  padding: 0 3% 0;
  display: inline-block;
  width: 100%;
}
.menu-icon {
  float: right;
  position: relative;
  z-index: 999;
}
.filter-part {
  position: fixed;
  top: 0px;
  width: 100%;
  max-width: 300px;
  right: -300px;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -ms-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 130px 20px;
  height: 100%;
  overflow-y: auto;
  z-index: 99;
}
.filter-part.active {
  right: 0px;
}
.filter-part .btn-secondary-light {
  border-color: #2a4e6e;
  background-color: #2a4e6e;
  font-size: 15px;
  border-radius: 0px !important;
  width: 100%;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}
.filter-part .btn-secondary {
  border-color: #162a3b;
  background-color: #162a3b;
  font-size: 15px;
  border-radius: 0px !important;
  width: 100%;
  outline: none !important;
  box-shadow: none !important;
}
.filter-part .dropdown-menu {
  padding: 15px;
  font-size: 14px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.95);
  border: none;
  border-radius: 0;
  width: 100%;
}
.filter-part .dropdown-menu label.filter-name {
  color: #fff;
}
.filter-part .dropdown-menu label input {
  margin-right: 10px;
}
.filter-part .dropdown {
  margin-bottom: 15px;
}
.filter-count-display {
  float: right;
  visibility: visible;
}
.filter-count-hidden {
  float: right;
  visibility: hidden;
}
.padding-right {
  padding-right: 0 !important;
}
button {
  outline: none !important;
  box-shadow: none !important;
}
.progress_monitor .progress-circle-list {
  margin: 25px auto 0 auto;
  display: block;
}
/* Start Ravi CSS 02/17/2022	 */
.tsg-chart .allDownload-wrapper,
.tsg-chart .chart-wrapper {
  max-width: 100%;
}
.tsg-chart .chart-wrapper {
  padding: 0 30px;
}
.tsg-chart .chart-wrapper .box-wrapper-show.capability-maturation-matrix {
  overflow-x: auto;
}
.tsg-chart .chart-wrapper .box-wrapper-show {
  overflow-x: initial;
}
.tsg-chart .chart-wrapper .chart-row {
  margin: 0 -15px 30px;
}
.tsg-chart .chart-wrapper .chart-row .chart-row {
  margin: 0 0 15px;
}
.tsg-chart .chart-wrapper .chart-row > [class*="col-"] {
  padding: 0 15px !important;
}
.tsg-chart .chart-wrapper .chart-row .chart-row > [class*="col-"] {
  padding: 0;
}
.tsg-chart .capability-maturation-matrix {
  margin: 0 auto;
}
.tsg-chart .mobile-row.stability-tracker .box-wrapper-show {
  height: auto;
  margin-bottom: 15px;
}
.tsg-chart .gnAtcS {
  position: static;
  padding: 10px 45px 10px 100px !important;
}
.progress_monitor .title-bg-wrap {
  min-height: 20%;
  font-size: 13px;
}
.tsg-chart .pie-chart-wrapper .pie-chart-blog {
  width: 25%;
  max-width: 25%;
}
.tsg-chart .chart-wrapper .chart-row .chart-row {
  justify-content: center;
}
.tsg-chart .progress-monitor .graph-modal-magnifying {
  float: left;
}
.graph-modal-dialog {
  max-width: 750px;
  min-width: 570px;
  width: 50vw;
}
.tsg-chart .chart-wrapper .local-modal .modal-dialog {
  max-width: 850px;
}
.progress_monitor .progress-row {
  min-height: 475px;
  margin: 0 auto;
}
.modal-body.graph-modal {
  padding: 20px;
}
.stability-tracker .mapDetail span {
  padding-top: 1px;
  line-height: 30px;
}
.tsg-chart .chart-wrapper .information .info-div {
  line-height: normal;
  margin-top: 3px;
  position: relative;
}
.downloadsvg:hover svg,
.tsg-chart .progress-monitor .graph-modal-magnifying:hover svg {
  fill: #ff6f00;
}
.tsg-chart .chart-wrapper .information .info-div .info:hover {
  border: 1px solid #ff6f00;
  color: #ff6f00;
}
.allDownload {
  background: grey;
  padding: 2px 5px;
  width: 180px;
  color: #fff;
  border-radius: 1px;
}
.allDownload:hover {
  background: #ff6f00;
}
.tsg-chart .progress_monitor .progress-row .progress-col {
  width: 16%;
}
.progress-col {
  padding: 0 3px;
}
.tsg-chart .chart-wrapper .chart-row.fullcolumn > [class*="col-"] {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 30px;
}
.tsg-chart .chart-wrapper .chart-row.fullcolumn > [class*="col-"]:last-child {
  margin-bottom: 0;
}
.fullcolumn .progress_monitor .progress-row {
  justify-content: flex-start;
  width: 100% !important;
}
.tsg-chart .chart-wrapper .fullcolumn .box-wrapper-show {
  overflow-x: auto;
}
.tsg-chart .fullcolumn .progress_monitor .progress-row .progress-col {
  width: 10%;
}
.tsg-chart .fullcolumn .pie-chart-wrapper .pie-chart-blog {
  width: 20%;
  max-width: 20%;
}
.tsg-chart .chart-wrapper .fullcolumn .condition-monitor-chart-div {
  max-width: 100%;
}
.fontSize div.boxColor {
  display: inline-block;
  margin: 2px 0 5px;
  border-radius: 0.25em;
}
text > tspan {
  font-size: 12px;
}
.modal-body.graph-modal .row.chart-row > div {
  width: 100%;
}
.bottomdetail .riskDetail {
  padding-left: 0 !important;
}
.bottomdetail .mapDetail {
  margin: 0 !important;
}
@media screen and (min-width: 1141px) {
  .tsg-chart .fullcolumn .progress_monitor .modal-dialog .progress-row .progress-col {
    width: 16%;
  }
  .fullcolumn .progress_monitor .modal-dialog .progress-row {
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 35px;
  }
}
@media screen and (min-width: 1200px) {
  .ChartCenter .progress_monitor .progress-row {
    justify-content: center;
  }
  .ChartCenter .progress_monitor .progress-row.chartScroll {
    justify-content: flex-start;
  }
  .modal-body .bottomdetail {
    padding: 0 15px 0 21%;
  }
}
@media screen and (min-width: 1281px) {
  .bottomdetail {
    padding: 0 15px 0 30.5%;
  }
  .tsg-chart .chart-wrapper .condition-monitor-chart-div {
    width: 100%;
  }
}
@media screen and (min-width: 1366px) {
  .bottomdetail {
    padding: 0 15px 0 29%;
  }
}
@media screen and (min-width: 1440px) {
  .bottomdetail {
    padding: 0 15px 0 27.4%;
  }
}
@media screen and (min-width: 1500px) {
  .bottomdetail {
    padding: 0 15px 0 30.4%;
  }
  .modal-body .bottomdetail {
    padding: 0 15px 0 21%;
  }
  .stability-tracker .box-wrapper-show .col-md-5.mobile-row > div {
    width: 550px;
    margin: 0 auto;
  }
  .mapDetail {
    margin-left: 170px;
    margin-right: 16px;
  }
  .condition-monitor-chart-div {
    margin: 0 auto;
  }
  .progress_monitor .title-bg-wrap {
    min-height: 24%;
    word-break: break-word;
  }
  .progress_monitor .progress-row {
    min-height: 515px;
    justify-content: center;
  }
}
@media screen and (min-width: 1600px) {
  .bottomdetail {
    padding: 0 15px 0 28.4%;
  }
  .modal-body .bottomdetail {
    padding: 0 15px 0 21%;
  }
  .stability-tracker .box-wrapper-show .col-md-5.mobile-row > div {
    width: 590px;
    margin: 0 auto;
  }
  .mapDetail {
    margin-left: 165px;
    margin-right: 16px;
  }
  .condition-monitor-chart-div {
    margin: 0 auto;
  }
}
@media screen and (min-width: 1750px) {
  .bottomdetail {
    padding: 0 15px 0 26%;
  }
  .modal-body .bottomdetail {
    padding: 0 15px 0 21%;
  }
  .stability-tracker .box-wrapper-show .col-md-5.mobile-row > div {
    width: 650px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1846px) {
  .capability-maturation-matrix > div:last-child {
    height: calc(100% - 50px);
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }
}
@media screen and (min-width: 1850px) {
  .bottomdetail {
    padding: 0 19px 0 24.5%;
  }
  .modal-body .bottomdetail {
    padding: 0 15px 0 17%;
  }
  .WOEcenter {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tsg-chart .chart-wrapper .box-wrapper-show .WOEcenter .weight-chart {
    display: block;
  }
  .tsg-chart .pie-chart-wrapper .pie-chart-blog {
    max-width: 230px;
    width: 100%;
  }
  .tsg-chart .chart-wrapper .condition-monitor-chart-div {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
  .tsg-chart .chart-wrapper .box-wrapper-show .weight-chart {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .tsg-chart .chart-wrapper .box-wrapper-show .pie-chart-list {
    display: flex;
    width: 100%;
    max-width: 1200px;
  }
  .tsg-chart .chart-wrapper .condition-monitor-chart-div {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
  .progress_monitor .progress-row,
  .progress_monitor + div .box-wrapper-show .condition-monitor-chart {
    width: 920px;
    margin: 0 auto;
  }
  .stability-tracker .mobile-row.stability-tracker,
  .stability-tracker .stabilityLegend {
    width: 900px;
    margin: 0 auto;
  }
  .stability-tracker .box-wrapper-show .col-md-5.mobile-row > div {
    width: 680px;
    margin: 0 auto;
  }
  .stability-tracker-heat-map-chart-div {
    width: 100%;
  }
  .mapDetail {
    width: auto;
    margin-left: 170px;
    margin-right: 15px;
  }
  .tsg-chart .chart-wrapper .fullcolumn .condition-monitor-chart-div {
    max-width: 100%;
  }
  .tsg-chart .chart-wrapper .local-modal .modal-dialog {
    max-width: 1050px;
  }
}
@media screen and (min-width: 2500px) {
  .bottomdetail {
    padding: 0 15px 0 21%;
  }
  .modal-body .bottomdetail {
    padding: 0 15px 0 13%;
  }
  .tsg-chart .pie-chart-wrapper .pie-chart-blog {
    max-width: 280px;
    width: 100%;
  }
  .tsg-chart .chart-wrapper .condition-monitor-chart-div {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .tsg-chart .chart-wrapper .box-wrapper-show .weight-chart {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .tsg-chart .chart-wrapper .box-wrapper-show .pie-chart-list {
    display: flex;
    width: 100%;
    max-width: 1450px;
  }
  .progress_monitor .progress-row,
  .progress_monitor + div .box-wrapper-show .condition-monitor-chart {
    width: 1120px;
    margin: 0 auto;
  }
  .stability-tracker .mobile-row.stability-tracker,
  .stability-tracker .stabilityLegend {
    width: 1100px;
    margin: 0 auto;
  }
  .stability-tracker .box-wrapper-show .col-md-5.mobile-row > div {
    width: 800px;
  }
  .mapDetail {
    margin-right: 16px;
  }
  .tsg-chart .chart-wrapper .local-modal .modal-dialog {
    max-width: 1350px;
  }
}
@media screen and (min-width: 3050px) {
  .tsg-chart .chart-wrapper .box-wrapper-show .pie-chart-wrapper {
    max-width: 1450px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 3500px) {
  .tsg-chart .allDownload-wrapper,
  .tsg-chart .chart-wrapper {
    max-width: 3300px;
  }
}
@media screen and (max-width: 1845px) {
  .tsg-chart > div > .chart-wrapper > div:nth-child(2) > [class*="col-"] {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .tsg-chart > div > .chart-wrapper > div:nth-child(2) > [class*="col-"]:first-child {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 1799px) {
  .progress_monitor .title-bg-wrap {
    font-size: 12px;
  }
  .progress-col {
    padding: 0 3px;
  }
  text > tspan {
    font-size: 12px;
    width: 50px;
  }
  .tsg-chart .condition-monitor-chart-div {
    margin: 0 auto;
  }
  .mapDetail span {
    font-size: 10px;
  }
  .riskDetail {
    font-size: 10px;
    font-family: Poppins;
  }
  .newfont {
    font-family: Poppins;
  }
}
@media screen and (max-width: 1499px) {
  .tsg-chart .chart-wrapper .stability-tracker .chart-row > [class*="col-"] {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .tsg-chart .stability-tracker .progress-monitor .paddingCss {
    padding-left: 0;
  }
  .tsg-chart .stabilityLegend > .row > .col-md-3 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .tsg-chart .stability-tracker .stabilityLegend > .row > .col-md-6 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .progress_monitor .progress-row {
    margin: 0;
    min-height: 515px;
    justify-content: center;
  }
  .tsg-chart .stability-tracker .stabilityLegend > .row > .col-md-6:last-child .borderLeft {
    border: none;
  }
  .progress_monitor .title-bg-wrap {
    min-height: 23%;
    font-size: 12px;
  }
  .progress_monitor .title-bg-wrap span {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tsg-chart .progress_monitor .progress-col {
    padding: 0 3px;
  }
  .mapDetail {
    margin-left: 168px;
  }
  .mapDetail span {
    font-size: 10px;
  }
  .riskDetail {
    font-size: 10px;
    font-family: Poppins;
  }
  .fullcolumn .progress_monitor .modal-dialog .chartScroll.progress-row {
    padding-bottom: 75px;
    overflow-x: auto;
  }
}
@media screen and (max-width: 1365px) {
  .tsg-chart .chart-wrapper {
    padding: 0 15px;
  }
  .tsg-chart .chart-wrapper .chart-row {
    margin: 0 -15px 15px;
  }
  .tsg-chart .chart-wrapper .chart-row > [class*="col-"] {
    padding: 0 15px !important;
  }
  .tsg-chart .chart-wrapper #weight-of-elements-chart {
    width: 100%;
  }
  .tsg-chart .progress_monitor .title-bg-wrap {
    font-size: 11px;
  }
  .tsg-chart .progress_monitor .progress-col {
    padding: 0 2px;
  }
}
@media screen and (max-width: 1280px) {
  .tsg-chart .chart-wrapper .chart-row {
    margin-bottom: 0;
  }
  .tsg-chart .chart-wrapper .chart-row > [class*="col-"],
  .tsg-chart .chart-wrapper .stability-tracker .chart-row > [class*="col-"] {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
  .tsg-chart .chart-wrapper .box-wrapper-show .condition-monitor-chart-div {
    width: 100%;
  }
  .tsg-chart .stability-tracker .riskDetail,
  .tsg-chart .stability-tracker .progress-monitor .paddingCss {
    padding-left: 0;
  }
  .tsg-chart .stability-tracker .mapDetail {
    float: none;
    justify-content: center;
  }
  .tsg-chart .chart-wrapper .chart-row .chart-row {
    margin: 0;
  }
  .tsg-chart .stabilityLegend > .row > .col-md-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .tsg-chart .stability-tracker .stabilityLegend > .row > .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .tsg-chart .stability-tracker .stabilityLegend > .row > .col-md-6:last-child .borderLeft {
    border-left: 1px solid #000000;
  }
  .progress_monitor .title-bg-wrap {
    min-height: 23%;
  }
}
@media screen and (max-width: 1280px) {
  .bottomdetail {
    padding: 0 16px 0 15%;
  }
}
@media screen and (max-width: 1200px) {
  .bottomdetail {
    padding: 0 16px 0 16%;
  }
}
@media screen and (max-width: 1199px) {
  .modal-body .bottomdetail {
    padding: 0 15px 0 21%;
  }
}
@media screen and (max-width: 1140px) {
  .bottomdetail {
    padding: 0 16px 0 17%;
  }
  .progress_monitor .progress-col .title-bg-wrap {
    min-height: 120px;
  }
}
@media screen and (max-width: 1080px) {
  .bottomdetail {
    padding: 0 16px 0 18%;
  }
}
@media screen and (max-width: 1024px) {
  .bottomdetail {
    padding: 0 16px 0 19%;
  }
}
@media screen and (max-width: 991px) {
  .bottomdetail {
    padding: 0 16px 0 20%;
  }
  .modal-body .bottomdetail {
    padding: 0 15px 0 25%;
  }
  .tsg-chart .chart-wrapper .local-modal .modal-dialog {
    max-width: 720px;
  }
}
@media screen and (max-width: 980px) {
  .tsg-chart .progress_monitor .progress-col {
    width: 16.666667%;
  }
  .weight-chart .pie-chart-blog-bottom span {
    display: block;
    min-height: 38px;
  }
}
@media screen and (max-width: 896px) {
  .bottomdetail {
    padding: 0 16px 0 22.5%;
  }
}
@media screen and (max-width: 812px) {
  .bottomdetail {
    padding: 0 16px 0 25.5%;
  }
}
@media screen and (max-width: 768px) {
  .bottomdetail {
    padding: 0 16px 0 27%;
  }
}
/* End Ravi CSS 02/17/2022	 */
@media (min-width: 360px) and (max-width: 1300px) {
  #weight-of-elements-chart {
    width: 695px;
  }
}
@media (max-width: 1140px) {
  .progress_monitor .progress-col .title-bg-wrap {
    min-height: 23%;
  }
  .tsg-chart .fullcolumn .pie-chart-wrapper .pie-chart-blog {
    width: 25%;
    max-width: 25%;
  }
  .tsg-chart .fullcolumn .progress_monitor .progress-row .progress-col {
    width: 16%;
  }
}
@media (max-width: 991px) {
  .tsg-chart .fullcolumn .pie-chart-wrapper .pie-chart-blog {
    width: 30%;
    max-width: 30%;
  }
  .progress_monitor .progress-col .title-bg-wrap {
    min-height: 23%;
  }
}
@media (max-width: 980px) {
  .mobile-row {
    flex: 0 0 auto;
    width: 100%;
  }
  .progress_monitor .progress-col {
    width: 25%;
  }
}
@media (max-width: 767px) {
  .box-wrapper-show {
    padding: 15px;
  }
  #bubble-chart {
    height: auto;
  }
  .padding-right {
    padding-right: 15px !important;
  }
  .weight-of-element {
    margin-top: 15px;
  }
  .mapDetail {
    display: inherit;
    margin-left: 0px;
  }
}
@media (max-width: 576px) {
  .pie-chart-blog {
    float: left;
    width: 100%;
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 5px 15px;
  }
  .pie-chart-list .pie-chart-blog {
    border: none !important;
  }
  .progress-col {
    width: 50%;
    margin-bottom: 25px;
  }
  .progress-monitor {
    font-size: 20px;
  }
  .stable-component {
    display: flex;
    width: 48%;
  }
  .stable-component:nth-child(2):after {
    display: none;
  }
  .stable-component.stable-component-lg {
    width: 100%;
  }
  .header-main {
    padding: 0px 5% 0;
  }
  .weight-of-element .pie-chart-blog {
    width: 100%;
    flex: 0 0 100%;
  }
  .progress_monitor .progress-col {
    width: 40%;
  }
  .weight-of-element {
    margin-top: 20px;
  }
  .progress_monitor {
    margin-bottom: 20px;
  }
  .mapDetail span {
    width: 56px;
    font-size: 10px;
  }
  .navbar div img {
    max-width: 120px;
    height: auto;
  }
  #user-dropdown {
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .ecmwyl {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 65px;
  }
  #user-dropdown .svg-inline--fa.fa-w-16 {
    width: 0.8em;
  }
  .navbar div img {
    max-width: 102px;
    height: auto;
    vertical-align: middle !important;
  }
}
.information .info-div {
  position: relative;
}
.information .info-div .info {
  display: flow-root;
  width: 22px;
  height: 22px;
  background: transparent;
  text-align: center;
  line-height: 23px;
  color: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  font-size: 13px;
  border: 1px solid #000000;
  color: #000000;
}
.information .info-div .tooltiptext {
  visibility: hidden;
  width: auto;
  min-width: 250px;
  max-width: 500px;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 9;
  top: 100%;
  right: 0;
  font-size: 12px;
  margin-top: 5px;
}
.information .info-div:hover .tooltiptext {
  visibility: visible;
  z-index: 9999;
}
.information-left {
  display: flex;
  position: relative;
  float: left;
}
.information-left .info-div .info {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: transparent;
  text-align: center;
  line-height: 23px;
  color: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  font-size: 13px;
  border: 1px solid #000000;
  color: #000000;
}
.information-left .info-div .tooltiptext {
  visibility: hidden;
  width: auto;
  min-width: 250px;
  max-width: 500px;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 9;
  top: 8px;
  left: 65px;
  padding: 5px 10px;
  font-size: 12px;
}
.information-left .info-div:hover .tooltiptext {
  visibility: visible;
  z-index: 9999;
}
.progress-monitor .graph-modal-magnifying {
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background-color: white;
  margin: 0 5px;
}
.progress-monitor-chart .graph-modal-magnifying {
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background-color: white;
}
.progress-monitor .graph-modal-scroll {
  border: none;
  background: transparent;
}
.progress-monitor .graph-modal-scroll-stability {
  border: none;
  background: transparent;
  float: left;
}
.progress-monitor .chart-title-Intervention {
  margin-left: 0rem;
  font-family: Poppins;
}
.progress-monitor .chart-title {
  margin-left: 1rem;
  font-family: Poppins;
}
.progress-monitor .chart-title-load {
  margin-left: 0px;
  font-family: Poppins;
}
.progress-monitor-chart .label-progress-monitor .chart-title {
  margin-left: 1rem;
  font-family: Poppins;
}
.graph-modal img {
  max-width: 100%;
  width: 100%;
}
/*jyoti css start here*/
.downloadsvg {
  border: none;
  border-radius: 50%;
  background-color: white;
  float: left;
}
.downloadsvg svg {
  max-width: 30px;
  max-height: 30px;
}
#logo-div img {
  max-width: 120px;
  height: auto;
  width: auto;
}
.allDownload {
  border: none;
  margin-left: 15px;
  margin-top: 15px;
}
.toggleSwitch {
  display: inline-block !important;
  margin-left: 10px;
}
.toggleSwitch-label {
  display: inline-block !important;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  vertical-align: middle;
}
.form-check.form-switch {
  padding-left: 2.5em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.form-check-input {
  width: 32px !important;
  height: 18px !important;
  margin-left: -2.5em;
  margin-top: 0;
  background-color: #fff !important;
  border: 1px solid black !important;
  border-radius: 2em !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.15s ease-in-out;
  position: relative;
}
.form-check-input:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: black;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.form-check-input:checked {
  background-color: #fa6f02 !important;
  border: none !important;
  background-image: none !important;
}
.form-check-input:checked:before {
  transform: translate(14px, -50%);
  background: white;
  border: none;
}
.form-check-input:focus {
  box-shadow: none !important;
  border: 1px solid black !important;
}
.form-check-input:checked:focus {
  border: none !important;
}
.paddingCss {
  padding-left: 17%;
  font-family: Poppins;
}
.allDownload-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  text-align: right;
  width: 100%;
  margin-bottom: 6px;
}
.resource-banner {
  padding: 2rem 1rem 2rem 0.75rem;
  min-height: unset;
  height: auto;
}
.resource-banner-wrap {
  padding: 2rem 1rem 2rem 0.75rem;
  min-height: unset !important;
}
.stabilityLegend {
  font-size: 13px;
}
.boxColor {
  height: 15px;
  width: 15px;
  margin: 0 auto;
}
.Initiated {
  background-color: #9BBA57;
}
.fontSize {
  font-size: 11px;
  font-family: Poppins;
}
.borderLeft {
  border-left: 1px solid #000000;
  height: 100%;
}
.legendLabelDisabled {
  opacity: 0.5;
}
.legendDisabled {
  background-color: #999999 !important;
}
.Completed {
  background-color: #F47720;
}
.not_initiated {
  background-color: #A6A6A6;
}
.Delayed {
  background-color: #1D4A7C;
}
.some_issues {
  background-color: #DCE8F2;
}
.serious_issues {
  background-color: #528BBE;
}
.Abandoned {
  background-color: #091118;
}
.riskDetail {
  font-size: 11px;
  text-align: center;
  margin-bottom: 10px;
  padding-left: 29%;
}
.mapDetail span {
  font-size: 11px;
}
.formatSet {
  align-items: center;
  justify-content: center;
}
.conditional_margin {
  padding: 0 30px 0 60px;
  text-align: center;
  position: relative;
  bottom: -12px;
}
.left {
  text-align: center;
  font-size: 12px;
  font-family: Poppins;
}
.right {
  text-align: center;
  font-size: 12px;
  font-family: Poppins;
}
@media (min-width: 767px) {
  .formatSet {
    height: 100px;
  }
}
.graph-chart-title {
  margin-left: 1rem;
  font-family: Poppins;
}
.tsg-chart .pie-chart-wrapper .pie-chart-blog {
  padding-bottom: 30px;
}
.pie-chart-blog-bottom .intervention-count {
  position: absolute;
  bottom: 0;
  left: 10px;
  margin: 0;
  line-height: 30px;
}

.table-display-txt {
  font-size: 0.9rem;
}
.table-display-txt-bold {
  font-size: 0.9rem;
  font-weight: 600;
}
.LargeText {
  max-width: 400px;
  width: 400px;
  min-width: 400px;
  max-height: 150px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
}
.MedText {
  max-width: 300px;
  width: 300px;
  min-width: 300px;
  max-height: 150px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
}
.SmallText {
  max-width: 200px;
  width: 200px;
  min-width: 200px;
  max-height: 150px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
}
.SmallishText {
  max-width: 150px;
  width: 150px;
  min-width: 150px;
  max-height: 150px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
}
.XSmallText {
  max-width: 125px;
  width: 125px;
  min-width: 125px;
  max-height: 150px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
}
.header-font {
  text-transform: uppercase;
  font-size: 0.75rem !important;
  font-weight: bold;
  color: #555;
}
.header-buffer {
  font-size: 0.9rem;
  max-width: 183.5px;
  width: 183.5px;
  min-width: 183.5px;
  overflow: hidden;
  max-height: 150px;
}
.modal-error-warning {
  color: #d23f31;
  font-size: 0.9rem;
}
.orange-header {
  color: #fb8e2d;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}
.blue-header {
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}
.basic-text {
  width: 100%;
  font-size: 0.9rem;
}
.extra-loader {
  margin-left: 130px !important;
}
.invalid-lbl {
  color: #dc3545;
}
.kpi-row:HOVER {
  background: #f5f5f5;
}
.grippy:HOVER {
  color: #fb8e2d;
}
.processmap-editor-auto-menu {
  width: 100%;
  position: absolute;
  z-index: 99999;
  background: #fff;
  max-height: 200px;
  overflow: auto;
}
.font-big {
  font-size: 1.7rem;
}
.process-map-task.list-group-item {
  padding: 0.75rem 0.25rem 0.75rem 2.2rem;
}
.process-phase-wrapper {
  width: 25px;
  max-width: 25px;
  margin-top: 8px;
}

.btn-danger {
  background: transparent;
  border: none;
  color: #dc3545;
}
.btn-danger:hover {
  background: transparent;
  border: none;
  color: #c82333;
}
.btn-danger:disabled {
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.prompt-builder-container {
  display: flex;
  height: 100vh;
  background: #ffffff;
}
.main-content {
  flex: 1;
  margin-left: 70px;
  padding: 36px;
  padding-bottom: calc(36px + 76px);
  overflow-y: auto;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.main-content::-webkit-scrollbar {
  display: none;
}
.main-content .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.header .title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header .title-section h1 {
  margin: 0;
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24.3px;
  letter-spacing: -0.01em;
  color: #162A3B;
}
.header .title-section .status-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 4px 12px;
  border-radius: 4px;
  background: #F7F7F7;
  color: #97A0AC;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  min-width: 54px;
  justify-content: center;
}
.header .title-section .version-tag {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0;
  color: #97A0AC;
}
.header .actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header .actions .btn {
  display: inline-flex;
  align-items: center;
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0;
  height: 38px;
}
.header .actions .btn.btn-icon {
  gap: 6px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  padding: 8px 16px;
}
.header .actions .btn.btn-icon img {
  width: 18px;
  height: 18px;
}
.header .actions .btn.btn-icon:first-child {
  width: 127px;
  color: #162A3B;
}
.header .actions .btn.btn-icon.text-danger {
  width: 105px;
  color: #E70000;
}
.header .actions .btn.btn-secondary {
  width: 110px;
  background: #F5F5F5;
  color: #162A3B;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  gap: 10px;
}
.header .actions .btn.btn-primary {
  min-width: 87px;
  background: #1D4A7C;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  gap: 10px;
  justify-content: center;
}
.divider {
  height: 1px;
  align-self: stretch;
  background: #DDDDDD;
  margin: 0;
  margin-bottom: 36px;
}
.builder-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}
.builder-tabs .tab {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: #F7F7F7;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  transition: all 0.2s ease;
}
.builder-tabs .tab:hover {
  color: #1D4A7C;
}
.builder-tabs .tab.active {
  background: rgba(29, 74, 124, 0.1);
  color: #1D4A7C;
  box-shadow: none;
}
.form-section {
  background: white;
}
.form-section .section-title {
  align-self: stretch;
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 16px;
}
.form-section .form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
.form-section .form-group {
  margin-bottom: 1.5rem;
}
.form-section .form-group.half-width {
  width: 50%;
}
.form-section .form-group label {
  display: block;
  align-self: stretch;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.225rem;
  margin-bottom: 0.5rem;
}
.form-section .form-group .select-wrapper {
  position: relative;
}
.form-section .form-group .select-wrapper select.form-control {
  display: flex;
  padding: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.625rem;
  align-self: stretch;
  border-radius: 0.375rem;
  border: 1px solid #DDD;
  width: 100%;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.225rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.875rem;
  background-color: #FFFFFF;
}
.form-section .form-group .select-wrapper select.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.225rem;
}
.form-section .form-group .select-wrapper .select-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #97A0AC;
}
.form-section .form-group input.form-control {
  display: flex;
  padding: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.625rem;
  align-self: stretch;
  border-radius: 0.375rem;
  border: 1px solid #DDD;
  width: 100%;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.225rem;
}
.form-section .form-group input.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.225rem;
}
.form-section .form-group textarea.form-control {
  display: flex;
  height: 120px;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #DDD;
  width: 100%;
  resize: none;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  line-height: 19.6px;
}
.form-section .form-group textarea.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}
.form-section .form-group .btn-add-variable {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  background: rgba(29, 74, 124, 0.1);
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.form-section .form-group .btn-add-variable i {
  font-size: 16px;
  color: #1D4A7C;
}
.form-section .form-group .btn-add-variable:hover {
  background: rgba(29, 74, 124, 0.15);
}
.form-section .available-variables {
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-section .available-variables label {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
  display: flex;
  align-items: center;
}
.form-section .available-variables .variable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.form-section .available-variables .variable-tags .variable-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  height: 28px;
  background: #F7F7F7;
  border-radius: 6px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  margin: 0;
}
.form-section .template-header {
  margin-bottom: 36px;
}
.form-section .template-header h1 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32.4px;
  margin: 0 0 8px 0;
}
.form-section .template-header .description {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.6px;
  margin: 0 0 8px 0;
}
.form-section .template-header .subtitle {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  margin: 0;
}
.form-section .user-input-section .input-field-row {
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-header h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.6px;
  margin: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .required-tag {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label {
  background-color: #1D4A7C;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label:before {
  transform: translateX(16px);
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #DDD;
  transition: 0.4s;
  border-radius: 20px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.form-section .user-input-section .input-field-row .field-config {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-config .input-type {
  flex: 2;
}
.form-section .user-input-section .input-field-row .field-config .character-limit {
  flex: 1;
}
.form-section .user-input-section .input-field-row .field-config label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  margin-bottom: 8px;
}
.form-section .user-input-section .input-field-row .field-config select.form-control,
.form-section .user-input-section .input-field-row .field-config input.form-control {
  width: 100%;
  height: 44px;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: #FFFFFF;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F7F7F7;
  border: none;
  border-radius: 6px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map i {
  font-size: 14px;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map:hover {
  background: rgba(29, 74, 124, 0.1);
}
.knowledge-sources .source-item {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.knowledge-sources .source-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #97A0AC;
  background: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.knowledge-sources .source-item input[type="checkbox"]:checked {
  background: #1D4A7C;
  border-color: #1D4A7C;
}
.knowledge-sources .source-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.knowledge-sources .source-item input[type="checkbox"]:not(:checked) {
  background: #FFFFFF;
  border: 1px solid #97A0AC;
}
.knowledge-sources .source-item label {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.knowledge-sources .source-item label .knowledge-source-title {
  align-self: stretch;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.knowledge-sources .source-item label .knowledge-source-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}
.knowledge-sources .source-item:last-child {
  margin-bottom: 0;
}
.settings-sidebar {
  width: 320px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid #DDDDDD;
  padding: 24px;
  padding-bottom: calc(24px + 76px);
  overflow-y: auto;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.settings-sidebar::-webkit-scrollbar {
  display: none;
}
.settings-sidebar .settings-section {
  margin-bottom: 32px;
}
.settings-sidebar .settings-section h3 {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin: 0 0 16px 0;
}
.settings-sidebar .settings-section h4 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.settings-sidebar .settings-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.settings-sidebar .settings-section .section-header h4 {
  margin: 0;
}
.settings-sidebar .settings-section .section-header .btn-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  height: 24px;
}
.settings-sidebar .settings-section .section-header .btn-add img {
  width: 24px;
  height: 24px;
}
.settings-sidebar .settings-section .section-header .btn-add:hover {
  opacity: 0.8;
}
.settings-sidebar .settings-section .dropdown-container {
  position: relative;
  width: 100%;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown {
  width: 100%;
  padding: 8px 12px;
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  color: #162A3B;
  appearance: none;
  cursor: pointer;
  outline: none;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown:hover {
  border-color: #D1D5DB;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown:focus {
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.1);
}
.settings-sidebar .settings-section .dropdown-container .dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.settings-sidebar .settings-section .dropdown-container .dropdown-arrow svg {
  display: block;
}
.settings-sidebar .access-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.14px;
  margin: 0 0 8px 0;
}
.settings-sidebar .access-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-sidebar .access-controls .checkbox-item {
  padding: 6px 0 6px 4px;
  border-radius: 6px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"] {
  accent-color: #1D4A7C;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 4px;
  border: 1.5px solid #B0B6BE;
  background: #fff;
  transition: border 0.2s;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"]:checked {
  border: 1.5px solid #1D4A7C;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"]:disabled {
  accent-color: #B0B6BE;
  background: #F5F5F5;
}
.settings-sidebar .access-controls .checkbox-item span {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.12px;
  transition: color 0.15s;
}
input[type="checkbox"]:checked + .settings-sidebar .access-controls .checkbox-item span {
  color: #1D4A7C;
}
input[type="checkbox"][disabled] + .settings-sidebar .access-controls .checkbox-item span {
  color: #B0B6BE;
}
.settings-sidebar .categories-list .category-item {
  display: flex;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.settings-sidebar .categories-list .category-item span {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.settings-sidebar .categories-list .category-item .category-actions {
  display: flex;
  gap: 4px;
}
.settings-sidebar .categories-list .category-item .category-actions .btn-icon {
  padding: 4px;
  color: #97A0AC;
}
.settings-sidebar .categories-list .category-item .category-actions .btn-icon:hover {
  color: #162A3B;
}
.settings-sidebar .version-history .version-item {
  display: flex;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.settings-sidebar .version-history .version-item .version-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-sidebar .version-history .version-item .version-info .version-header .version-number {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.settings-sidebar .version-history .version-item .version-info .version-header .version-label {
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background-color: rgba(29, 74, 124, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-label.draft {
  background-color: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}
.settings-sidebar .version-history .version-item .version-info .version-label.current-draft {
  background-color: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
  margin-left: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-label:contains("Current") {
  background-color: #f6ffed !important;
  color: #52c41a !important;
  border: 1px solid #b7eb8f !important;
  margin-left: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8EDF3;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info .name {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.14px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .time {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.settings-sidebar .version-history .version-item .version-actions {
  position: relative;
}
.settings-sidebar .version-history .version-item .version-actions .btn-more {
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
.settings-sidebar .version-history .version-item .version-actions .btn-more:hover {
  background: rgba(0, 0, 0, 0.05);
}
.settings-sidebar .version-history .version-item .version-actions .btn-more img {
  width: 16px;
  height: 16px;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown .dropdown-item:hover {
  background: #F7F7F7;
}
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-radius: 50%;
  border-top-color: currentColor;
  border-left-color: currentColor;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn.btn-secondary,
.btn.btn-primary {
  position: relative;
}
.btn.btn-secondary .loading-spinner,
.btn.btn-primary .loading-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn.btn-secondary:disabled,
.btn.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn.btn-secondary:disabled:has(.loading-spinner) > span,
.btn.btn-primary:disabled:has(.loading-spinner) > span,
.btn.btn-secondary:disabled:has(.loading-spinner) > div:not(.loading-spinner),
.btn.btn-primary:disabled:has(.loading-spinner) > div:not(.loading-spinner) {
  visibility: hidden;
}
.btn.btn-secondary .loading-spinner {
  border: 2px solid transparent;
  border-top-color: #162A3B;
  border-left-color: #162A3B;
}
.btn.btn-primary .loading-spinner {
  border: 2px solid transparent;
  border-top-color: #FFFFFF;
  border-left-color: #FFFFFF;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-overlay .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(29, 74, 124, 0.1);
  border-radius: 50%;
  border-top-color: #1D4A7C;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 16px;
}
.loading-overlay .loading-text {
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.password-section .password-status-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background-color: #FFF5F5;
  border: 1px solid #FFCCCC;
  border-radius: 6px;
  margin-bottom: 16px;
}
.password-section .password-status-banner .status-icon {
  color: #E70000;
  font-size: 16px;
}
.password-section .password-status-banner .status-text {
  color: #991B1B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.password-section .password-management {
  padding: 12px;
  background-color: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  margin-bottom: 12px;
}
.password-section .password-management .password-management-title {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 12px 0;
}
.password-section .password-management .password-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.password-section .password-reset-flow .password-warning-banner {
  padding: 12px;
  background-color: #FFF4E6;
  border: 1px solid #FFD699;
  border-radius: 6px;
  margin-bottom: 12px;
}
.password-section .password-reset-flow .password-warning-banner span {
  color: #92400E;
  font-family: "General Sans", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.password-section .password-reset-flow .password-reset-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.password-section .form-group {
  margin-top: 12px;
}
.password-section .form-group .form-label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.password-section .form-group .form-label .required {
  color: #E70000;
  margin-left: 4px;
}
.password-section .form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  color: #162A3B;
  background: #F8F9FA;
  transition: border-color 0.2s;
}
.password-section .form-group .form-control::placeholder {
  color: #97A0AC;
}
.password-section .form-group .form-control:focus {
  outline: none;
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.1);
}
.password-section .form-group .form-control.error {
  border-color: #E70000;
}
.password-section .form-group .error-text {
  color: #E70000;
  font-family: "General Sans", sans-serif;
  font-size: 12px;
  margin-top: 4px;
}
.password-section .btn-password-change {
  padding: 6px 12px;
  background: #1D4A7C;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-change:hover {
  background: #163A5C;
}
.password-section .btn-password-forgot {
  padding: 6px 12px;
  background: #FFFFFF;
  color: #E70000;
  border: 1px solid #E70000;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.password-section .btn-password-forgot:hover {
  background: #FFF5F5;
}
.password-section .btn-password-cancel {
  padding: 6px 12px;
  background: #FFFFFF;
  color: #162A3B;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-cancel:hover {
  background: #F8F9FA;
}
.password-section .btn-password-reset {
  padding: 6px 12px;
  background: #E70000;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-reset:hover:not(:disabled) {
  background: #CC0000;
}
.password-section .btn-password-reset:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.password-section .password-info-banner {
  margin-top: 12px;
  padding: 12px;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
}
.password-section .password-info-banner p {
  margin: 0;
  color: #1E40AF;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.password-section .password-info-banner p strong {
  font-weight: 500;
}
.token-config .form-group {
  margin-bottom: 12px;
}
.token-config .form-group .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}
.token-config .form-group .form-label .optional {
  color: #9CA3AF;
  font-weight: 400;
}
.token-config .form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.token-config .form-group .form-control:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.token-config .form-group .form-control::placeholder {
  color: #9CA3AF;
}
.token-config .form-group .help-text {
  margin-top: 6px;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
}
.token-config .btn-reset-tokens {
  padding: 6px 12px;
  font-size: 13px;
  color: #DC2626;
  background: transparent;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.token-config .btn-reset-tokens:hover {
  background: #FEE2E2;
  border-color: #DC2626;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay .modal-content {
  background: white;
  border-radius: 12px;
  width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.modal-overlay .modal-content .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 20px 24px;
  gap: 12px;
  background: #F2F2F2;
  margin-bottom: 24px;
  width: 100%;
}
.modal-overlay .modal-content .modal-header h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.modal-overlay .modal-content .modal-header .btn-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.modal-overlay .modal-content .form-content {
  padding: 0 24px 24px 24px;
}
.modal-overlay .modal-content .variable-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-overlay .modal-content .variable-row .form-group {
  flex: 1;
}
.modal-overlay .modal-content .variable-row .form-group label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.modal-overlay .modal-content .variable-row .form-group label .required {
  color: #97A0AC;
}
.modal-overlay .modal-content .variable-row .form-group .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
}
.modal-overlay .modal-content .variable-row .form-group .form-control::placeholder {
  color: #97A0AC;
}
.modal-overlay .modal-content .btn-add-variable {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 38px;
  padding: 8px 16px;
  gap: 4px;
  background: #1D4A7C1A;
  border: none;
  border-radius: 6px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0;
  cursor: pointer;
  margin-bottom: 24px;
  white-space: nowrap;
}
.modal-overlay .modal-content .btn-add-variable img {
  width: 24px;
  height: 24px;
}
.modal-overlay .modal-content .modal-footer {
  display: flex;
  justify-content: flex-end;
}
.modal-overlay .modal-content .modal-footer .btn-submit {
  width: 562px;
  height: 42px;
  padding: 10px 12px;
  gap: 12px;
  background: #DD6A1B;
  border: none;
  border-radius: 6px;
  color: white;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-overlay .modal-content .modal-footer .btn-submit:hover:not(:disabled) {
  background: #c65f18;
}
.modal-overlay .modal-content .modal-footer .btn-submit:disabled {
  background: #97A0AC;
  cursor: not-allowed;
}
.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.select-wrapper .select-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
}
.select-wrapper select {
  appearance: none;
  padding-right: 30px;
  width: 100%;
}

.category-modal.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.category-modal .modal-content {
  background: #FFFFFF;
  border-radius: 8px;
  width: 400px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.category-modal .modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #DDDDDD;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-modal .modal-header h3 {
  margin: 0;
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.category-modal .modal-header .btn-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-modal .modal-header .btn-close:hover {
  background: #F5F5F5;
  border-radius: 4px;
}
.category-modal .modal-header .btn-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.category-modal .modal-header .btn-close:disabled:hover {
  background: none;
}
.category-modal .modal-header .btn-close img {
  width: 16px;
  height: 16px;
}
.category-modal form {
  padding: 24px;
}
.category-modal form .form-group {
  margin-bottom: 24px;
}
.category-modal form .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.category-modal form .form-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  color: #162A3B;
}
.category-modal form .form-group input:focus {
  outline: none;
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.2);
}
.category-modal form .form-group input:disabled {
  background: #F5F5F5;
  cursor: not-allowed;
}
.category-modal form .form-group input::placeholder {
  color: #97A0AC;
}
.category-modal form .form-group .error-message {
  margin-top: 8px;
  color: #E70000;
  font-family: 'General Sans', sans-serif;
  font-size: 12px;
}
.category-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.category-modal .modal-footer button {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.category-modal .modal-footer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.category-modal .modal-footer button:disabled:hover {
  background: inherit;
}
.category-modal .modal-footer button.btn-cancel {
  background: #F5F5F5;
  border: none;
  color: #162A3B;
}
.category-modal .modal-footer button.btn-cancel:hover:not(:disabled) {
  background: #e8e8e8;
}
.category-modal .modal-footer button.btn-save {
  background: #1D4A7C;
  border: none;
  color: #FFFFFF;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-modal .modal-footer button.btn-save:hover:not(:disabled) {
  background: #183e67;
}
.category-modal .modal-footer button.btn-save .loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.confirmation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.confirmation-modal {
  background: #FFFFFF;
  border-radius: 8px;
  width: 400px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.confirmation-modal .modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #DDDDDD;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.confirmation-modal .modal-header h3 {
  margin: 0;
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.confirmation-modal .modal-header .btn-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirmation-modal .modal-header .btn-close:hover {
  background: #F5F5F5;
  border-radius: 4px;
}
.confirmation-modal .modal-header .btn-close img {
  width: 16px;
  height: 16px;
}
.confirmation-modal .modal-content {
  padding: 24px;
}
.confirmation-modal .modal-content p {
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.confirmation-modal .modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #DDDDDD;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.confirmation-modal .modal-footer .btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirmation-modal .modal-footer .btn.btn-secondary {
  background: #F5F5F5;
  border: none;
  color: #162A3B;
}
.confirmation-modal .modal-footer .btn.btn-secondary:hover {
  background: #e8e8e8;
}
.confirmation-modal .modal-footer .btn.btn-danger {
  background: #E70000;
  border: none;
  color: #FFFFFF;
}
.confirmation-modal .modal-footer .btn.btn-danger:hover {
  background: #ce0000;
}
.confirmation-modal .modal-footer .btn.btn-warning {
  background: #DD6A1B;
  border: none;
  color: #FFFFFF;
}
.confirmation-modal .modal-footer .btn.btn-warning:hover {
  background: #c65f18;
}
.confirmation-modal .modal-footer .btn.btn-info {
  background: #1D4A7C;
  border: none;
  color: #FFFFFF;
}
.confirmation-modal .modal-footer .btn.btn-info:hover {
  background: #183e67;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.edit-variable-modal {
  width: 450px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.edit-variable-modal .modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #EBEDF0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.edit-variable-modal .modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #2C2F33;
}
.edit-variable-modal .modal-header .btn-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edit-variable-modal .modal-header .btn-close:hover {
  background-color: #f8f9fa;
  border-radius: 4px;
}
.edit-variable-modal .form-content {
  padding: 20px;
}
.edit-variable-modal .form-content .form-group {
  margin-bottom: 16px;
}
.edit-variable-modal .form-content .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2C2F33;
}
.edit-variable-modal .form-content .form-group label .required {
  color: #ED6A5A;
  margin-left: 4px;
}
.edit-variable-modal .form-content .form-group input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #DFE3E8;
  border-radius: 4px;
  font-size: 14px;
}
.edit-variable-modal .form-content .form-group input[type="text"]:focus {
  outline: none;
  border-color: #DD6B20;
  box-shadow: 0 0 0 3px rgba(221, 107, 32, 0.1);
}
.edit-variable-modal .form-content .form-group .radio-group {
  display: flex;
  gap: 20px;
}
.edit-variable-modal .form-content .form-group .radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.edit-variable-modal .form-content .form-group .radio-group label input[type="radio"] {
  margin-right: 8px;
}
.edit-variable-modal .form-content .delete-warning {
  background-color: #FEF2F2;
  border-left: 4px solid #EF4444;
  padding: 12px 16px;
  margin-bottom: 16px;
  color: #B91C1C;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.edit-variable-modal .form-content .delete-confirm {
  font-weight: 500;
  font-size: 16px;
  color: #2C2F33;
  margin-bottom: 20px;
}
.edit-variable-modal .form-content .modal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}
.edit-variable-modal .form-content .modal-footer button {
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
  border: none;
  transition: all 0.2s ease;
}
.edit-variable-modal .form-content .modal-footer .btn-delete {
  background-color: #FEF2F2;
  color: #EF4444;
}
.edit-variable-modal .form-content .modal-footer .btn-delete:hover {
  background-color: #FEE2E2;
}
.edit-variable-modal .form-content .modal-footer .btn-cancel {
  background-color: #F8F9FA;
  color: #6C737F;
}
.edit-variable-modal .form-content .modal-footer .btn-cancel:hover {
  background-color: #EBEDF0;
}
.edit-variable-modal .form-content .modal-footer .btn-save {
  background-color: #DD6B20;
  color: white;
}
.edit-variable-modal .form-content .modal-footer .btn-save:hover {
  background-color: #C05621;
}
.edit-variable-modal .form-content .modal-footer .btn-save:disabled {
  background-color: #EBEDF0;
  color: #9CA3AF;
  cursor: not-allowed;
}

.prompt-builder-container {
  display: flex;
  height: 100vh;
  background: #ffffff;
}
.main-content {
  flex: 1;
  margin-left: 70px;
  padding: 36px;
  padding-bottom: calc(36px + 76px);
  overflow-y: auto;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.main-content::-webkit-scrollbar {
  display: none;
}
.main-content .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.header .title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header .title-section h1 {
  margin: 0;
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24.3px;
  letter-spacing: -0.01em;
  color: #162A3B;
}
.header .title-section .status-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 4px 12px;
  border-radius: 4px;
  background: #F7F7F7;
  color: #97A0AC;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  min-width: 54px;
  justify-content: center;
}
.header .title-section .version-tag {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0;
  color: #97A0AC;
}
.header .actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header .actions .btn {
  display: inline-flex;
  align-items: center;
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0;
  height: 38px;
}
.header .actions .btn.btn-icon {
  gap: 6px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  padding: 8px 16px;
}
.header .actions .btn.btn-icon img {
  width: 18px;
  height: 18px;
}
.header .actions .btn.btn-icon:first-child {
  width: 127px;
  color: #162A3B;
}
.header .actions .btn.btn-icon.text-danger {
  width: 105px;
  color: #E70000;
}
.header .actions .btn.btn-secondary {
  width: 110px;
  background: #F5F5F5;
  color: #162A3B;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  gap: 10px;
}
.header .actions .btn.btn-primary {
  min-width: 87px;
  background: #1D4A7C;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  gap: 10px;
  justify-content: center;
}
.divider {
  height: 1px;
  align-self: stretch;
  background: #DDDDDD;
  margin: 0;
  margin-bottom: 36px;
}
.builder-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}
.builder-tabs .tab {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: #F7F7F7;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  transition: all 0.2s ease;
}
.builder-tabs .tab:hover {
  color: #1D4A7C;
}
.builder-tabs .tab.active {
  background: rgba(29, 74, 124, 0.1);
  color: #1D4A7C;
  box-shadow: none;
}
.form-section {
  background: white;
}
.form-section .section-title {
  align-self: stretch;
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 16px;
}
.form-section .form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
.form-section .form-group {
  margin-bottom: 1.5rem;
}
.form-section .form-group.half-width {
  width: 50%;
}
.form-section .form-group label {
  display: block;
  align-self: stretch;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.225rem;
  margin-bottom: 0.5rem;
}
.form-section .form-group .select-wrapper {
  position: relative;
}
.form-section .form-group .select-wrapper select.form-control {
  display: flex;
  padding: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.625rem;
  align-self: stretch;
  border-radius: 0.375rem;
  border: 1px solid #DDD;
  width: 100%;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.225rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.875rem;
  background-color: #FFFFFF;
}
.form-section .form-group .select-wrapper select.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.225rem;
}
.form-section .form-group .select-wrapper .select-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #97A0AC;
}
.form-section .form-group input.form-control {
  display: flex;
  padding: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.625rem;
  align-self: stretch;
  border-radius: 0.375rem;
  border: 1px solid #DDD;
  width: 100%;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.225rem;
}
.form-section .form-group input.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.225rem;
}
.form-section .form-group textarea.form-control {
  display: flex;
  height: 120px;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #DDD;
  width: 100%;
  resize: none;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  line-height: 19.6px;
}
.form-section .form-group textarea.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}
.form-section .form-group .btn-add-variable {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  background: rgba(29, 74, 124, 0.1);
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.form-section .form-group .btn-add-variable i {
  font-size: 16px;
  color: #1D4A7C;
}
.form-section .form-group .btn-add-variable:hover {
  background: rgba(29, 74, 124, 0.15);
}
.form-section .available-variables {
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-section .available-variables label {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
  display: flex;
  align-items: center;
}
.form-section .available-variables .variable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.form-section .available-variables .variable-tags .variable-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  height: 28px;
  background: #F7F7F7;
  border-radius: 6px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  margin: 0;
}
.form-section .template-header {
  margin-bottom: 36px;
}
.form-section .template-header h1 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32.4px;
  margin: 0 0 8px 0;
}
.form-section .template-header .description {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.6px;
  margin: 0 0 8px 0;
}
.form-section .template-header .subtitle {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  margin: 0;
}
.form-section .user-input-section .input-field-row {
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-header h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.6px;
  margin: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .required-tag {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label {
  background-color: #1D4A7C;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label:before {
  transform: translateX(16px);
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #DDD;
  transition: 0.4s;
  border-radius: 20px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.form-section .user-input-section .input-field-row .field-config {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-config .input-type {
  flex: 2;
}
.form-section .user-input-section .input-field-row .field-config .character-limit {
  flex: 1;
}
.form-section .user-input-section .input-field-row .field-config label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  margin-bottom: 8px;
}
.form-section .user-input-section .input-field-row .field-config select.form-control,
.form-section .user-input-section .input-field-row .field-config input.form-control {
  width: 100%;
  height: 44px;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: #FFFFFF;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F7F7F7;
  border: none;
  border-radius: 6px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map i {
  font-size: 14px;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map:hover {
  background: rgba(29, 74, 124, 0.1);
}
.knowledge-sources .source-item {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.knowledge-sources .source-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #97A0AC;
  background: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.knowledge-sources .source-item input[type="checkbox"]:checked {
  background: #1D4A7C;
  border-color: #1D4A7C;
}
.knowledge-sources .source-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.knowledge-sources .source-item input[type="checkbox"]:not(:checked) {
  background: #FFFFFF;
  border: 1px solid #97A0AC;
}
.knowledge-sources .source-item label {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.knowledge-sources .source-item label .knowledge-source-title {
  align-self: stretch;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.knowledge-sources .source-item label .knowledge-source-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}
.knowledge-sources .source-item:last-child {
  margin-bottom: 0;
}
.settings-sidebar {
  width: 320px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid #DDDDDD;
  padding: 24px;
  padding-bottom: calc(24px + 76px);
  overflow-y: auto;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.settings-sidebar::-webkit-scrollbar {
  display: none;
}
.settings-sidebar .settings-section {
  margin-bottom: 32px;
}
.settings-sidebar .settings-section h3 {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin: 0 0 16px 0;
}
.settings-sidebar .settings-section h4 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.settings-sidebar .settings-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.settings-sidebar .settings-section .section-header h4 {
  margin: 0;
}
.settings-sidebar .settings-section .section-header .btn-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  height: 24px;
}
.settings-sidebar .settings-section .section-header .btn-add img {
  width: 24px;
  height: 24px;
}
.settings-sidebar .settings-section .section-header .btn-add:hover {
  opacity: 0.8;
}
.settings-sidebar .settings-section .dropdown-container {
  position: relative;
  width: 100%;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown {
  width: 100%;
  padding: 8px 12px;
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  color: #162A3B;
  appearance: none;
  cursor: pointer;
  outline: none;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown:hover {
  border-color: #D1D5DB;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown:focus {
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.1);
}
.settings-sidebar .settings-section .dropdown-container .dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.settings-sidebar .settings-section .dropdown-container .dropdown-arrow svg {
  display: block;
}
.settings-sidebar .access-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.14px;
  margin: 0 0 8px 0;
}
.settings-sidebar .access-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-sidebar .access-controls .checkbox-item {
  padding: 6px 0 6px 4px;
  border-radius: 6px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"] {
  accent-color: #1D4A7C;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 4px;
  border: 1.5px solid #B0B6BE;
  background: #fff;
  transition: border 0.2s;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"]:checked {
  border: 1.5px solid #1D4A7C;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"]:disabled {
  accent-color: #B0B6BE;
  background: #F5F5F5;
}
.settings-sidebar .access-controls .checkbox-item span {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.12px;
  transition: color 0.15s;
}
input[type="checkbox"]:checked + .settings-sidebar .access-controls .checkbox-item span {
  color: #1D4A7C;
}
input[type="checkbox"][disabled] + .settings-sidebar .access-controls .checkbox-item span {
  color: #B0B6BE;
}
.settings-sidebar .categories-list .category-item {
  display: flex;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.settings-sidebar .categories-list .category-item span {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.settings-sidebar .categories-list .category-item .category-actions {
  display: flex;
  gap: 4px;
}
.settings-sidebar .categories-list .category-item .category-actions .btn-icon {
  padding: 4px;
  color: #97A0AC;
}
.settings-sidebar .categories-list .category-item .category-actions .btn-icon:hover {
  color: #162A3B;
}
.settings-sidebar .version-history .version-item {
  display: flex;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.settings-sidebar .version-history .version-item .version-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-sidebar .version-history .version-item .version-info .version-header .version-number {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.settings-sidebar .version-history .version-item .version-info .version-header .version-label {
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background-color: rgba(29, 74, 124, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-label.draft {
  background-color: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}
.settings-sidebar .version-history .version-item .version-info .version-label.current-draft {
  background-color: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
  margin-left: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-label:contains("Current") {
  background-color: #f6ffed !important;
  color: #52c41a !important;
  border: 1px solid #b7eb8f !important;
  margin-left: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8EDF3;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info .name {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.14px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .time {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.settings-sidebar .version-history .version-item .version-actions {
  position: relative;
}
.settings-sidebar .version-history .version-item .version-actions .btn-more {
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
.settings-sidebar .version-history .version-item .version-actions .btn-more:hover {
  background: rgba(0, 0, 0, 0.05);
}
.settings-sidebar .version-history .version-item .version-actions .btn-more img {
  width: 16px;
  height: 16px;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown .dropdown-item:hover {
  background: #F7F7F7;
}
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-radius: 50%;
  border-top-color: currentColor;
  border-left-color: currentColor;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn.btn-secondary,
.btn.btn-primary {
  position: relative;
}
.btn.btn-secondary .loading-spinner,
.btn.btn-primary .loading-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn.btn-secondary:disabled,
.btn.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn.btn-secondary:disabled:has(.loading-spinner) > span,
.btn.btn-primary:disabled:has(.loading-spinner) > span,
.btn.btn-secondary:disabled:has(.loading-spinner) > div:not(.loading-spinner),
.btn.btn-primary:disabled:has(.loading-spinner) > div:not(.loading-spinner) {
  visibility: hidden;
}
.btn.btn-secondary .loading-spinner {
  border: 2px solid transparent;
  border-top-color: #162A3B;
  border-left-color: #162A3B;
}
.btn.btn-primary .loading-spinner {
  border: 2px solid transparent;
  border-top-color: #FFFFFF;
  border-left-color: #FFFFFF;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-overlay .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(29, 74, 124, 0.1);
  border-radius: 50%;
  border-top-color: #1D4A7C;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 16px;
}
.loading-overlay .loading-text {
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.password-section .password-status-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background-color: #FFF5F5;
  border: 1px solid #FFCCCC;
  border-radius: 6px;
  margin-bottom: 16px;
}
.password-section .password-status-banner .status-icon {
  color: #E70000;
  font-size: 16px;
}
.password-section .password-status-banner .status-text {
  color: #991B1B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.password-section .password-management {
  padding: 12px;
  background-color: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  margin-bottom: 12px;
}
.password-section .password-management .password-management-title {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 12px 0;
}
.password-section .password-management .password-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.password-section .password-reset-flow .password-warning-banner {
  padding: 12px;
  background-color: #FFF4E6;
  border: 1px solid #FFD699;
  border-radius: 6px;
  margin-bottom: 12px;
}
.password-section .password-reset-flow .password-warning-banner span {
  color: #92400E;
  font-family: "General Sans", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.password-section .password-reset-flow .password-reset-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.password-section .form-group {
  margin-top: 12px;
}
.password-section .form-group .form-label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.password-section .form-group .form-label .required {
  color: #E70000;
  margin-left: 4px;
}
.password-section .form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  color: #162A3B;
  background: #F8F9FA;
  transition: border-color 0.2s;
}
.password-section .form-group .form-control::placeholder {
  color: #97A0AC;
}
.password-section .form-group .form-control:focus {
  outline: none;
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.1);
}
.password-section .form-group .form-control.error {
  border-color: #E70000;
}
.password-section .form-group .error-text {
  color: #E70000;
  font-family: "General Sans", sans-serif;
  font-size: 12px;
  margin-top: 4px;
}
.password-section .btn-password-change {
  padding: 6px 12px;
  background: #1D4A7C;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-change:hover {
  background: #163A5C;
}
.password-section .btn-password-forgot {
  padding: 6px 12px;
  background: #FFFFFF;
  color: #E70000;
  border: 1px solid #E70000;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.password-section .btn-password-forgot:hover {
  background: #FFF5F5;
}
.password-section .btn-password-cancel {
  padding: 6px 12px;
  background: #FFFFFF;
  color: #162A3B;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-cancel:hover {
  background: #F8F9FA;
}
.password-section .btn-password-reset {
  padding: 6px 12px;
  background: #E70000;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-reset:hover:not(:disabled) {
  background: #CC0000;
}
.password-section .btn-password-reset:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.password-section .password-info-banner {
  margin-top: 12px;
  padding: 12px;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
}
.password-section .password-info-banner p {
  margin: 0;
  color: #1E40AF;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.password-section .password-info-banner p strong {
  font-weight: 500;
}
.token-config .form-group {
  margin-bottom: 12px;
}
.token-config .form-group .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}
.token-config .form-group .form-label .optional {
  color: #9CA3AF;
  font-weight: 400;
}
.token-config .form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.token-config .form-group .form-control:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.token-config .form-group .form-control::placeholder {
  color: #9CA3AF;
}
.token-config .form-group .help-text {
  margin-top: 6px;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
}
.token-config .btn-reset-tokens {
  padding: 6px 12px;
  font-size: 13px;
  color: #DC2626;
  background: transparent;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.token-config .btn-reset-tokens:hover {
  background: #FEE2E2;
  border-color: #DC2626;
}
.form-section .variable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.form-section .variable-tags .variable-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #F0F7FF;
  border: 1px solid #1D4A7C;
  border-radius: 4px;
  color: #1D4A7C;
  font-size: 14px;
  font-weight: 500;
  cursor: grab;
  user-select: none;
  transition: all 0.2s ease;
}
.form-section .variable-tags .variable-tag:hover {
  background: #E0F0FF;
}
.form-section .variable-tags .variable-tag:active {
  cursor: grabbing;
  background: #D0E8FF;
}
.form-section .auto-grow-textarea {
  min-height: 150px;
  resize: none;
  overflow-y: auto;
  /* Changed from hidden to auto to show scrollbar when needed */
  line-height: 1.5;
  transition: height 0.1s ease;
  padding: 16px;
  box-sizing: border-box;
  font-family: monospace;
  width: 100%;
  max-height: 600px;
  /* Set a reasonable maximum height */
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  /* Add a visual cursor indicator */
}
.form-section .auto-grow-textarea:focus {
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.25);
  outline: none;
}
.form-section .auto-grow-textarea[data-dragging="true"] {
  border-color: #1D4A7C;
  background-color: #F0F7FF;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.25);
}
.form-section .auto-grow-textarea::selection {
  background-color: rgba(29, 74, 124, 0.2);
}
.form-section textarea.form-control[data-dragging="true"] {
  border-color: #1D4A7C;
  background-color: #F0F7FF;
}
.form-section select.form-control {
  appearance: none;
  background-image: url(/images/chevron.svg);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}
.form-section select.form-control::-ms-expand {
  display: none;
}
.form-section select.form-control option {
  color: #162A3B;
  background: #FFFFFF;
}
.form-section .prompt-writing-tips {
  margin-top: 24px;
  padding: 16px 20px;
  background: #FFF8F6;
  border-radius: 8px;
}
.form-section .prompt-writing-tips h3 {
  color: #F04E25;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}
.form-section .prompt-writing-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.form-section .prompt-writing-tips ul li {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 8px;
}
.form-section .prompt-writing-tips ul li:last-child {
  margin-bottom: 0;
}
.available-variables {
  margin-bottom: 12px;
}
.available-variables label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.available-variables label .edit-hint {
  font-size: 12px;
  color: #718096;
  font-weight: normal;
  margin-left: 5px;
}
.available-variables .variable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.available-variables .variable-tags .variable-tag {
  display: inline-flex;
  align-items: center;
  background-color: #EDF2F7;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-family: monospace;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  position: relative;
  border: 1px solid transparent;
}
.available-variables .variable-tags .variable-tag:hover {
  background-color: #E2E8F0;
  border-color: #CBD5E0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.available-variables .variable-tags .variable-tag:hover::after {
  content: "Click to insert";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2D3748;
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: sans-serif;
  white-space: nowrap;
  opacity: 0.9;
  z-index: 10;
  pointer-events: none;
}
.available-variables .variable-tags .variable-tag:active {
  transform: scale(0.97);
}
.available-variables .variable-tags .variable-tag.required {
  background-color: #FEF5ED;
  border-color: #FEECDC;
}
.available-variables .variable-tags .variable-tag.required:hover {
  background-color: #FEECDC;
  border-color: #FCD9BD;
}
.available-variables .variable-tags .variable-tag.required .variable-status {
  color: #DD6B20;
}
.available-variables .variable-tags .variable-tag.optional {
  background-color: #EDF2F7;
  border-color: #E2E8F0;
}
.available-variables .variable-tags .variable-tag.optional:hover {
  background-color: #E2E8F0;
  border-color: #CBD5E0;
}
.available-variables .variable-tags .variable-tag.optional .variable-status {
  color: #718096;
}
.available-variables .variable-tags .variable-tag .variable-status {
  font-size: 11px;
  font-weight: 500;
  margin-left: 5px;
  font-family: sans-serif;
}
.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.select-wrapper .select-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
}
.select-wrapper select {
  appearance: none;
  padding-right: 30px;
  width: 100%;
}
.tools .tool-item {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.tools .tool-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #97A0AC;
  background: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.tools .tool-item input[type="checkbox"]:checked {
  background: #1D4A7C;
  border-color: #1D4A7C;
}
.tools .tool-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tools .tool-item input[type="checkbox"]:not(:checked) {
  background: #FFFFFF;
  border: 1px solid #97A0AC;
}
.tools .tool-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  cursor: pointer;
}
.tools .tool-item label .tool-icon {
  color: #1D4A7C;
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.tools .tool-item label .tool-title {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.tools .tool-item label .tool-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
  margin-left: auto;
}
.tools .tool-item:last-child {
  margin-bottom: 0;
}
.tools .tool-item:hover {
  background: #F0F0F0;
}

.form-section .section-title {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 16px;
}
.form-section .test-configuration {
  margin-bottom: 36px;
}
.form-section .test-configuration .configuration-box {
  border: 1px solid #DDD;
  border-radius: 6px;
  padding: 24px;
}
.form-section .test-configuration .active-knowledge-sources h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 16px;
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list .source-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list .source-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #97A0AC;
  background: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list .source-item input[type="checkbox"]:checked {
  background: #1D4A7C;
  border-color: #1D4A7C;
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list .source-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list .source-item label {
  display: flex;
  flex-direction: column;
  flex: 1;
  cursor: pointer;
  padding: 4px 0;
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list .source-item label .knowledge-source-title {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 4px;
}
.form-section .test-configuration .active-knowledge-sources .knowledge-sources-list .source-item label .knowledge-source-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
}
.form-section .form-preview {
  margin-bottom: 36px;
}
.form-section .form-preview .preview-box {
  border: 1px solid #DDD;
  border-radius: 6px;
  padding: 24px;
}
.form-section .form-preview .preview-header {
  margin-bottom: 24px;
}
.form-section .form-preview .preview-header h3 {
  color: var(--Capability-5, #1D4A7C);
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 8px;
}
.form-section .form-preview .preview-header h3.empty {
  color: #97A0AC;
  font-style: italic;
}
.form-section .form-preview .preview-header .preview-subtitle {
  color: var(--crawl, #162A3B);
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 19.6px;
  margin-bottom: 8px;
}
.form-section .form-preview .preview-header .preview-subtitle.empty {
  color: #97A0AC;
  font-style: italic;
}
.form-section .form-preview .preview-header .preview-description {
  color: var(--crawl, #162A3B);
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 19.6px;
}
.form-section .form-preview .preview-header .preview-description.empty {
  color: #97A0AC;
  font-style: italic;
}
.form-section .form-preview .preview-form .form-group {
  margin-bottom: 24px;
}
.form-section .form-preview .preview-form .form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
}
.form-section .form-preview .preview-form .form-group label .required-indicator {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.14px;
}
.form-section .form-preview .preview-form .form-group .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: #FFFFFF;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #162A3B;
}
.form-section .form-preview .preview-form .form-group .form-control::placeholder {
  color: #97A0AC;
}
.form-section .form-preview .preview-form .form-group textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.form-section .form-preview .media-upload {
  margin-top: 10px;
}
.form-section .form-preview .media-upload .upload-area {
  border: 2px dashed #ccc;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.form-section .form-preview .media-upload .upload-area:hover:not(.has-file) {
  border-color: #1D4A7C;
}
.form-section .form-preview .media-upload .upload-area.has-file {
  border-color: #e0e0e0;
  background-color: #f5f5f5;
  cursor: not-allowed;
}
.form-section .form-preview .media-upload .upload-area .upload-label {
  display: block;
  cursor: pointer;
}
.form-section .form-preview .media-upload .upload-area .upload-label.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.form-section .form-preview .media-upload .upload-area .upload-label.disabled i {
  color: #999;
}
.form-section .form-preview .media-upload .upload-area .upload-label.disabled span {
  color: #666;
}
.form-section .form-preview .media-upload .upload-area .upload-label i {
  font-size: 24px;
  color: #666;
  margin-bottom: 8px;
}
.form-section .form-preview .media-upload .upload-area .upload-label span {
  display: block;
  margin-bottom: 8px;
  color: #333;
}
.form-section .form-preview .media-upload .upload-area .upload-label .file-types {
  font-size: 12px;
  color: #666;
  margin: 0;
}
.form-section .form-preview .media-upload .selected-files {
  margin-top: 10px;
}
.form-section .form-preview .media-upload .selected-files .file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  background-color: #f5f5f5;
  border-radius: 4px;
  margin-bottom: 5px;
}
.form-section .form-preview .media-upload .selected-files .file-item .file-name {
  flex: 1;
  margin-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form-section .form-preview .media-upload .selected-files .file-item .remove-file {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.form-section .form-preview .media-upload .selected-files .file-item .remove-file:hover {
  background-color: #e0e0e0;
  color: #d32f2f;
}
.form-section .form-preview .media-upload .selected-files .file-item .remove-file i {
  font-size: 14px;
}
.form-section .form-preview .token-usage {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border-radius: 8px;
  background: rgba(29, 74, 124, 0.07);
  margin-bottom: 24px;
}
.form-section .form-preview .token-usage .info-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.form-section .form-preview .token-usage span {
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.form-section .form-preview .btn-run-test {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--Capability-5, #1D4A7C);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.form-section .form-preview .btn-run-test:hover {
  background: #183e67;
}
.form-section .form-preview .btn-run-test .play-icon {
  width: 20px;
  height: 20px;
}
.form-section .results-section .results-container {
  border: 1px solid #DDD;
  border-radius: 6px;
  padding: 24px;
}
.form-section .results-section .results-container .results-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.form-section .results-section .results-container .results-header .response-section h3 {
  color: var(--crawl, #162A3B);
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 16px;
}
.form-section .results-section .results-container .results-header .response-section .response-placeholder {
  height: 160px;
  padding: 16px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: #FFFFFF;
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: italic;
  line-height: 19.6px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.form-section .results-section .results-container .results-header .response-section .response-placeholder.has-response {
  color: #162A3B;
  font-style: normal;
}
.form-section .results-section .results-container .results-header .response-section .response-placeholder::-webkit-scrollbar {
  width: 8px;
}
.form-section .results-section .results-container .results-header .response-section .response-placeholder::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.form-section .results-section .results-container .results-header .response-section .response-placeholder::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.form-section .results-section .results-container .results-header .response-section .response-placeholder::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.form-section .results-section .results-container .results-header .metrics-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-section .results-section .results-container .results-header .metrics-section .metric h4 {
  color: var(--crawl, #162A3B);
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 16px;
}
.form-section .results-section .results-container .results-header .metrics-section .metric .metric-value-placeholder {
  height: 44px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #DDD;
  background: #FFF;
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}
.form-section .results-section .results-container .results-header .metrics-section .metric .metric-value-placeholder::before {
  content: "-";
  color: #97A0AC;
}
.form-section .results-section .results-container .used-knowledge-sources {
  margin-bottom: 36px;
}
.form-section .results-section .results-container .used-knowledge-sources h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 16px;
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list .source-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list .source-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #97A0AC;
  background: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list .source-item input[type="checkbox"]:checked {
  background: #1D4A7C;
  border-color: #1D4A7C;
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list .source-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list .source-item label {
  display: flex;
  flex-direction: column;
  flex: 1;
  cursor: pointer;
  padding: 4px 0;
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list .source-item label .knowledge-source-title {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 4px;
}
.form-section .results-section .results-container .used-knowledge-sources .knowledge-sources-list .source-item label .knowledge-source-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
}
.form-section .results-section .results-container .prompt-section h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 16px;
}
.form-section .results-section .results-container .prompt-section .prompt-content textarea {
  width: 100%;
  min-height: 180px;
  padding: 16px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: #FFF;
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 19.6px;
  resize: none;
  margin-bottom: 16px;
}
.form-section .results-section .results-container .prompt-section .prompt-content textarea::placeholder {
  color: #97A0AC;
}

.prompt-builder-container {
  display: flex;
  height: 100vh;
  background: #ffffff;
}
.main-content {
  flex: 1;
  margin-left: 70px;
  padding: 36px;
  padding-bottom: calc(36px + 76px);
  overflow-y: auto;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.main-content::-webkit-scrollbar {
  display: none;
}
.main-content .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.header .title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header .title-section h1 {
  margin: 0;
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24.3px;
  letter-spacing: -0.01em;
  color: #162A3B;
}
.header .title-section .status-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 4px 12px;
  border-radius: 4px;
  background: #F7F7F7;
  color: #97A0AC;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  min-width: 54px;
  justify-content: center;
}
.header .title-section .version-tag {
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0;
  color: #97A0AC;
}
.header .actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header .actions .btn {
  display: inline-flex;
  align-items: center;
  font-family: 'General Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 21.6px;
  letter-spacing: 0;
  height: 38px;
}
.header .actions .btn.btn-icon {
  gap: 6px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  padding: 8px 16px;
}
.header .actions .btn.btn-icon img {
  width: 18px;
  height: 18px;
}
.header .actions .btn.btn-icon:first-child {
  width: 127px;
  color: #162A3B;
}
.header .actions .btn.btn-icon.text-danger {
  width: 105px;
  color: #E70000;
}
.header .actions .btn.btn-secondary {
  width: 110px;
  background: #F5F5F5;
  color: #162A3B;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  gap: 10px;
}
.header .actions .btn.btn-primary {
  min-width: 87px;
  background: #1D4A7C;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  gap: 10px;
  justify-content: center;
}
.divider {
  height: 1px;
  align-self: stretch;
  background: #DDDDDD;
  margin: 0;
  margin-bottom: 36px;
}
.builder-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}
.builder-tabs .tab {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: #F7F7F7;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  transition: all 0.2s ease;
}
.builder-tabs .tab:hover {
  color: #1D4A7C;
}
.builder-tabs .tab.active {
  background: rgba(29, 74, 124, 0.1);
  color: #1D4A7C;
  box-shadow: none;
}
.form-section {
  background: white;
}
.form-section .section-title {
  align-self: stretch;
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 16px;
}
.form-section .form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
.form-section .form-group {
  margin-bottom: 1.5rem;
}
.form-section .form-group.half-width {
  width: 50%;
}
.form-section .form-group label {
  display: block;
  align-self: stretch;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.225rem;
  margin-bottom: 0.5rem;
}
.form-section .form-group .select-wrapper {
  position: relative;
}
.form-section .form-group .select-wrapper select.form-control {
  display: flex;
  padding: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.625rem;
  align-self: stretch;
  border-radius: 0.375rem;
  border: 1px solid #DDD;
  width: 100%;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.225rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.875rem;
  background-color: #FFFFFF;
}
.form-section .form-group .select-wrapper select.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.225rem;
}
.form-section .form-group .select-wrapper .select-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #97A0AC;
}
.form-section .form-group input.form-control {
  display: flex;
  padding: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.625rem;
  align-self: stretch;
  border-radius: 0.375rem;
  border: 1px solid #DDD;
  width: 100%;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.225rem;
}
.form-section .form-group input.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.225rem;
}
.form-section .form-group textarea.form-control {
  display: flex;
  height: 120px;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #DDD;
  width: 100%;
  resize: none;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  line-height: 19.6px;
}
.form-section .form-group textarea.form-control::placeholder {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}
.form-section .form-group .btn-add-variable {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  background: rgba(29, 74, 124, 0.1);
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.form-section .form-group .btn-add-variable i {
  font-size: 16px;
  color: #1D4A7C;
}
.form-section .form-group .btn-add-variable:hover {
  background: rgba(29, 74, 124, 0.15);
}
.form-section .available-variables {
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-section .available-variables label {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
  display: flex;
  align-items: center;
}
.form-section .available-variables .variable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.form-section .available-variables .variable-tags .variable-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  height: 28px;
  background: #F7F7F7;
  border-radius: 6px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  margin: 0;
}
.form-section .template-header {
  margin-bottom: 36px;
}
.form-section .template-header h1 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32.4px;
  margin: 0 0 8px 0;
}
.form-section .template-header .description {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.6px;
  margin: 0 0 8px 0;
}
.form-section .template-header .subtitle {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  margin: 0;
}
.form-section .user-input-section .input-field-row {
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-header h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.6px;
  margin: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .required-tag {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label {
  background-color: #1D4A7C;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label:before {
  transform: translateX(16px);
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #DDD;
  transition: 0.4s;
  border-radius: 20px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.form-section .user-input-section .input-field-row .field-config {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-config .input-type {
  flex: 2;
}
.form-section .user-input-section .input-field-row .field-config .character-limit {
  flex: 1;
}
.form-section .user-input-section .input-field-row .field-config label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  margin-bottom: 8px;
}
.form-section .user-input-section .input-field-row .field-config select.form-control,
.form-section .user-input-section .input-field-row .field-config input.form-control {
  width: 100%;
  height: 44px;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: #FFFFFF;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F7F7F7;
  border: none;
  border-radius: 6px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map i {
  font-size: 14px;
}
.form-section .user-input-section .input-field-row .variable-mapping .btn-map:hover {
  background: rgba(29, 74, 124, 0.1);
}
.knowledge-sources .source-item {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.knowledge-sources .source-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #97A0AC;
  background: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.knowledge-sources .source-item input[type="checkbox"]:checked {
  background: #1D4A7C;
  border-color: #1D4A7C;
}
.knowledge-sources .source-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.knowledge-sources .source-item input[type="checkbox"]:not(:checked) {
  background: #FFFFFF;
  border: 1px solid #97A0AC;
}
.knowledge-sources .source-item label {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.knowledge-sources .source-item label .knowledge-source-title {
  align-self: stretch;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.knowledge-sources .source-item label .knowledge-source-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}
.knowledge-sources .source-item:last-child {
  margin-bottom: 0;
}
.settings-sidebar {
  width: 320px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid #DDDDDD;
  padding: 24px;
  padding-bottom: calc(24px + 76px);
  overflow-y: auto;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.settings-sidebar::-webkit-scrollbar {
  display: none;
}
.settings-sidebar .settings-section {
  margin-bottom: 32px;
}
.settings-sidebar .settings-section h3 {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin: 0 0 16px 0;
}
.settings-sidebar .settings-section h4 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.settings-sidebar .settings-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.settings-sidebar .settings-section .section-header h4 {
  margin: 0;
}
.settings-sidebar .settings-section .section-header .btn-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  height: 24px;
}
.settings-sidebar .settings-section .section-header .btn-add img {
  width: 24px;
  height: 24px;
}
.settings-sidebar .settings-section .section-header .btn-add:hover {
  opacity: 0.8;
}
.settings-sidebar .settings-section .dropdown-container {
  position: relative;
  width: 100%;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown {
  width: 100%;
  padding: 8px 12px;
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  color: #162A3B;
  appearance: none;
  cursor: pointer;
  outline: none;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown:hover {
  border-color: #D1D5DB;
}
.settings-sidebar .settings-section .dropdown-container .format-dropdown:focus {
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.1);
}
.settings-sidebar .settings-section .dropdown-container .dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.settings-sidebar .settings-section .dropdown-container .dropdown-arrow svg {
  display: block;
}
.settings-sidebar .access-description {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.14px;
  margin: 0 0 8px 0;
}
.settings-sidebar .access-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-sidebar .access-controls .checkbox-item {
  padding: 6px 0 6px 4px;
  border-radius: 6px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"] {
  accent-color: #1D4A7C;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 4px;
  border: 1.5px solid #B0B6BE;
  background: #fff;
  transition: border 0.2s;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"]:checked {
  border: 1.5px solid #1D4A7C;
}
.settings-sidebar .access-controls .checkbox-item input[type="checkbox"]:disabled {
  accent-color: #B0B6BE;
  background: #F5F5F5;
}
.settings-sidebar .access-controls .checkbox-item span {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.12px;
  transition: color 0.15s;
}
input[type="checkbox"]:checked + .settings-sidebar .access-controls .checkbox-item span {
  color: #1D4A7C;
}
input[type="checkbox"][disabled] + .settings-sidebar .access-controls .checkbox-item span {
  color: #B0B6BE;
}
.settings-sidebar .categories-list .category-item {
  display: flex;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.settings-sidebar .categories-list .category-item span {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.settings-sidebar .categories-list .category-item .category-actions {
  display: flex;
  gap: 4px;
}
.settings-sidebar .categories-list .category-item .category-actions .btn-icon {
  padding: 4px;
  color: #97A0AC;
}
.settings-sidebar .categories-list .category-item .category-actions .btn-icon:hover {
  color: #162A3B;
}
.settings-sidebar .version-history .version-item {
  display: flex;
  padding: 10px 12px;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 6px;
  background: #F7F7F7;
  margin-bottom: 8px;
}
.settings-sidebar .version-history .version-item .version-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-sidebar .version-history .version-item .version-info .version-header .version-number {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.16px;
}
.settings-sidebar .version-history .version-item .version-info .version-header .version-label {
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background-color: rgba(29, 74, 124, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-label.draft {
  background-color: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}
.settings-sidebar .version-history .version-item .version-info .version-label.current-draft {
  background-color: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
  margin-left: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-label:contains("Current") {
  background-color: #f6ffed !important;
  color: #52c41a !important;
  border: 1px solid #b7eb8f !important;
  margin-left: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8EDF3;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .user-info .name {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.14px;
}
.settings-sidebar .version-history .version-item .version-info .version-meta .time {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.settings-sidebar .version-history .version-item .version-actions {
  position: relative;
}
.settings-sidebar .version-history .version-item .version-actions .btn-more {
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
.settings-sidebar .version-history .version-item .version-actions .btn-more:hover {
  background: rgba(0, 0, 0, 0.05);
}
.settings-sidebar .version-history .version-item .version-actions .btn-more img {
  width: 16px;
  height: 16px;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}
.settings-sidebar .version-history .version-item .version-actions .version-dropdown .dropdown-item:hover {
  background: #F7F7F7;
}
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-radius: 50%;
  border-top-color: currentColor;
  border-left-color: currentColor;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn.btn-secondary,
.btn.btn-primary {
  position: relative;
}
.btn.btn-secondary .loading-spinner,
.btn.btn-primary .loading-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn.btn-secondary:disabled,
.btn.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn.btn-secondary:disabled:has(.loading-spinner) > span,
.btn.btn-primary:disabled:has(.loading-spinner) > span,
.btn.btn-secondary:disabled:has(.loading-spinner) > div:not(.loading-spinner),
.btn.btn-primary:disabled:has(.loading-spinner) > div:not(.loading-spinner) {
  visibility: hidden;
}
.btn.btn-secondary .loading-spinner {
  border: 2px solid transparent;
  border-top-color: #162A3B;
  border-left-color: #162A3B;
}
.btn.btn-primary .loading-spinner {
  border: 2px solid transparent;
  border-top-color: #FFFFFF;
  border-left-color: #FFFFFF;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-overlay .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(29, 74, 124, 0.1);
  border-radius: 50%;
  border-top-color: #1D4A7C;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 16px;
}
.loading-overlay .loading-text {
  color: #1D4A7C;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.password-section .password-status-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background-color: #FFF5F5;
  border: 1px solid #FFCCCC;
  border-radius: 6px;
  margin-bottom: 16px;
}
.password-section .password-status-banner .status-icon {
  color: #E70000;
  font-size: 16px;
}
.password-section .password-status-banner .status-text {
  color: #991B1B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.password-section .password-management {
  padding: 12px;
  background-color: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  margin-bottom: 12px;
}
.password-section .password-management .password-management-title {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 12px 0;
}
.password-section .password-management .password-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.password-section .password-reset-flow .password-warning-banner {
  padding: 12px;
  background-color: #FFF4E6;
  border: 1px solid #FFD699;
  border-radius: 6px;
  margin-bottom: 12px;
}
.password-section .password-reset-flow .password-warning-banner span {
  color: #92400E;
  font-family: "General Sans", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.password-section .password-reset-flow .password-reset-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.password-section .form-group {
  margin-top: 12px;
}
.password-section .form-group .form-label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.password-section .form-group .form-label .required {
  color: #E70000;
  margin-left: 4px;
}
.password-section .form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  color: #162A3B;
  background: #F8F9FA;
  transition: border-color 0.2s;
}
.password-section .form-group .form-control::placeholder {
  color: #97A0AC;
}
.password-section .form-group .form-control:focus {
  outline: none;
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.1);
}
.password-section .form-group .form-control.error {
  border-color: #E70000;
}
.password-section .form-group .error-text {
  color: #E70000;
  font-family: "General Sans", sans-serif;
  font-size: 12px;
  margin-top: 4px;
}
.password-section .btn-password-change {
  padding: 6px 12px;
  background: #1D4A7C;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-change:hover {
  background: #163A5C;
}
.password-section .btn-password-forgot {
  padding: 6px 12px;
  background: #FFFFFF;
  color: #E70000;
  border: 1px solid #E70000;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.password-section .btn-password-forgot:hover {
  background: #FFF5F5;
}
.password-section .btn-password-cancel {
  padding: 6px 12px;
  background: #FFFFFF;
  color: #162A3B;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-cancel:hover {
  background: #F8F9FA;
}
.password-section .btn-password-reset {
  padding: 6px 12px;
  background: #E70000;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.password-section .btn-password-reset:hover:not(:disabled) {
  background: #CC0000;
}
.password-section .btn-password-reset:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.password-section .password-info-banner {
  margin-top: 12px;
  padding: 12px;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
}
.password-section .password-info-banner p {
  margin: 0;
  color: #1E40AF;
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.password-section .password-info-banner p strong {
  font-weight: 500;
}
.token-config .form-group {
  margin-bottom: 12px;
}
.token-config .form-group .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}
.token-config .form-group .form-label .optional {
  color: #9CA3AF;
  font-weight: 400;
}
.token-config .form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.token-config .form-group .form-control:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.token-config .form-group .form-control::placeholder {
  color: #9CA3AF;
}
.token-config .form-group .help-text {
  margin-top: 6px;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
}
.token-config .btn-reset-tokens {
  padding: 6px 12px;
  font-size: 13px;
  color: #DC2626;
  background: transparent;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.token-config .btn-reset-tokens:hover {
  background: #FEE2E2;
  border-color: #DC2626;
}
.form-section .template-header {
  margin-bottom: 36px;
}
.form-section .template-header h1 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32.4px;
  margin: 0 0 8px 0;
}
.form-section .template-header h1.empty {
  color: #97A0AC;
  font-style: italic;
}
.form-section .template-header .description {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 21.6px;
  margin: 0 0 8px 0;
}
.form-section .template-header .description.empty {
  color: #97A0AC;
  font-style: italic;
}
.form-section .template-header .subtitle {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  margin: 0;
}
.form-section .template-header .subtitle.empty {
  color: #97A0AC;
  font-style: italic;
}
.form-section .section-title {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.18px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row {
  padding: 16px 0;
  margin-bottom: 16px;
  border: none;
  background: transparent;
  /* Description Row */
}
.form-section .user-input-section .input-field-row .field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-header h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.01em;
  margin: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .required-tag {
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.14px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label {
  background-color: #DD6A1B;
  border: 0.75px solid #F09455;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch input:checked + label:before {
  transform: translate(18px, -50%);
  left: 0;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8E8B8B;
  border: 0.75px solid #C1C1C1;
  transition: 0.4s;
  border-radius: 75px;
}
.form-section .user-input-section .input-field-row .field-header .field-controls .toggle-switch label:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  transition: all 0.4s;
  border-radius: 50%;
}
.form-section .user-input-section .input-field-row .field-config {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.form-section .user-input-section .input-field-row .field-config .input-type {
  flex: 2;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper {
  position: relative;
  width: 100%;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  background-color: #FFFFFF;
  border: 1px solid #DDD;
  border-radius: 6px;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select.open {
  border-color: #528BBE;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select.open .select-arrow {
  transform: rotate(180deg);
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select .selected-option {
  height: 44px;
  padding: 12px;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select .selected-option .select-arrow {
  color: #97A0AC;
  transition: transform 0.2s ease;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select .options-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #DDD;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select .options-dropdown .option {
  padding: 12px;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select .options-dropdown .option:hover {
  background-color: #F5F5F5;
}
.form-section .user-input-section .input-field-row .field-config .input-type .custom-select-wrapper .custom-select .options-dropdown .option.selected {
  background-color: #F0F0F0;
  font-weight: 500;
}
.form-section .user-input-section .input-field-row .field-config .input-type .select-wrapper {
  position: relative;
}
.form-section .user-input-section .input-field-row .field-config .input-type .select-wrapper select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  color: #162A3B !important;
  background-color: #FFFFFF !important;
}
.form-section .user-input-section .input-field-row .field-config .input-type .select-wrapper select.form-control option {
  color: #162A3B !important;
  background-color: #FFFFFF !important;
  padding: 8px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
}
.form-section .user-input-section .input-field-row .field-config .input-type .select-wrapper .select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #97A0AC;
}
.form-section .user-input-section .input-field-row .field-config .character-limit {
  flex: 0 0 120px;
}
.form-section .user-input-section .input-field-row .field-config label {
  display: block;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  margin-bottom: 8px;
}
.form-section .user-input-section .input-field-row .field-config select.form-control,
.form-section .user-input-section .input-field-row .field-config input.form-control {
  width: 100%;
  height: 44px;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: #FFFFFF;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.form-section .user-input-section .input-field-row .field-config.description-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.form-section .user-input-section .input-field-row .field-config.description-row .description-field {
  flex: 1 1 100%;
  width: 100%;
}
.form-section .user-input-section .input-field-row .field-config.description-row .description-field .description-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-section .user-input-section .input-field-row .field-config.description-row .description-field .description-label .tooltip-icon {
  color: #97A0AC;
  font-size: 12px;
  cursor: help;
  transition: color 0.2s ease;
}
.form-section .user-input-section .input-field-row .field-config.description-row .description-field .description-label .tooltip-icon:hover {
  color: #528BBE;
}
.form-section .user-input-section .input-field-row .field-config.description-row .description-field .form-control {
  width: 100%;
}
.form-section .user-input-section .input-field-row .variable-mapping .variable-map-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #528BBE;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.01em;
}
.form-section .user-input-section .input-field-row .variable-mapping .variable-map-text i {
  font-size: 14px;
  color: #528BBE;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay .modal-content {
  background: white;
  border-radius: 12px;
  width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.modal-overlay .modal-content .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 20px 24px;
  gap: 12px;
  background: #F2F2F2;
  margin-bottom: 24px;
  width: 100%;
}
.modal-overlay .modal-content .modal-header h3 {
  color: #162A3B;
  font-family: "General Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.modal-overlay .modal-content .modal-header .btn-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #162A3B;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.modal-overlay .modal-content .modal-header .btn-close:hover:not(:disabled) {
  opacity: 0.7;
}
.modal-overlay .modal-content .modal-header .btn-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-overlay .modal-content .form-content {
  padding: 0 24px 24px 24px;
}
.modal-overlay .modal-content .form-content .prompt-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: #F2F2F2;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  margin-bottom: 24px;
}
.modal-overlay .modal-content .form-content .prompt-info .lock-icon {
  font-size: 24px;
  color: #1D4A7C;
}
.modal-overlay .modal-content .form-content .prompt-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 500;
  color: #162A3B;
  font-family: "General Sans", sans-serif;
}
.modal-overlay .modal-content .form-content .prompt-info p {
  margin: 0;
  font-size: 14px;
  color: #97A0AC;
  font-family: "General Sans", sans-serif;
}
.modal-overlay .modal-content .form-content .override-section {
  margin-bottom: 16px;
}
.modal-overlay .modal-content .form-content .override-section .info-banner {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 6px;
  font-size: 14px;
  font-family: "General Sans", sans-serif;
}
.modal-overlay .modal-content .form-content .override-section .info-banner.warning {
  background-color: #FFF4E6;
  border: 1px solid #FFD699;
  color: #92400E;
}
.modal-overlay .modal-content .form-content .override-section .info-banner.warning svg {
  color: #DD6A1B;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.modal-overlay .modal-content .form-content .override-section .info-banner strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #162A3B;
}
.modal-overlay .modal-content .form-content .override-section .info-banner p {
  margin: 0;
  line-height: 1.5;
  color: #97A0AC;
}
.modal-overlay .modal-content .form-content .password-section label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #162A3B;
  margin-bottom: 8px;
  font-family: "General Sans", sans-serif;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .input-icon {
  position: absolute;
  left: 12px;
  color: #97A0AC;
  pointer-events: none;
  z-index: 1;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .form-control {
  width: 100%;
  padding: 12px 40px 12px 36px;
  border: 1px solid #DDD;
  border-radius: 6px;
  font-family: "General Sans", sans-serif;
  font-size: 14px;
  color: #162A3B;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .form-control::placeholder {
  color: #97A0AC;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .form-control:focus {
  outline: none;
  border-color: #1D4A7C;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .form-control:disabled {
  background-color: #F5F5F5;
  cursor: not-allowed;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .toggle-password {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 1;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .toggle-password:hover:not(:disabled) {
  opacity: 1;
}
.modal-overlay .modal-content .form-content .password-section .password-input-group .toggle-password:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.modal-overlay .modal-content .form-content .password-section .error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  background-color: #FFF5F5;
  border: 1px solid #FFCCCC;
  border-radius: 6px;
  color: #E70000;
  font-size: 13px;
  font-family: "General Sans", sans-serif;
}
.modal-overlay .modal-content .form-content .password-section .error-message svg {
  flex-shrink: 0;
}
.modal-overlay .modal-content .form-content .password-section .forgot-password-link {
  margin-top: 12px;
  text-align: right;
}
.modal-overlay .modal-content .form-content .password-section .forgot-password-link .link-button {
  background: none;
  border: none;
  color: #1D4A7C;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: "General Sans", sans-serif;
}
.modal-overlay .modal-content .form-content .password-section .forgot-password-link .link-button:hover:not(:disabled) {
  color: #163A5C;
  text-decoration: underline;
}
.modal-overlay .modal-content .form-content .password-section .forgot-password-link .link-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-overlay .modal-content .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #DDDDDD;
}
.modal-overlay .modal-content .modal-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "General Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  height: 38px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-overlay .modal-content .modal-footer .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-overlay .modal-content .modal-footer .btn svg {
  font-size: 16px;
}
.modal-overlay .modal-content .modal-footer .btn.btn-secondary {
  background: #F5F5F5;
  color: #162A3B;
}
.modal-overlay .modal-content .modal-footer .btn.btn-secondary:hover:not(:disabled) {
  background: #E5E5E5;
}
.modal-overlay .modal-content .modal-footer .btn.btn-primary {
  background: #1D4A7C;
  color: #FFFFFF;
}
.modal-overlay .modal-content .modal-footer .btn.btn-primary:hover:not(:disabled) {
  background: #163A5C;
}

.password-reset-modal .password-warning-banner {
  background-color: #FFF7E6;
  border: 1px solid #FFA726;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.password-reset-modal .password-warning-banner span {
  font-size: 14px;
  color: #FF9800;
  font-weight: 500;
}
.password-reset-modal .password-section {
  margin-bottom: 20px;
}
.password-reset-modal .password-section .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #162A3B;
}
.password-reset-modal .password-section .form-label .required {
  color: #D32F2F;
  margin-left: 4px;
}
.password-reset-modal .password-section .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.password-reset-modal .password-section .form-control:focus {
  outline: none;
  border-color: #FF6F00;
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}
.password-reset-modal .password-section .form-control.error {
  border-color: #D32F2F;
}
.password-reset-modal .password-section .form-control:disabled {
  background-color: #F5F5F5;
  cursor: not-allowed;
}
.password-reset-modal .password-section .error-text {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: #D32F2F;
}

.prompt-library-container {
  padding: 36px;
  height: 100vh;
  overflow-y: auto;
  background: #FFFFFF;
  margin-left: 70px;
}
.prompt-library-container .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  gap: 24px;
}
.prompt-library-container .header .title-section {
  flex: 1;
  min-width: 0;
}
.prompt-library-container .header .title-section .title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prompt-library-container .header .title-section h1 {
  margin: 0;
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32.4px;
  white-space: nowrap;
}
.prompt-library-container .header .title-section .disclaimer {
  max-width: 1200px;
  padding-right: 24px;
  width: 100%;
}
.prompt-library-container .header .title-section .disclaimer .disclaimer-title {
  color: #FF6B00;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
}
.prompt-library-container .header .title-section .disclaimer .disclaimer-subtitle {
  color: #FF6B00;
  font-family: 'General Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.prompt-library-container .header .title-section .disclaimer .disclaimer-text {
  color: #FF6B00;
  font-family: 'General Sans', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 8px 0;
  max-width: 100%;
}
.prompt-library-container .header .title-section .disclaimer .disclaimer-copyright {
  color: #FF6B00;
  font-family: 'General Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  margin: 8px 0 0 0;
}
.prompt-library-container .header .actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}
.prompt-library-container .header .actions .search-container .search-input-wrapper {
  position: relative;
  width: 300px;
}
.prompt-library-container .header .actions .search-container .search-input-wrapper .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #97A0AC;
  font-size: 14px;
}
.prompt-library-container .header .actions .search-container .search-input-wrapper .search-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  color: #162A3B;
  outline: none;
  transition: border-color 0.2s ease;
}
.prompt-library-container .header .actions .search-container .search-input-wrapper .search-input:focus {
  border-color: #1D4A7C;
  box-shadow: 0 0 0 2px rgba(29, 74, 124, 0.1);
}
.prompt-library-container .header .actions .search-container .search-input-wrapper .search-input::placeholder {
  color: #97A0AC;
}
.prompt-library-container .header .actions .search-container .search-input-wrapper .clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #97A0AC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 14px;
}
.prompt-library-container .header .actions .search-container .search-input-wrapper .clear-search-btn:hover {
  color: #162A3B;
}
.prompt-library-container .header .actions .create-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #1D4A7C;
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.prompt-library-container .header .actions .create-button:hover {
  background: #183e67;
}
.prompt-library-container .header .actions .create-button .plus-icon {
  width: 12px;
  height: 12px;
}
.prompt-library-container .tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.prompt-library-container .tabs .tab {
  padding: 8px 16px;
  background: #F7F7F7;
  border: none;
  border-radius: 6px;
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.prompt-library-container .tabs .tab:hover {
  color: #1D4A7C;
}
.prompt-library-container .tabs .tab.active {
  background: rgba(29, 74, 124, 0.1);
  color: #1D4A7C;
}
.prompt-library-container .prompt-table {
  width: 100%;
  border-collapse: collapse;
}
.prompt-library-container .prompt-table th {
  padding: 12px 16px;
  text-align: left;
  color: #97A0AC;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #DDDDDD;
}
.prompt-library-container .prompt-table td {
  padding: 16px;
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  border-bottom: 1px solid #DDDDDD;
  cursor: default;
  vertical-align: top;
}
.prompt-library-container .prompt-table td.date-column {
  color: #97A0AC;
  font-size: 13px;
  vertical-align: top;
}
.prompt-library-container .prompt-table td.actions-cell {
  white-space: nowrap;
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  vertical-align: middle;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon:last-child {
  margin-right: 0;
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon:hover {
  background: rgba(0, 0, 0, 0.05);
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon img {
  width: 16px;
  height: 16px;
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon img[alt="publish"] {
  filter: invert(23%) sepia(93%) saturate(1352%) hue-rotate(182deg) brightness(96%) contrast(101%);
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon img[alt="unpublish"] {
  filter: invert(17%) sepia(91%) saturate(3107%) hue-rotate(356deg) brightness(81%) contrast(105%);
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon img[alt="draft"] {
  filter: invert(45%) sepia(12%) saturate(1164%) hue-rotate(166deg) brightness(90%) contrast(84%);
}
.prompt-library-container .prompt-table td.actions-cell .btn-icon .loading-spinner {
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}
.prompt-library-container .prompt-table tr {
  background-color: #FFFFFF;
}
.prompt-library-container .prompt-table .status-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.prompt-library-container .prompt-table .status-tag.published {
  background: rgba(52, 168, 83, 0.1);
  color: #34A853;
}
.prompt-library-container .prompt-table .status-tag.unpublished {
  background: rgba(151, 160, 172, 0.1);
  color: #97A0AC;
}
.prompt-library-container .prompt-table .status-tag.draft {
  background: rgba(29, 74, 124, 0.1);
  color: #1D4A7C;
}
.prompt-library-container .prompt-table .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.prompt-library-container .prompt-table .btn-icon img {
  width: 16px;
  height: 16px;
}
.prompt-library-container .prompt-table .btn-icon:hover {
  background: #F7F7F7;
}
.prompt-library-container .prompt-table .btn-icon.text-danger:hover {
  background: rgba(231, 0, 0, 0.1);
  border-color: #E70000;
}
.prompt-library-container .prompt-table .btn-icon.text-danger:hover img {
  filter: invert(15%) sepia(86%) saturate(6932%) hue-rotate(358deg) brightness(93%) contrast(126%);
}
.prompt-library-container .loading-spinner {
  animation: spin 1s linear infinite;
}
.prompt-library-container .loading-spinner circle {
  stroke: currentColor;
  opacity: 0.25;
}
.prompt-library-container .loading-spinner circle {
  stroke-dasharray: 80px;
  stroke-dashoffset: 60px;
  animation: dash 1.5s ease-in-out infinite;
}
.prompt-library-container .confirmation-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.prompt-library-container .confirmation-dialog {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  width: 400px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.prompt-library-container .confirmation-dialog p {
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  margin: 0 0 24px 0;
}
.prompt-library-container .confirmation-dialog .dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.prompt-library-container .confirmation-dialog .dialog-actions .btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.prompt-library-container .confirmation-dialog .dialog-actions .btn.btn-secondary {
  background: #F5F5F5;
  border: none;
  color: #162A3B;
}
.prompt-library-container .confirmation-dialog .dialog-actions .btn.btn-secondary:hover {
  background: #e8e8e8;
}
.prompt-library-container .confirmation-dialog .dialog-actions .btn.btn-danger {
  background: #E70000;
  border: none;
  color: #FFFFFF;
}
.prompt-library-container .confirmation-dialog .dialog-actions .btn.btn-danger:hover {
  background: #ce0000;
}
.prompt-library-container .btn-icon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.prompt-library-container .btn-icon:disabled:hover {
  background: none;
  border-color: #DDDDDD;
}
.prompt-library-container .btn-icon:disabled.text-danger:hover {
  background: none;
  border-color: #DDDDDD;
}
.prompt-library-container .btn-icon:disabled.text-danger:hover img {
  filter: none;
}
.prompt-library-container .loading-container,
.prompt-library-container .error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 16px;
}
.prompt-library-container .loading-container p,
.prompt-library-container .error-container p {
  color: #162A3B;
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  margin: 0;
}
.prompt-library-container .loading-container .error-message,
.prompt-library-container .error-container .error-message {
  color: #E70000;
}
.prompt-library-container .loading-container .btn,
.prompt-library-container .error-container .btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.prompt-library-container .loading-container .btn.btn-primary,
.prompt-library-container .error-container .btn.btn-primary {
  background: #1D4A7C;
  border: none;
  color: #FFFFFF;
}
.prompt-library-container .loading-container .btn.btn-primary:hover,
.prompt-library-container .error-container .btn.btn-primary:hover {
  background: #183e67;
}
.prompt-library-container .empty-state {
  text-align: center;
  padding: 32px !important;
  color: #97A0AC !important;
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dashoffset: 60px;
  }
  50% {
    stroke-dashoffset: 20px;
  }
  100% {
    stroke-dashoffset: 60px;
  }
}
.draft-indicator {
  margin-left: 8px;
  font-size: 0.85em;
  padding: 2px 6px;
}
.draft-indicator.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}
.draft-indicator.clickable:hover {
  background: rgba(29, 74, 124, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.perm-tags {
  display: flex;
  flex-wrap: wrap;
}
.perm-cell {
  width: 220px;
}
.perm-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.perm-tag.muted {
  background: #f9fafb;
  color: #6b7280;
}
/* Lock Status Styles */
.lock-status-cell .lock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}
.lock-status-cell .lock-status.locked {
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}
.lock-status-cell .lock-status.locked svg {
  color: #DC2626;
}
.lock-status-cell .lock-status.unlocked {
  background-color: #F0FDF4;
  color: #16A34A;
  border: 1px solid #86EFAC;
}
.lock-status-cell .lock-status.unlocked svg {
  color: #16A34A;
}
.lock-status-cell .lock-status span {
  font-family: 'General Sans', sans-serif;
}

.sidenav {
  width: 70px;
  background: #091118 !important;
  color: #82868C;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  transition: all 0.1s ease-in-out;
  overflow: hidden;
}
.sidenav ul {
  padding: 0 !important;
  margin: 0 !important;
}
.sidenav.open {
  width: 250px;
}
.sidenav-item {
  list-style: none;
}
.sidenav-link {
  white-space: nowrap;
}
.sidenav-link.active a {
  color: #F47721;
}
.sidenav-link a {
  padding: 0.75rem 1.2rem;
  color: #838790;
  transition: all 0.1s ease-in-out;
  display: flex;
  align-items: center;
}
.open .sidenav-link a {
  padding: 0.75rem 1.6rem;
}
.sidenav-link:HOVER a {
  color: #fff;
  text-decoration: none;
}
.sidenav-icon {
  width: 2rem !important;
  min-width: 2rem !important;
  margin-right: 1.7rem;
  font-size: 1.2rem;
  transition: margin-right 0.1s ease-in-out;
}
.open .sidenav-icon {
  margin-right: 1rem;
}
.sidenav-logo {
  margin-left: 1rem;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s ease-in-out;
  width: 34px;
  overflow: hidden;
  min-width: 34px;
}
.open .sidenav-logo {
  margin-left: 1.9rem;
  width: auto;
  min-width: auto;
}
.sidenav-divider {
  border-color: rgba(255, 255, 255, 0.06) !important;
  border-top: 1px solid;
  margin-bottom: 0.75rem;
  padding: 0;
}
.ham {
  font-size: 1.3rem;
  padding-left: 5rem;
}
.ham:HOVER a {
  cursor: pointer;
  color: #fff !important;
  text-decoration: none;
}

.edit-task-modal.modal-dialog {
  max-width: 55%;
}

.group-table .icon-col {
  width: 5%;
}
.group-table .name-col {
  width: 30%;
}
.group-table .client-col {
  width: 20%;
}
.group-table .created-col {
  width: 25%;
}
.group-table .created-by-col {
  width: 20%;
}
.admin-groups-section .tab-content > .active {
  display: flex;
}

.column-title .dropdown-toggle::after {
  content: none;
}
.column-title .dropdown-toggle {
  font-size: 1.7rem;
  padding: 0 0.75rem;
}

.row-load-time {
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.col-left-time {
  width: 612px;
  z-index: 999;
}
.col-right-time {
  width: 100%;
}
.col-left-base {
  width: 302px;
  z-index: 999;
}
.col-right-base {
  width: 100%;
}
.text-align-center-load {
  padding-top: 50%;
  text-align: center;
  vertical-align: middle;
}
.text-align-center-load-80 {
  padding-top: 61%;
  text-align: center;
  vertical-align: middle;
}
.text-align-center-add {
  padding-top: 10%;
  text-align: center;
  vertical-align: middle;
}
.alert-session {
  margin-left: 75%;
  margin-top: 30px;
  position: absolute;
  z-index: 99999;
}
.graph-modal-dialog {
  max-width: 950px;
  min-width: 570px;
  width: 950px;
}
.modal-dialog {
  max-width: 950px;
  min-width: 570px;
  width: 950px;
}
.modal-dialog .modal-dialog-centered .graph-modal-dialog {
  max-width: 950px;
  min-width: 570px;
  width: 950px;
}
.scroll-hidden::-webkit-scrollbar {
  display: none;
}
::-webkit-scrollbar {
  width: 8px;
  /* Tamaño del scroll en vertical */
  height: 8px;
  /* Tamaño del scroll en horizontal */
}
::-webkit-scrollbar-thumb {
  background: #3f3f3f;
  border-radius: 4px;
}
/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}
.tsg-chart .chart-wrapper .local-modal .modal-dialog {
  max-width: 1500px;
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 1500px;
    margin: 1.75rem auto;
  }
}

.row-load-time {
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.col-left-time {
  width: 610px;
  z-index: 999;
  height: auto;
}
.result-col-left-time {
  width: 610px;
  z-index: 999;
}
.col-right-time {
  width: 100%;
}
.col-left-base {
  width: 302px;
  z-index: 999;
}
.col-right-base {
  width: 100%;
}
.text-align-center-load {
  padding-top: 50%;
  text-align: center;
  vertical-align: middle;
}
.text-align-center-load-80 {
  padding-top: 61%;
  text-align: center;
  vertical-align: middle;
}
.text-align-center-add {
  padding-top: 10%;
  text-align: center;
  vertical-align: middle;
}
.alert-session {
  margin-left: 75%;
  margin-top: 30px;
  position: absolute;
  z-index: 99999;
}
.graph-modal-dialog {
  max-width: 950px;
  min-width: 570px;
  width: 950px;
}
.modal-dialog {
  max-width: 950px;
  min-width: 570px;
  width: 950px;
}
.modal-dialog .modal-dialog-centered .graph-modal-dialog {
  max-width: 950px;
  min-width: 570px;
  width: 950px;
}
.scroll-hidden::-webkit-scrollbar {
  display: none;
}
::-webkit-scrollbar {
  width: 8px;
  /* Tamaño del scroll en vertical */
  height: 8px;
  /* Tamaño del scroll en horizontal */
}
::-webkit-scrollbar-thumb {
  background: #3f3f3f;
  border-radius: 4px;
}
/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}
.tsg-chart .chart-wrapper .local-modal .modal-dialog {
  max-width: 1500px;
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 1500px;
    margin: 1.75rem auto;
  }
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
} 
.completed {
  text-decoration: line-through;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
}
.filter-item {
  margin: 5px;
}
.grey-background {
  background: #E3E6EB;
  border-radius: 4px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 22px;
}
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked:disabled + .slider {
  opacity: 0.5;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.email-update-group {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal-backdrop {
  opacity: 0.5 !important;
}
.swal2-title {
  padding: 0.8em 1em 0.2em !important;
  font-size: 1.4em !important;
  line-height: 1.3em !important;
}
.swal2-styled.swal2-confirm {
  background-color: #fb8e2d !important;
  border: 1px solid #f07405 !important;
}
.swal2-styled.swal2-deny {
  background-color: transparent !important;
  color: #000 !important;
  border: 1px solid !important;
}
.mh-150 {
  min-height: 150px;
}
hr {
  border: none;
  border-top: 1px solid #ced4da;
  margin: 20px 0;
}
html {
  height: 100%;
  font-size: 0.95rem;
}
.bluish {
  color: #1D4A7C;
}
body {
  font-family: 'Roboto', sans-sarif;
  margin: 0px !important;
  padding: 0px !important;
  height: calc(100% - 1px);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
#root {
  height: 100%;
  display: flex;
  flex-direction: column;
}
body:not(.login-page) #root > *:not(footer) {
  padding-bottom: 76px !important;
}
.App {
  font-family: sans-serif;
  text-align: center;
}
.t-c {
  text-align: center;
}
.bs-3 {
  box-shadow: 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
}
.bs-2 {
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.bs-1 {
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
}
.w-100 {
  width: 100%;
}
.w-75 {
  width: 75%;
}
.w-50 {
  width: 50%;
}
.h-100 {
  height: 100%;
}
.w-50 {
  width: 50%;
}
.pad-25 {
  padding: 25px;
}
.pr-15 {
  padding-right: 15px;
}
.pr-10 {
  padding-right: 10px;
}
.pr-5 {
  padding-right: 5px !important;
}
.pl-15 {
  padding-left: 15px;
}
.pl-5 {
  padding-left: 5px !important;
}
.pt-10 {
  padding-top: 10px;
}
.pad-t-5 {
  padding-top: 5px;
}
.pt-15 {
  padding-top: 15px;
}
.pt-25 {
  padding-top: 25px;
}
.pb-15 {
  padding-bottom: 15px;
}
.pb-10 {
  padding-bottom: 10px;
}
.pb-5 {
  padding-bottom: 5px !important;
}
.mr-15 {
  margin-right: 15px;
}
.ml-15 {
  margin-left: 15px;
}
.mr-10 {
  margin-right: 10px;
}
.mr-5 {
  margin-right: 5px !important;
}
.ml-5 {
  margin-left: 5px !important;
}
.ml-10 {
  margin-left: 10px !important;
}
.mt-10 {
  margin-top: 10px !important;
}
.mt-25 {
  margin-top: 25px !important;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.footer-container {
  position: relative;
  height: 100%;
  min-height: calc(100vh - 180px);
}
.mr-25 {
  margin-right: 25px !important;
}
.ml-25 {
  margin-left: 25px !important;
}
.br-4 {
  border-radius: 4px;
}
.text-nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.o-h {
  overflow: hidden;
}
.o-a {
  overflow: auto;
}
.success {
  color: #28a745;
}
.success.disabled {
  color: #6c757d;
  cursor: not-allowed;
}
.danger {
  color: #dc3545;
}
.danger.disabled {
  color: #6c757d;
  cursor: not-allowed;
}
.danger:hover:not(.disabled) {
  color: #bd2130;
}
.success:hover:not(.disabled) {
  color: #1e7e34;
}
.disabled-text,
.disabled-icon {
  color: gray !important;
  cursor: not-allowed;
}
.dropdown-menu {
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  padding: 0;
  min-width: 17rem;
}
.dropdown-menu-res {
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  padding: 0;
  min-width: 100px;
}
.dropdown-item__icon {
  margin-right: 10px;
  font-size: 1.2rem;
}
.list-group-item {
  border: none;
  align-items: center;
}
.list-group-item:HOVER {
  background-color: rgba(0, 0, 0, 0.03);
  cursor: pointer;
}
.a-i-b {
  align-items: flex-start !important;
}
.flexy-no-c {
  display: flex;
}
.a-i {
  align-items: center;
}
.flexy {
  display: flex !important;
  align-items: center;
}
.flexy-wrap {
  flex-wrap: wrap;
}
.flexy-col {
  display: flex;
  flex-direction: column;
}
.j-c {
  justify-content: center;
}
.justify-end {
  justify-content: end;
}
.justify-between {
  justify-content: space-between;
}
.p-a {
  position: absolute;
}
.list-group-item input[type='checkbox'] {
  margin-right: 10px;
}
.list-group-item input[type='radio'] {
  margin-right: 10px;
}
.btn--round {
  width: 28px;
  height: 28px;
  min-width: 28px;
  max-width: 28px;
  min-height: 28px;
  max-height: 28px;
  border-radius: 20px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0px;
}
.btn-invisible {
  border: none;
  background-color: transparent;
}
.btn-invisible:focus {
  border: none;
  outline: none;
}
.btn-invisible:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.btn {
  border-width: 2px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
}
.btn.smaller {
  font-size: 0.9rem;
}
.btn.xsmall {
  font-size: 0.8rem;
}
.btn.less-pad {
  padding: 0.2rem 0.6rem !important;
}
.font-small {
  font-size: 0.9rem;
}
.btn--plus .plus {
  width: 25px;
  height: 25px;
  border: 2px solid #ddd;
  border-radius: 30px;
  margin-left: 10px;
}
.btn--size {
  font-size: 100%;
}
.breadcrumb {
  font-size: 1rem;
  background: #fff;
  margin-bottom: 0;
}
.btn-outline-primary:hover .plus {
  border-color: #fff !important;
}
.btn-plain {
  background: none;
}
.modal-backdrop.hide {
  display: none;
}
.modal-title {
  font-weight: 600;
}
.modal-content .row {
  margin-right: 0px;
  padding: 10px 0 10px 0;
  align-items: center;
}
.slide-in {
  width: 56%;
  position: fixed;
  top: 0;
  height: 100vh;
  z-index: 19;
  background: #fff;
  right: 0;
  max-width: 700px;
}
.team-builder {
  width: 46%;
  position: fixed;
  top: 0;
  height: 100vh;
  z-index: 18;
  background: #fff;
  right: 0;
  max-width: 600px;
}
.small-loader {
  border: 3px solid #f3f3f3;
  border-radius: 50%;
  border-top: 3px solid #999;
  width: 25px;
  height: 25px;
  -webkit-animation: spin 0.8s linear infinite;
  /* Safari */
  animation: spin 0.8s linear infinite;
}
.md-loader {
  border: 3px solid #f3f3f3;
  border-radius: 50%;
  border-top: 3px solid #fb8e2d;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 0.8s linear infinite;
  /* Safari */
  animation: spin 0.8s linear infinite;
}
.md-loader.small {
  width: 22px;
  height: 22px;
  border-width: 2px;
}
.md-loader.light {
  border-color: #007bff;
  border-top-color: #fff;
}
.md-select-loader {
  border: 2px solid #007bff;
  border-radius: 50%;
  border-top: 2px solid #fff;
  width: 28px;
  height: 28px;
  -webkit-animation: spin 0.8s linear infinite;
  /* Safari */
  animation: spin 0.8s linear infinite;
}
/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Citation tooltip fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.dashboard .row {
  margin-right: 0px;
  margin-left: 0px;
}
.dashboard .card {
  border: none;
  border-radius: 8px;
}
.text-primary {
  color: #1D4A7C;
}
.border-primary {
  border: 1px solid #1D4A7C;
}
.tsg-bg-primary {
  background: rgba(0, 123, 255, 0.01);
}
.text-muted {
  color: #a3a4a6 !important;
}
.text-dark {
  color: #4E5155;
}
.link {
  color: #1e70cd;
}
.link:HOVER {
  text-decoration: underline;
}
.slide-in-title {
  font-size: 1.4rem;
}
.slide-in-sub-title {
  font-size: 1.2rem;
}
label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: rgba(0, 0, 0, 0.8);
}
.val-required {
  color: red;
  padding-left: 3px;
}
table {
  margin-top: 18px;
  width: 100%;
  font-family: 'Roboto', sans-serif;
}
table tbody {
  border: 1px solid #ddd;
}
table tbody tr td .btn-primary {
  background-color: #fb8e2d;
  border-color: #f07405;
}
table .btn-primary:hover,
table .btn-primary:active,
table .btn-primary:focus,
table .btn-primary.disabled:not(.blue),
table .btn-primary:disabled:not(.blue) {
  background-color: #dc6a04 !important;
  border-color: #be5c04 !important;
  box-shadow: none;
}
th:first-child {
  border-top-left-radius: 10px;
}
th:last-child {
  border-top-right-radius: 10px;
}
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #ddd;
}
table tr td,
table tr th {
  padding: 10px 10px 10px 10px;
}
th {
  font-weight: 700;
  background-color: #2e323a;
  color: #fff;
}
table tr {
  transition: background 0.08s ease-in-out;
}
table thead tr {
  border-bottom: 2px solid #ccc;
}
table tbody tr:hover {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.06);
}
table tbody tr:hover .hover-font-color {
  color: #1D4A7C;
}
table tbody tr:hover .hover-text-decoration {
  text-decoration: underline;
}
table tbody tr.selected {
  background: rgba(0, 0, 0, 0.075);
}
table tbody tr.selected .selected-font-color {
  color: #1D4A7C;
}
table .fa-users:hover {
  color: #fb8e2d !important;
}
.ui-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.1rem 1.1rem 0.1rem 1.2rem;
}
.ui-filter {
  width: 300px;
}
select.small {
  width: 150px;
  max-width: 150px;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  font-weight: 700;
}
.nav-tabs .nav-link {
  background: #fafafa;
  border-bottom: 1px solid #e9ecef;
  margin-right: 5px;
}
.nav-link.disabled {
  pointer-events: none;
  /* Evita que el enlace sea clickeable */
  color: gray;
  text-decoration: none;
}
.nav-link.active {
  text-decoration: underline;
  color: #007bff !important;
  text-decoration-thickness: 2.5px !important;
  text-underline-offset: 15px !important;
}
.local-modal.modal.show {
  display: block;
  overflow: auto;
}
.dropdown-menu {
  position: absolute;
  z-index: 7;
  background: #fff;
  width: 270px;
  max-height: 375px;
  overflow: auto;
  border: none;
  border-radius: 0;
}
.dropdown-menu-res {
  position: absolute;
  z-index: 999;
  background: #fff;
  width: 100px;
  max-height: 375px;
  overflow: auto;
  border: none;
  border-radius: 0;
}
.dropdown-item {
  overflow: hidden;
  padding: 0 16px;
  height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}
.dropdown-toggle::after {
  margin-left: 0.855em;
}
.modal-lbl {
  padding-bottom: 6px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.72);
}
.no-left-pad {
  padding-left: 0 !important;
}
.no-right-pad {
  padding-right: 0 !important;
}
.is-invalid .invalid-feedback {
  display: block;
}
.form-lbl {
  font-weight: 600;
}
textarea.form-control {
  height: 55px;
}
.tt-extra {
  z-index: 999999;
}
button .medium {
  font-size: 1.1rem;
  margin-right: 10px;
}
.gray-pane {
  margin-left: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f5f5f5;
}
.admin-table {
  transition: background 0.08s ease-in-out;
}
.admin-table .header {
  padding: 8px 0;
  border-bottom: 2px solid #ccc;
}
.admin-table .header div {
  font-weight: 600;
}
.admin-row {
  padding: 6px 0;
}
.admin-table .admin-row:hover {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.06);
}
.admin-table .admin-row:hover .hover-font-color {
  color: #1D4A7C;
}
.admin-table .admin-row:hover .hover-text-decoration {
  text-decoration: underline;
}
.admin-table .admin-row.selected {
  background: rgba(0, 0, 0, 0.075);
}
.admin-table .admin-row.selected .selected-font-color {
  color: #1D4A7C;
}
.p-r {
  position: relative;
}
.rc-slider-dot-active {
  border-color: #1D4A7C;
}
.rc-slider-track {
  background-color: #bbb;
}
.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
  supported by Chrome and Opera */
}
.rc-slider-mark-text-active {
  color: #1D4A7C;
  font-weight: 600;
}
.rc-slider-mark-text {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
  supported by Chrome and Opera */
}
.rc-slider-handle {
  border: solid 2px #1D4A7C;
}
.rc-slider-handle:hover {
  border-color: #1D4A7C;
}
.rc-slider-handle:active {
  border-color: #1D4A7C;
  box-shadow: 0 0 5px #1D4A7C;
}
.rc-slider-handle-click-focused:focus {
  border-color: #1D4A7C;
}
.hidden {
  display: none !important;
}
.rc-slider-disabled .rc-slider-mark-text-active {
  color: #999;
}
.dropdown-header {
  color: #1D4A7C;
  font-weight: 600;
}
.very-small-lbl {
  padding-left: 3px;
  padding-top: 3px;
  font-size: 0.8rem;
  color: #888;
}
.fw-600 {
  font-weight: 600;
}
.primary-orange-bg {
  background: #fb8e2d;
}
.header-lbl-small {
  color: #fb8e2d;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.025rem;
  margin-bottom: -4px;
}
.underline-link {
  color: #1D4A7C;
  text-decoration: underline;
  cursor: pointer;
}
.card-title {
  color: #007bff;
}
.green-text {
  color: #093;
}
.red-text {
  color: #ff333a;
}
.resource-banner {
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  min-height: 67px;
  height: 67px;
}
.resource-banner-wrap {
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  min-height: 67px;
}
.resource-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 1.3rem;
  width: 100%;
}
.resource-title-wrap {
  font-size: 1.3rem;
  width: 100%;
}
select.form-control.is-invalid,
select.was-validated .form-control:invalid {
  background-position: center right calc(1.4em) !important;
}
.phase-wrapper {
  max-width: 45px;
  width: 45px;
}
.btn-green {
  color: #093;
  border-color: #068b32;
}
.btn-border {
  border: 2px solid #ccc;
}
.t-u {
  text-transform: uppercase;
}
.f-b {
  font-weight: bold;
}
.fw-500 {
  font-weight: 500;
}
.trashy {
  cursor: pointer;
}
.trashy-o {
  cursor: pointer;
  opacity: 0.4;
}
.trashy:HOVER {
  color: red;
}
.trashy-o:HOVER {
  color: red;
  opacity: 1;
}
.edity {
  cursor: pointer;
}
.edity-o {
  cursor: pointer;
  opacity: 0.4;
}
.edity:HOVER {
  color: #0069d9;
}
.edity-o:HOVER {
  color: #0069d9;
  opacity: 1;
}
input[type="radio"] {
  -webkit-appearance: radio;
}
@media only screen and (max-width: 1370px) {
  .btn--size {
    font-size: 85%;
  }
}
.tooltip-container {
  position: relative;
  /*relative: los elementos se posicionan de forma relativa a su posición normal.*/
  display: inline-block;
}
.tooltip-text {
  border-radius: 3px;
  display: inline-block;
  font-size: 13px;
  opacity: 0;
  padding: 8px 21px;
  position: absolute;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  top: -40%;
  visibility: hidden;
  z-index: 999;
  color: #fff;
  text-align: center;
  left: 550%;
  transform: translateX(-50%);
  background-color: #222;
  width: 180px;
  font-weight: 100;
}
.tooltip-text-lb {
  border-radius: 3px;
  display: inline-block;
  font-size: 13px;
  opacity: 0;
  padding: 8px 21px;
  position: absolute;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  visibility: hidden;
  z-index: 999;
  color: #fff;
  text-align: center;
  left: 220%;
  transform: translateX(-50%);
  background-color: #222;
  width: 250px;
  font-weight: 100;
}
.tooltip-text::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.tooltip-text-lb::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}
.tooltip-container:hover .tooltip-text-lb {
  visibility: visible;
  opacity: 1;
}
.no-arrow {
  -webkit-appearance: none;
  -moz-appearance: none;
}
.no-arrow::-ms-expand {
  display: none;
}
.btn-primary-new {
  color: #fff;
  background-color: #1D4A7C;
  border-color: #1D4A7C;
}
.btn-primary-new:disabled {
  color: #fff;
  background-color: #1D4A7C;
  border-color: #1D4A7C;
}
.btn-primary-new:hover {
  color: #fff;
  background-color: #0b2e57;
  border-color: #0b2e57;
}
.modal-header-new {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  background: #000;
  color: #fff;
}
.swal2-container-high-z-index {
  z-index: 9999999 !important;
}
.swal2-popup-high-z-index {
  z-index: 10000000 !important;
}
.swal2-backdrop-high-z-index {
  z-index: 9999998 !important;
}
.swal2-actions {
  z-index: 10000001 !important;
  position: relative !important;
}
.swal2-confirm {
  background-color: #ff6f00 !important;
  color: white !important;
  border-radius: 4px !important;
  padding: 8px 16px !important;
  margin: 5px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
}
.swal2-confirm:hover {
  background-color: #cc5900 !important;
}
.swal2-confirm:focus {
  box-shadow: 0 0 0 2px rgba(255, 111, 0, 0.2) !important;
  outline: none !important;
}
.swal2-cancel {
  background-color: #808080 !important;
  color: white !important;
  border-radius: 4px !important;
  padding: 8px 16px !important;
  margin: 5px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
}
.swal2-cancel:hover {
  background-color: #676767 !important;
}
.swal2-cancel:focus {
  box-shadow: 0 0 0 2px rgba(128, 128, 128, 0.2) !important;
  outline: none !important;
}
.chat-delete-popup {
  z-index: 9999 !important;
  position: relative !important;
}
.swal2-container {
  z-index: 9998 !important;
}
.swal2-backdrop {
  z-index: 9997 !important;
}
.chakra-modal__overlay,
.chakra-modal__content-container {
  z-index: 1400 !important;
}
p {
  margin-bottom: 0 !important;
}

