@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
* {
  font-family: poppins !important;
}

/* Base font size adjustments */
body {
  font-size: 14px !important;
}

.mx-10vw {
  margin: 0 10vw;
}

.btn-green {
  background-color: #00bd56;
  color: white;
}

.btn-green:hover,
.btn-green:focus {
  background-color: #00a74a;
  color: white;
}

.text-green {
  color: #00bd56 !important;
}

.fs-7 {
  font-size: 0.8rem !important; /* 12px */
}

.fs-8 {
  font-size: 0.625rem !important; /* 10px */
}

/* Navigation and header font sizes */
.navbar-brand {
  font-size: 1.1rem !important;
}

.nav-link {
  font-size: 12px !important;
}

.dropdown-menu {
  font-size: 13px !important;
}

.dropdown-item {
  font-size: 13px !important;
}

.dropdown-item-text {
  font-size: 11px !important;
}

/* Card and content adjustments */
.card-title,
.h5 {
  font-size: 1rem !important;
}

.card-body {
  font-size: 13px !important;
}

.form-label {
  font-size: 13px !important;
}

.form-control,
.form-select {
  font-size: 13px !important;
}

.btn {
  font-size: 13px !important;
}

.btn-sm {
  font-size: 12px !important;
}

.breadcrumb {
  font-size: 12px !important;
}

.badge {
  font-size: 11px !important;
}

table {
  font-size: 13px !important;
}

.lead {
  font-size: 1rem !important;
}

h1,
.h1 {
  font-size: 1.75rem !important;
}

h2,
.h2 {
  font-size: 1.5rem !important;
}

h3,
.h3 {
  font-size: 1.25rem !important;
}

h4,
.h4 {
  font-size: 1.1rem !important;
}

h6,
.h6 {
  font-size: 0.95rem !important;
}

.display-6 {
  font-size: 1.75rem !important;
}

.form-signin {
  max-width: 400px;
  margin: 0 auto;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
  outline: none;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
/* Sidebar Styles */

.dropdown-toggle {
  outline: 0;
}

.btn-toggle {
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
  background-color: transparent;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(var(--bs-emphasis-color-rgb), 0.85);
  background-color: var(--bs-tertiary-bg);
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform 0.35s ease;
  transform-origin: 0.5em 50%;
}

[data-bs-theme="dark"] .btn-toggle::before {
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(var(--bs-emphasis-color-rgb), 0.85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  padding: 0.1875rem 0.5rem;
  margin-top: 0.125rem;
  margin-left: 1.25rem;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: var(--bs-tertiary-bg);
}

.scrollarea {
  overflow-y: auto;
}

.sidebar-container aside {
  min-height: calc(100vh - 20vh);
  border-right: 1px solid var(--bs-border-color);
}

/* Mobile Screens */
@media (max-width: 768px) {
  .sm-w-100 {
    width: 100% !important;
  }
  .mx-10vw {
    margin: 0;
  }
  .btn-toggle-nav a {
    margin-left: 0.5rem;
    font-size: 0.95rem;
  }
  /* .btn-green {
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1.1rem;
  } */
  .scrollarea {
    max-height: 60vh;
  }
}

.db-card {
  height: 17rem !important;
}

.wysiwyg-content {
  font-size: 0.95rem; /* similar to .fs-7 */
  line-height: 1.6;
  color: #000000;
}

.wysiwyg-content a {
  color: #00bd56;
  text-decoration: none;
}

.wysiwyg-content h1,
.wysiwyg-content h2,
.wysiwyg-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  text-decoration: none !important;
}

.wysiwyg-content h4,
.wysiwyg-content h5,
.wysiwyg-content h6 {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.wysiwyg-content p,
.wysiwyg-content ul,
.wysiwyg-content ol {
  font-size: 0.95rem;
  margin-bottom: 1em;
}

.wysiwyg-content ul,
.wysiwyg-content ol {
  padding-left: 1.5em;
}

.wysiwyg-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  font-size: 0.95rem;
}

.wysiwyg-content th,
.wysiwyg-content td {
  border: 1px solid #dee2e6;
  padding: 0.5em;
}

.wysiwyg-content blockquote {
  border-left: 4px solid #198754;
  padding-left: 1em;
  color: #6c757d;
  margin: 1em 0;
}

.wysiwyg-content img {
  max-width: 100%;
  height: auto;
  margin: 0.5em 0;
}
