:root {
  --bs-body-bg: #32302f;
  --bs-body-color: #fff;
  --bs-primary:   #43403e;
  --bs-secondary: #65615f;
  --bs-success:   #0AD95C;
  --bs-danger:    #E63946;
  --bs-warning:   #f57722;
  --bs-info:      #00B4D8;
  --bs-light:     #f1f1f1;
  --bs-dark:      #32302f;
  --bs-border-color: #65615f;
  --bs-link-color: #f57722;
  --bs-link-hover-color: #65615f;
  --bs-primary-bg: #2E4F6BFF;
}
/* Strong specificity for anchor tags */
a, .link-primary {
  color: var(--bs-link-color) !important;
}
.link-warning {
  color: var(--bs-warning) !important;
}
.text-warning {
  color: var(--bs-warning) !important;
}
a:hover, .link-primary:hover, a:focus, .link-primary:focus {
  color: var(--bs-link-hover-color) !important;
}
.sidebar .nav-link.active,
.sidebar .nav-link:hover,
.sidebar .nav-link:focus {
  background-color: var(--bs-primary) !important;
  color: #fff !important;
}
.sidebar .nav-link {
  color: var(--bs-secondary);
  transition: background 0.15s, color 0.15s;
}
.sidebar {
  min-width: 220px;
  max-width: 220px;
  background: var(--bs-dark);
  border-right: 1px solid var(--bs-secondary);
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bs-primary);
  cursor: pointer;
}

body {
  font-family: "lato", sans-serif;
  font-weight: 300;
  font-style: normal;
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color);
}
.btn-hubspot {
  color: #fff;
  background-color: #f57722;
  border-color: #fff;
}
.btn-hubspot:hover {
  background-color: #67aded;
  border-color: #fff;
}
.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}

/* Dropdown Menu Background */
.custom-dropdown-menu {
  background-color: #f8f9fa; /* Light gray background */
  border: 1px solid #ced4da; /* Subtle border */
  border-radius: 5px; /* Rounded corners */
  padding: 5px; /* Add some spacing inside the dropdown */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Dropdown Item Styling */
.custom-dropdown-item {
  color: #333; /* Text color */
  font-weight: bold;
  padding: 10px 15px; /* Add padding for larger clickable area */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

/* Hover State */
.custom-dropdown-item:hover {
  background-color: #4e73df; /* Bootstrap primary color */
  color: #fff; /* White text on hover */
  border-radius: 3px; /* Slightly rounded hover effect */
}

/* Active State */
.custom-dropdown-item:active {
  background-color: #4e73df; /* Darker blue */
  color: #fff; /* White text */
}

.text-monospace {
  font-family: monospace;
}

/* PlainTextEditor.css */
.plain-text-editor {
  width: 100%;
  font-family: monospace;
}

.editor-container {
  display: flex;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  overflow: hidden;
  position: relative;
  height: 400px;
}

.line-numbers {
  width: 50px;
  background-color: #f8f9fa;
  border-right: 1px solid #ced4da;
  text-align: right;
  padding: 10px 5px 10px 0;
  color: #6c757d;
  user-select: none;
  overflow: hidden;
}

.line-number {
  padding: 0 5px;
  line-height: 1.5;
}

.editor-textarea {
  flex-grow: 1;
  border: none;
  padding: 10px;
  resize: none;
  overflow: auto;
  tab-size: 4;
  line-height: 1.5;
  font-size: 1rem;
  width: calc(100% - 50px);
}

.editor-textarea:focus {
  outline: none;
}

.editor-footer {
  padding-top: 10px;
}

.timeline-custom {
  position: relative;
  margin-left: 24px;
}

.timeline-custom::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  height: 100%;
  width: 2px;
  border-left: 2px dashed #335269;
  z-index: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: relative;
  z-index: 1;
  background: #32302f;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #cfd8dc;
  margin-right: 18px;
}

.timeline-content {
  flex: 1;
}

.text-secondary {
  color: #85a4ba !important;
}

.btn-tooltip {
  position: relative;
  cursor: pointer;
}

.btn-tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background: #343a40;
  color: #fff;
  text-align: center;
  padding: 3px 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 100;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.15s;
  font-size: 0.85em;
  white-space: nowrap;
  pointer-events: none;
}

.btn-tooltip:hover .tooltip-text,
.btn-tooltip:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
}

pre code {
  font-size: 1rem;
}
.callout {
  border-left: 4px solid #0d6efd;
  background: #3f3f3f;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: .5rem;
}

.card { border: 0; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.form-range::-webkit-slider-thumb { cursor: pointer; }
.pill-badge { font-variant-numeric: tabular-nums; }
.required::after { content: " *"; color: #dc3545; }
input::placeholder {
  color: #999 !important;
}
input[type="text"]{
  padding-inline: 10px;
}

.fixed-type {
  font-family: monospace;
  font-size: 14px;
}

.sidebar {
  position: sticky;
  top: 2rem;
}
.feature-icon {
  background-color: #e9ecef;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.screenshot-placeholder {
  background-color: #e2e3e5;
  border: 2px dashed #adb5bd;
  border-radius: 0.5rem;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}
.screenshot-placeholder::after {
  content: "Screenshot Placeholder";
  font-weight: bold;
}