.disabled-cursor {
  cursor: not-allowed;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body                 {
  /* font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; */
  font-size          : .8rem;
}
pre {
  overflow-x: auto;
}
.remixIDE            {
  width              : 100%;
  flex               : 1;
  overflow           : hidden;
  flex-direction     : row;
  display            : flex;
}
.mainpanel           {
  display            : flex;
  flex-direction     : column;
  overflow           : hidden;
  flex               : 1;
  min-width          : 320px;
}
.iconpanel           {
  display            : flex;
  flex-direction     : column;
  overflow           : hidden;
  width              : 50px;
  -moz-user-select        : none;
       user-select        : none;
}
.sidepanel           {
  display            : flex;
  flex-direction     : row-reverse;
  width              : 320px;
  transition         : width 0.25s;
}
.statusBar           {

}
.top-bar {

}
.pinnedpanel           {
  width              : 320px;
  transition         : width 0.25s;
}
.right-panel-maximized {
  width              : 50% !important;
  max-width          : 50%;
  margin             : 0 auto;
  flex               : none;
  border-left        : none !important;
  border-right       : none !important;
}
.highlightcode       {
  position           : absolute;
  z-index            : 20;
  background-color   : var(--info);
}
.highlightcode_fullLine {
  position           : absolute;
  z-index            : 20;
  background-color   : var(--info);
  opacity            : 0.5;
}
.centered {
  position           : fixed;
  top                : 20%;
  left               : 45%;
  width              : 200px;
  height             : 200px;
}
.centered svg path {
  fill               : var(--bs-secondary);
}
.centered svg polygon {
  fill               : var(--bs-secondary);
}
.onboarding {
  color              : var(--text-info);
  background-color   : var(--info);
}
.matomoBtn {
  width              : 100px;
}
.splash {
  text-align         : center;
}
.remix-ui-tabs_end {
  height             : 2.15rem;
  width              : 4rem;
  right              : -10px;
  filter             : opacity(0.5);
}

.panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: auto;
}

@font-face {
    font-family: 'codicon-vscode';
    font-display: block;
    src: url('codicon.ttf') format('truetype');
}

.codicon-screen-icon {
    font: normal normal normal 20px/1 'codicon-vscode';
    display: inline-block;
    text-decoration: none;
    text-rendering: auto;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-user-select: none;
         user-select: none;
    cursor: pointer;
}

/* Right panel header icon alignment adjustments */

.swapitHeader .codicon-layout-sidebar-left-dock,
.swapitHeader .codicon-layout-sidebar-right-dock {
    margin-left: 0.75rem !important;
}

.swapitHeader .codicon-screen-icon {
    margin-left: 0.75rem !important;
}

.swapitHeader .codicon-close {
    margin-left: 0.5rem !important;
}

.swapitTitle {
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swapitTitle i {
    padding-left: 6px;
    font-size: 14px;
}

.swapitHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
}

.icons i {
    height: 80%;
    cursor: pointer;
}

.pluginsContainer {
    height: 100%;
    overflow-y: auto;
}

.titleInfo {
    padding-left: 10px;
}

.versionBadge {
    background-color: var(--bs-light);
    padding: 0 7px;
    font-weight: bolder;
    margin-left: 5px;
    text-transform: lowercase;
    cursor: default;
}

iframe {
    height: 100%;
    width: 100%;
    border: 0;
    display: block;
}

.plugins {
    height: 100%;
}

.plugItIn {
    display: none;
    height: 100%;
}

.plugItIn>div {
    overflow-x: hidden;
    height: 100%;
    width: 100%;
}

.plugItIn.active {
    display: block;
}

#editorView {
    height: 100%;
    width: 100%;
    border: 0;
    display: block;
}

#mainPanel {
    height: 100%;
    width: 100%;
    border: 0;
    display: block;
}

.mainPanel-wrap, .editor-wrap {
    flex: 1;
    min-height: 100px;
}

.terminal-wrap {
    min-height: 70px;
    height: 20%;
}

.terminal-wrap.maximized {
    height: 100% !important;
    flex: 1;
}

.terminal-wrap.minimized {
    height: 2rem !important;
}

.highlight {
    animation: highlight 2s forwards;
}

.remixui_height {
  height: 97vh;
}

/* dragbar UI */

.dragbar_terminal {
  display: block;
  width: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  height: 0.3em;
  z-index: 100;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 900;
}

.dragbar_terminal:hover,
.dragbar_terminal.ondrag {
  background-color: var(--bs-secondary);
  cursor: row-resize;
}

