/* Custom sidebar nav styling */
.sidebar {
  background-color: #304a43; /* Primary sidebar color */
  height: 100vh; /* Full height for sidebar */
  padding-top: 20px;
  padding-bottom: 20px;
  position: fixed; /* Keeps the sidebar fixed */
  width: 250px; /* Set a fixed width for the sidebar */
}

/* Sidebar header/title */
.sidebar h4 {
  color: white;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: bold;
}

/* Styling for nav links */
.sidebar .nav-link {
  color: #ffffff; /* Default text color */
  padding: 10px 20px; /* Space out the links */
  font-size: 18px; /* Font size for links */
  text-decoration: none; /* Remove underline from links */
  display: block; /* Ensure the link fills the width */
  border-radius: 4px; /* Slightly rounded corners for the links */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

/* Active and hover state styling */
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: #253b34; /* Darker background on hover/active */
  color: #ffffff; /* Ensure text is white when hovered/active */
}

/* Add spacing between links */
.sidebar .nav-link + .nav-link {
  margin-top: 10px;
}

/* Styling for the navigation items (optional) */
.sidebar .nav-link:focus {
  outline: none; /* Remove focus outline for a cleaner look */
  box-shadow: 0 0 0 2px #304a43; /* Optional: Add a shadow for focus state */
}

.main-content {
  margin-left: 250px; /* Ensure content starts after the sidebar */
  padding: 20px; /* Add padding for the content */
  flex-grow: 1; /* Ensures content takes up the rest of the space */
  height: 100vh; /* Ensure content takes up the full height */
  overflow-y: auto; /* Allow scrolling if content exceeds screen height */
}

/* Make sure links are not underlined or cluttered on smaller screens */
@media (max-width: 768px) {
  .sidebar {
      width: 200px; /* Make sidebar a bit smaller on mobile */
  }

  .sidebar .nav-link {
      font-size: 16px; /* Adjust font size for smaller screens */
  }
}

.btn {
  background-color: #304a43
}

.btn:hover {
  background-color: #253b34;
}

.text-primary {
  color: #304a43 !important
}

.bg-primary {
  background-color: #304a43 !important
}
.list-group-item+.list-group-item {
  border-top-width: 1px;

}



/* Dropzone styling */
.dropzone {
  border: 2px dashed #304a43;
  border-radius: 5px;
  padding: 10px;
  min-height: 40px;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  margin-bottom: 10px;
  cursor: pointer;
}

.dropzone.dragover {
  background-color: #e9ecef;
  border-color: #253b34;
}

.dropzone .placeholder {
  color: #6c757d;
  font-size: 14px;
}

.draggable-fields {
  list-style: none;
  padding: 0;
  margin: 0;
}

.draggable {
  padding: 10px;
  margin-bottom: 5px;
  background-color: #ffffff;
  border: 1px solid #304a43;
  border-radius: 5px;
  cursor: grab;
}

.draggable:active {
  cursor: grabbing;
}

.draggable:hover {
  background-color: #f1f1f1;
}

/* CodeMirror styling */
.CodeMirror {
  height: 100px !important
}

