/* Ensure readable text colors across admin in light theme */
:root {
  --elvet-text-color: #212529; /* Bootstrap default body color */
}

body,
.content-wrapper,
.main-sidebar,
.card,
.card-body,
.card-header,
.list-group-item,
.table,
.navbar, 
.brand-link {
  color: var(--elvet-text-color);
}

/* Card defaults (white background, dark text) */
.card,
.card .card-header {
  background-color: #ffffff;
  color: var(--elvet-text-color);
}

/* Buttons: ensure text contrast on light buttons */
.btn-light {
  color: #212529 !important;
}

/* List group items should not inherit white text */
.list-group-item,
.list-group-item-action {
  color: var(--elvet-text-color);
}
.list-group-item-action:hover,
.list-group-item-action:focus {
  color: var(--elvet-text-color);
  background-color: #f8f9fa;
}

/* Tables */
.table thead th {
  color: var(--elvet-text-color);
}
.table td, .table th {
  color: var(--elvet-text-color);
}

/* Badges with light backgrounds must have dark text for readability */
.badge.bg-info,
.badge.bg-warning,
.badge.bg-light {
  color: #212529 !important;
}

/* Form labels and help text */
.control-label, label, .help, .help-block, .form-text {
  color: var(--elvet-text-color);
}

/* Make stat labels a bit darker */
.stat-label {
  color: #495057 !important;
}

/* Quick Actions section links */
.list-group-item-action {
  font-weight: 500;
}

/* Brand/logo sizing tweaks for navbar and login page */
/* Navbar brand image (top-left) */
.brand-link .brand-image {
  max-height: 36px; /* keep nav logo compact */
  width: auto;
  height: auto;
  margin-top: -2px; /* slight vertical align */
}

/* Sidebar brand area also uses brand-link */
.main-sidebar .brand-link .brand-image {
  max-height: 36px;
}

/* Login page logo */
.login-page .login-logo img,
.login-box .login-logo img {
  max-height: 64px; /* balanced size for login screen */
  width: auto;
  height: auto;
}