/* Hide dragbar when terminal panel is hidden */

.dragbar_terminal:has(+ .terminal-wrap.d-none) {
  display: none !important;
}

/* Hide dragbar when terminal panel is maximized */

.dragbar_terminal:has(+ .terminal-wrap.maximized):hover,
.dragbar_terminal:has(+ .terminal-wrap.maximized).ondrag,
.dragbar_terminal:has(+ .terminal-wrap.maximized) {
  background-color: transparent !important;
  cursor: default !important;
  pointer-events: none !important;
}

.mainview            {
    display           : flex;
    flex-direction    : column;
    height            : 100%;
    width             : 100%;
    position          : relative;
  }  



/* dragbar UI */

.dragbar {
  display: block;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 0.3em;
  z-index: 1000;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1000;
}

.dragbar:hover,
.dragbar.ondrag {
  background-color: var(--bs-secondary);
  cursor: col-resize;
}

/* Hide dragbar when right panel is maximized */

#right-side-panel.right-panel-maximized ~ .dragbar:hover,
#right-side-panel.right-panel-maximized ~ .dragbar.ondrag,
#right-side-panel.right-panel-maximized ~ .dragbar {
  background-color: transparent !important;
  cursor: default !important;
  pointer-events: none !important;
}

/* Sonner toast styling */
.remixui_sonner_toast {
  border-radius: 8px;
  padding: 5px 5px 5px 5px;
  font-weight: 500 !important;
  font-size: 19px !important;
  min-width: 350px;
  max-width: 600px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.remixui_custom_toast {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Keyframe animations for toast entrance */
@keyframes slideInRight {
  0% {
    transform: translateX(120%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
@keyframes attentionShake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-3px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(3px);
  }
}
/* Override Sonner default styles to match Remix theme */
[data-sonner-toaster] {
  z-index: 1001 !important;
  display: flex;
  flex-direction: column;
  --normal-bg: transparent !important;
  --normal-border: transparent !important;
  /* Disable Sonner's default slide animation */
  --y: 0px !important;
  --offset: 0px !important;
  /* Configure exit animation direction */
  --swipe-direction: right !important;
}
[data-sonner-toaster]:hover [data-sonner-toast] {
  transform: scale(1.02) !important;
  transition: transform 0.2s ease !important;
}
[data-sonner-toaster][data-y-position="top"] {
  top: 16px;
}
[data-sonner-toaster][data-x-position="right"] {
  right: 16px;
}
[data-sonner-toast] {
  color: var(--bs-dark, #212529) !important;
  border: 0px solid var(--bs-dark, #6c757d) !important;
  font-weight: 500 !important;
  font-size: 19px !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: relative !important;
  width: 100%;
  /* Override Sonner's default animation with custom right slide */
  animation: slideInRight 0.3s ease-out !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  /* Ensure no vertical offset from Sonner */
  --y: 0px !important;
}
[data-sonner-toast]:hover {
  transform: scale(1.03) translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
  animation: none !important;
}
[data-sonner-toast][data-expanded="true"] {
  scale: 1 !important;
}
[data-sonner-toast][data-expanded="false"] {
  scale: 1 !important;
}
[data-sonner-toast][data-front="true"] {
  scale: 1 !important;
  z-index: 10 !important;
}
[data-sonner-toast][data-front="false"] {
  scale: 0.98 !important;
  opacity: 0.95 !important;
}
[data-sonner-toast][data-index]:not([data-index="0"]) {
  scale: 0.98 !important;
  opacity: 0.95 !important;
}
/* Exit animation - slide out to right */
[data-sonner-toast][data-removed="true"] {
  animation: slideOutRight 0.3s ease-in forwards !important;
}
[data-sonner-toast][data-swiping="true"] {
  transition: transform 0.2s ease-out !important;
}
[data-sonner-toast][data-styled="true"] {
  padding: 20px 28px !important;
  gap: 12px !important;
  font-weight: 700 !important;
}
/* Dark theme support */
[data-sonner-toast][data-theme="dark"],
.dark [data-sonner-toast] {
  background: var(--bs-dark, #212529) !important;
  color: var(--bs-light, #f8f9fa) !important;
  border: 0px solid var(--bs-secondary, #6c757d) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: slideInRight 0.3s ease-out !important;
  /* Ensure no vertical offset from Sonner */
  --y: 0px !important;
}
[data-sonner-toast][data-theme="dark"]:hover,
.dark [data-sonner-toast]:hover {
  transform: scale(1.03) translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  animation: none !important;
}
/* Close button styling */
[data-sonner-toast] [data-close-button] {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent !important;
  border: none;
  color: var(--bs-dark, #212529) !important;
  opacity: 0.7;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  z-index: 1;
}
[data-sonner-toast] [data-close-button]:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05) !important;
}
[data-sonner-toast] [data-close-button] svg {
  width: 16px;
  height: 16px;
}
/* Dark theme close button */
[data-sonner-toast][data-theme="dark"] [data-close-button],
.dark [data-sonner-toast] [data-close-button] {
  color: var(--bs-light, #f8f9fa) !important;
}
[data-sonner-toast][data-theme="dark"] [data-close-button]:hover,
.dark [data-sonner-toast] [data-close-button]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
/* Custom codicon close button styling */
[data-sonner-toast] .codicon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent !important;
  border: none;
  color: var(--bs-dark, #212529) !important;
  opacity: 0.7;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  z-index: 1;
}
[data-sonner-toast] .codicon-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05) !important;
}
/* Dark theme codicon close button */
[data-sonner-toast][data-theme="dark"] .codicon-close,
.dark [data-sonner-toast] .codicon-close {
  color: var(--bs-light, #f8f9fa) !important;
}
[data-sonner-toast][data-theme="dark"] .codicon-close:hover,
.dark [data-sonner-toast] .codicon-close:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
[data-sonner-toast][data-expanded=false][data-front=false] {
  height: auto !important;
}
[data-sonner-toast][data-mounted=true][data-expanded=true] {
  height: auto !important;
}
/* Bootstrap toast content animations */
.toast {
  transition: all 0.2s ease;
}
.toast-header {
  animation: fadeInDown 0.4s ease-out;
}
.toast-body {
  animation: fadeInUp 0.4s ease-out 0.1s both;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Enhanced spinner visibility */
.toast-header .spinner-border {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Button hover effects */
.toast .btn-close {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast .btn-close:hover {
  transform: scale(1.3);
}
.toast .btn-close:active {
  transform: scale(0.9);
}

.remixModalContent {
  box-shadow: 0 0 8px 10000px rgba(0,0,0,0.6),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}
.remixModalBody {
  overflow-y: auto;
  max-height: 600px;
  white-space: pre-line;
}
.modal-ok {
  min-width: 4rem;
}
.modal-cancel {
  min-width: 4rem;
}
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}
.copyIcon {
    margin-left: 5px;
    cursor: pointer;
}
/* Paragraphs */
.ai-paragraph {
  margin: 0.5em 0;
  line-height: 1.6;
  font-size: 1rem;
}
.ai-paragraph:first-child {
  margin-top: 0;
}
.ai-paragraph:last-child {
  margin-bottom: 0;
}
/* Headings */
.ai-heading {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}
.ai-heading:first-child {
  margin-top: 0.5em;
}
.ai-h1 {
  font-size: 1.85rem;
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 0.3em;
}
.ai-h2 {
  font-size: 1.6rem;
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 0.3em;
}
.ai-h3 {
  font-size: 1.35rem;
}
.ai-h4 {
  font-size: 1.15rem;
}
.ai-h5 {
  font-size: 1.05rem;
}
.ai-h6 {
  font-size: 0.95rem;
  color: var(--bs-secondary);
}
/* Inline Code */
.ai-inline-code {
  background: rgba(110, 118, 129, 0.4);
  color: var(--bs-body-color);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.75em;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  white-space: pre-wrap;
  word-break: break-word;
}
/* Code Block Wrapper */
.ai-code-block-wrapper {
  position: relative;
  margin: 1em 0;
  background: rgba(110, 118, 129, 0.15);
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.75em;
}
/* Code Header with Language Tag */
.ai-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(112, 149, 200, 0.2);
  border-bottom: 1px solid var(--bs-border-color);
}
.ai-code-language {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* Copy Button Styles */
.ai-copy-btn {
  background: transparent;
  border: none;
  color: var(--bs-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}
.ai-copy-btn:hover {
  background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.1));
  color: var(--bs-emphasis-color);
}
.ai-copy-btn:active {
  transform: scale(0.95);
}
.ai-copy-btn-absolute {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
}
/* Code Pre */
.ai-code-pre {
  margin: 0;
  padding: 0.75rem;
  overflow-x: auto;
  background: transparent;
  line-height: 1.5;
  font-size: 0.6rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
}
.ai-code-pre code {
  background: transparent;
  padding: 0;
  border: none;
  font-size: inherit;
  color: inherit;
  white-space: pre;
  word-break: normal;
}
/* Lists */
.ai-list {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}
.ai-list-unordered {
  list-style-type: disc;
}
.ai-list-ordered {
  list-style-type: decimal;
}
.ai-list-item {
  margin: 0.25em 0;
  padding-left: 0.25rem;
}
.ai-list-item > .ai-list {
  margin: 0.25em 0;
}
.ai-list-item > p {
  margin: 0.25em 0;
}
/* Links */
.ai-link {
  color: var(--bs-link-color);
  text-decoration: underline;
  text-decoration-color: var(--bs-link-color);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}
.ai-link:hover {
  color: var(--bs-link-hover-color);
  text-decoration-color: var(--bs-link-hover-color);
  text-decoration-thickness: 2px;
}
/* Blockquotes */
.ai-blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  border-left: 4px solid var(--bs-primary, #0d6efd);
  background: rgba(110, 118, 129, 0.15);
  border-radius: 0 4px 4px 0;
  color: var(--bs-body-color);
  font-style: italic;
}
.ai-blockquote > p:first-child {
  margin-top: 0;
}
.ai-blockquote > p:last-child {
  margin-bottom: 0;
}
/* Highlighted text / mark elements */
mark,
.ai-paragraph mark,
.ai-list-item mark {
  background: rgba(255, 212, 59, 0.4);
  color: var(--bs-body-color);
  padding: 0.1em 0.2em;
  border-radius: 2px;
}
/* Tables */
.ai-table-wrapper {
  margin: 1em 0;
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid var(--bs-border-color);
}
.ai-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: transparent;
}
.ai-table-head {
  background: rgba(110, 118, 129, 0.2);
  border-bottom: 2px solid var(--bs-border-color);
}
.ai-table-header-cell {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--bs-body-color);
  border-bottom: 2px solid var(--bs-border-color);
}
.ai-table-body .ai-table-row:nth-child(even) {
  background: rgba(110, 118, 129, 0.1);
}
.ai-table-body .ai-table-row:hover {
  background: rgba(110, 118, 129, 0.2);
}
.ai-table-cell {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.ai-table-body .ai-table-row:last-child .ai-table-cell {
  border-bottom: none;
}
/* Horizontal Rule */
.ai-divider {
  margin: 1.5em 0;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  opacity: 0.5;
}
/* Strong and Emphasis */
.ai-strong {
  font-weight: 600;
  color: var(--bs-emphasis-color);
}
.ai-emphasis {
  font-style: italic;
}
/* Improve chat bubble styling for better contrast */
.chat-bubble {
  background: var(--bs-body-bg) !important;
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
/* Better scrollbar for code blocks */
.ai-code-pre::-webkit-scrollbar {
  height: 8px;
}
.ai-code-pre::-webkit-scrollbar-track {
  background: transparent;
}
.ai-code-pre::-webkit-scrollbar-thumb {
  background: var(--bs-secondary);
  border-radius: 4px;
}
.ai-code-pre::-webkit-scrollbar-thumb:hover {
  background: var(--bs-secondary-color);
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .ai-paragraph {
    font-size: 0.9rem;
  }

  .ai-h1 {
    font-size: 1.5rem;
  }

  .ai-h2 {
    font-size: 1.25rem;
  }

  .ai-h3 {
    font-size: 1.1rem;
  }

  .ai-code-pre {
    font-size: 0.8rem;
  }

  .ai-table {
    font-size: 0.85rem;
  }
}
.aiMarkup {
  display: block;
  white-space: normal;
  line-height: var(--bs-body-line-height, 1.5);
}
/* remove default margins inside elements. Bootstrap is just too generous here.*/
.aiMarkup :where(p, h1, h2, h3, h4, h5, h6, ul, ol, pre, blockquote, table, hr) {
  margin: 0 !important;
}
/* Add clean vertical spacing between elements.*/
.aiMarkup > :where(* + *) {
  margin-top: .95rem;
}
.aiMarkup :where(li + li) { margin-top: .45rem; }
.aiMarkup pre { margin-top: .45rem; }
.aiMarkup :where(h1) { margin-top: 1rem; }
.aiMarkup :where(h2) { margin-top: .95rem; }
.aiMarkup :where(h3) { margin-top: .85rem; }
.aiMarkup hr { margin: .95rem 0; }

html, body, #root {
  height: 100%;
}

body {
  margin: 0;
}

a:focus:not([data-id$="Tab"]) {
  background-color: var(--bg-light) !important;
}

.fa-arrow-up-right-from-square::before { content: "\f08e"; }

.fa-xmark::before { content: "\f00d"; }


/*# sourceMappingURL=main.css.map*/