/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS 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.
 *

 */


body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* direct_uploads.css */

.direct-upload {
  display: inline-block;
  position: relative;
  padding: 2px 4px;
  margin: 0 3px 3px 0;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  font-size: 11px;
  line-height: 13px;
}

.direct-upload--pending {
  opacity: 0.6;
}

.direct-upload__progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  opacity: 0.2;
  background: #0076ff;
  transition: width 120ms ease-out, opacity 60ms 60ms ease-in;
  transform: translate3d(0, 0, 0);
}

.direct-upload--complete .direct-upload__progress {
  opacity: 0.4;
}

.direct-upload--error {
  border-color: red;
}

input[type=file][data-direct-upload-url][disabled] {
  display: none;
}

.sidebar li .submenu{
	list-style: none;
	margin: 0;
	padding: 0;
	padding-left: 0rem;
	padding-right: 0rem;
}


.home-bg {
  background-image: url(/assets/main_bg-ca6e0e1a9654baccdac6022ff97d3684091ae23465189a3a808a329493c78546.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.home-bg.after-login {
  background-image: url(/assets/main_bg2-2028d27a2dd8c98cf05f1e8e20e26c894cec159bb48691d12012a50d2b2465c1.jpg);
}


.homepage-bg {
  background-image: url(/assets/low_bg-b7c5988e9f35e81884bc1e69cd266b4f268298f990c6e1b6f47cbf7c3b748212.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: homebg 90s ease-in-out infinite;
}

.home-console {
  position: relative;
  isolation: isolate;
  color: #f8fafc;
}

.home-glow {
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.25), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(14, 116, 144, 0.35), transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.2));
}

.home-grid {
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 65%);
}

.home-panel {
  position: relative;
  overflow: hidden;
}

.home-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(34, 211, 238, 0.08), transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}

.home-card {
  position: relative;
  overflow: hidden;
}

.home-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home-card:hover::before {
  opacity: 1;
}

.home-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.home-card .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes homePulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.5;
  }
}

.home-glow {
  animation: homePulse 8s ease-in-out infinite;
}

@keyframes homebg {
  0% {
    background-image: url(/assets/low_bg2-55e90d36424f0433ca350d6222d93a6edb70eb672ac534950e82f4db54070c52.jpg);
  }

  25% {
    background-image: url(/assets/low_bg3-93b5d643561500c1cce7ebad9dae43b570548ca8a2d2df1891325c772563b765.jpg);
  }

  50% {
    background-image: url(/assets/low_bg-b7c5988e9f35e81884bc1e69cd266b4f268298f990c6e1b6f47cbf7c3b748212.jpg);
  }

  75% {
    background-image: url(/assets/low_bg4-8bddc50684480f024353134e9451e13f835cc564bf68bb727d731741d6be628b.jpg);
  }

  100% {
    background-image: url(/assets/low_bg2-55e90d36424f0433ca350d6222d93a6edb70eb672ac534950e82f4db54070c52.jpg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-bg {
    animation: none;
  }
}

.main-header {
  background: rgba(255, 255, 255, .75);
}

.account-form-bg {
  background: rgba(255, 255, 255, .75);
}

.markdown-body p {
  word-wrap: break-word;
  white-space: pre-wrap;
}

.markdown-body code,
.markdown-body tt {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  display: inline-block;
  white-space: break-spaces;
  background-color: #e5e7eb;
  border-radius: 6px;
}

.chat-markdown p + p {
  margin-top: 0.65rem;
}

.chat-markdown ul,
.chat-markdown ol {
  margin: 0.4rem 0 0.4rem 1.15rem;
}

.chat-markdown blockquote {
  margin: 0.55rem 0;
  border-left: 3px solid #d1d5db;
  padding-left: 0.75rem;
  color: #4b5563;
}

.chat-markdown pre {
  margin: 0.55rem 0;
  padding: 0.75rem 0.85rem;
  overflow-x: auto;
  background-color: #111827;
  color: #e5e7eb;
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
}

.chat-markdown pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
  display: inline;
}

code.css,
code.javascript,
code.ruby,
code.python,
code.html {
  padding: 2em;
}



button[disabled] {
  background-color: #727272!important;
  cursor: not-allowed;
}

img:not([src]), img[src=""] {
  opacity: 0;
}

