:root {
  --bs-primary: #2b8c89;
  --bs-primary-rgb: 43, 140, 137;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(43, 140, 137, 0.45);
}

html {
  position: relative;
  min-height: 100%;
}

body.layout-with-footer {
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* Custom styles for AI Bot */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.brand-logo--nav {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo--footer {
  height: 40px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.navbar-brand:has(.brand-logo--nav) {
  font-weight: normal;
  font-size: inherit;
  display: inline-flex;
  align-items: center;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-brand i {
  color: var(--bs-primary);
}

.public-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), 0.05);
}

.public-language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: #495057;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.public-language-switcher a.active {
  background: var(--bs-primary);
  color: #fff;
}

.public-language-switcher a:not(.active):hover {
  color: var(--bs-primary);
}

.card {
  border-radius: 0.5rem;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: #1c6b68;
  border-color: #1c6b68;
}

.text-primary {
  color: var(--bs-primary) !important;
}

/* Form styles */
.form-floating {
  margin-bottom: 1rem;
}

.invalid-feedback {
  display: block;
}

/* Auth pages */
.auth-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
}

.social-login-btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* Dashboard styles */
.dashboard-card {
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Fields that feed into the knowledge / vector search index (service catalog) */
.knowledge-index-field {
  background-color: rgba(var(--bs-warning-rgb), 0.08);
  border-left: 3px solid var(--bs-warning);
}