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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Page Header Styling */
.page-header {
  background: #fff;
  border-bottom: 1px solid #e3e6ed;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #344050;
}

.page-header h1 i {
  color: #2c7be5;
}

/* Card Border Styles */
.pro-card {
  border: 5px solid white !important;
}

[data-bs-theme="dark"] .pro-card {
  border: 1px solid rgba(13, 202, 240, 0.5) !important;
}

.category-card {
  border: 2px solid #0dcaf0 !important;
}

[data-bs-theme="dark"] .category-card {
  border: 2px solid rgba(13, 202, 240, 0.8) !important;
}

/* Universal info card with blue border in dark mode */
.info-card {
  border: 1px solid rgba(0, 0, 0, 0.125);
}

[data-bs-theme="dark"] .info-card {
  border: 1px solid rgba(13, 202, 240, 0.5) !important;
}

/* Grey Subtle Background */
.bg-grey-subtle {
  background-color: rgba(128, 128, 128, 0.1) !important;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 1.75rem;
  }
}

/* Dark mode page header */
[data-bs-theme="dark"] .page-header {
  background: #0b1727;
  border-bottom-color: #1e2e42;
}

[data-bs-theme="dark"] .page-header h1 {
  color: #b8c2cc;
}

/* Navbar Styling */
.navbar {
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.nav-link {
  font-weight: 500;
  color: #5e6e82 !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #2c7be5 !important;
}

.nav-link i {
  color: #9da9bb;
  transition: color 0.2s ease;
}

.nav-link:hover i {
  color: #2c7be5;
}

#themeToggle {
  color: #5e6e82;
  border: none;
  padding: 0.5rem;
  transition: all 0.2s ease;
}

#themeToggle:hover {
  color: #2c7be5;
  background: transparent;
}

/* Dark mode navbar */
[data-bs-theme="dark"] .navbar {
  background: #0b1727 !important;
  border-bottom: 1px solid #1e2e42;
}

[data-bs-theme="dark"] .nav-link {
  color: #b8c2cc !important;
}

[data-bs-theme="dark"] .nav-link:hover {
  color: #2c7be5 !important;
}

[data-bs-theme="dark"] #themeToggle {
  color: #b8c2cc;
}

[data-bs-theme="dark"] #themeToggle:hover {
  color: #2c7be5;
}

