/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* CodeMirror CSS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/codemirror.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/theme/github.min.css');

/* Custom styles for CodeMirror integration */
.CodeMirror {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 14px;
  line-height: 1.5;
  height: auto;
  min-height: 200px;
}

.CodeMirror-focused {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px #6366f1;
}

.CodeMirror-scroll {
  min-height: 200px;
}

/* Ensure syntax highlighting is visible */
.CodeMirror .cm-keyword { color: #d73a49; font-weight: bold; }
.CodeMirror .cm-string { color: #032f62; }
.CodeMirror .cm-comment { color: #6a737d; font-style: italic; }
.CodeMirror .cm-number { color: #005cc5; }
.CodeMirror .cm-operator { color: #d73a49; }
.CodeMirror .cm-def .cm-variable { color: #6f42c1; }
.CodeMirror .cm-variable { color: #e36209; }
.CodeMirror .cm-builtin { color: #005cc5; }
.CodeMirror .cm-atom { color: #005cc5; }

code[class^="language-"] {
  font-size: var(--text-sm)!important;
}

/* Custom app styles */
.glassmorphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-glass {
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-action {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

.progress-bar {
  width: var(--progress-width, 0%);
}

