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;
}

/* Sidebar member borders and small visual tweaks */
#sidebar nav ul li > a,
#sidebar nav ul li > button {
  border: 1px solid rgba(156, 163, 175, 0.3); /* gray-400 at 30% */
  border-radius: 0.5rem; /* match tailwind rounded-lg */
  padding-left: 0.75rem; /* keep spacing consistent with Tailwind px-4 */
  padding-right: 0.75rem;
  box-sizing: border-box;
}

/* Slightly stronger border on hover/focus for accessibility */
#sidebar nav ul li > a:hover,
#sidebar nav ul li > a:focus,
#sidebar nav ul li > button:hover,
#sidebar nav ul li > button:focus {
  border-color: rgba(14, 165, 233, 0.6); /* teal-400 at 60% */
}

/* Optional utility class for future use */
.sidebar-member {
  border: 1px solid rgba(156, 163, 175, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

@media (min-width: 768px) {
  /* Reduce visual noise on larger screens by using subtle borders */
  #sidebar nav ul li > a,
  #sidebar nav ul li > button {
    border-width: 1px;
  }
}

/* Mobile font size improvements */
@media (max-width: 767px) {
  /* Increase mobile font sizes for better readability */
  
  /* Header text sizes */
  .text-2xl {
    font-size: 2.25rem !important; /* was 1.5rem */
  }
  
  .text-xl {
    font-size: 2rem !important; /* was 1.25rem */
  }
  
  .text-lg {
    font-size: 1.5rem !important; /* was 1.125rem */
  }
  
  /* Body text sizes */
  .text-base {
    font-size: 1.25rem !important; /* was 1rem */
  }
  
  .text-sm {
    font-size: 1.125rem !important; /* was 0.875rem */
  }
  
  .text-xs {
    font-size: 1rem !important; /* was 0.75rem */
  }
  
  /* Button text sizes */
  button .text-xs,
  .btn .text-xs,
  a .text-xs {
    font-size: 1rem !important;
  }
  
  button .text-sm,
  .btn .text-sm,
  a .text-sm {
    font-size: 1.125rem !important;
  }
  
  /* Label and form text */
  label {
    font-size: 1.125rem !important;
  }
  
  /* Input field text */
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 1.125rem !important;
  }
  
  /* Table text */
  table .text-xs {
    font-size: 1rem !important;
  }
  
  table .text-sm {
    font-size: 1.125rem !important;
  }
  
  /* Card content */
  .card .text-sm,
  .bg-white .text-sm {
    font-size: 1.125rem !important;
  }
}