/* Project overrides loaded after the template CSS bundle. */

:root {
  --highdmin-logo-lg-height: 58px;
  --highdmin-logo-sm-height: 42px;
  --hadox-card-radius: 0.7rem;
}

/* Brand logo sizing across topbar/sidenav/auth screens. */
.logo .logo-lg img {
  height: var(--highdmin-logo-lg-height) !important;
  width: auto !important;
  max-height: 72px !important;
}

.logo .logo-sm img {
  height: var(--highdmin-logo-sm-height) !important;
  width: auto !important;
  max-height: 48px !important;
}

.sidenav-menu .logo .logo-sm img {
  height: 34px !important;
  max-height: 40px !important;
}

.auth-brand img.logo-dark,
.auth-brand img.logo-light {
  height: 92px !important;
  width: auto !important;
  max-width: 360px;
}

@media (max-width: 480px) {
  .auth-brand img.logo-dark,
  .auth-brand img.logo-light {
    height: 72px !important;
    max-width: 280px;
  }
}

/* Shared shell styling for all product pages. */
.page-content .card {
  border-radius: var(--hadox-card-radius);
  border: 1px solid var(--highdmin-border-color);
  box-shadow: 0 10px 25px rgba(49, 58, 70, 0.06);
}

.page-content .card .card-header {
  border-top-left-radius: var(--hadox-card-radius);
  border-top-right-radius: var(--hadox-card-radius);
}

.page-content .card .card-body {
  padding: 1rem 1.15rem;
}

.page-content .table-responsive {
  border-radius: 0.55rem;
}

.page-content .table {
  margin-bottom: 0;
  vertical-align: middle;
}

.page-content .table thead th {
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.03em;
  color: var(--highdmin-secondary-color);
  border-bottom-width: 1px;
}

.page-content .table tbody tr:hover td {
  background: rgba(var(--highdmin-primary-rgb), 0.05);
}

.page-content .form-control,
.page-content .form-select {
  border-radius: 0.5rem;
}

.page-content .btn {
  border-radius: 0.5rem;
}

.page-content .badge {
  border-radius: 999px;
  font-weight: 700;
}

/* Keep quick action icons centered in topbar apps dropdown. */
.dropdown-icon-item .avatar-title {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Documentation pages */
.prose {
  font-size: 0.95rem;
  line-height: 1.7;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

.prose pre {
  background: rgba(var(--highdmin-primary-rgb), 0.05);
  border: 1px solid var(--highdmin-border-color);
  border-radius: 0.55rem;
  padding: 0.8rem;
}

.prose table {
  width: 100%;
  margin-bottom: 1rem;
}
