/* CarePay Coach admin / JET header + login hero */

#branding {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 40px;
}

.admin-branding-mark {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}

.admin-branding-mark img {
  display: block;
  border-radius: 10px;
}

.admin-branding-titles {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.admin-branding-product {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
}

.admin-branding-product:hover {
  text-decoration: underline;
}

.admin-branding-sub {
  font-size: 0.75rem;
  opacity: 0.75;
  font-weight: 400;
}

/* Small logo in header right (with user links) */
#user-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-corner-logo {
  display: flex;
  align-items: center;
  margin-right: 0.35rem;
  line-height: 0;
  opacity: 0.92;
}

.admin-corner-logo img {
  display: block;
  border-radius: 8px;
}

.admin-corner-logo:hover {
  opacity: 1;
}

/* Login page hero */
body.login .admin-login-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

body.login .admin-login-hero-logo {
  display: inline-block;
  border-radius: 16px;
  margin-bottom: 0.75rem;
}

body.login .admin-login-hero-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

body.login .admin-login-hero-sub {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ------------------------------------------------------------------ */
/* Admin pagination — numbered Previous / pages / Next (dark bar)     */
/* ------------------------------------------------------------------ */

#changelist .paginator.initialized,
.paginator.initialized {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0.75rem 0 0 !important;
  padding: 0.9rem 1.1rem !important;
  border-radius: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  background: #0b0e14;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
}

.paginator .pages-wrapper {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 !important;
}

.paginator .pages-wrapper a,
.paginator .pages-wrapper span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem !important;
  margin: 0 !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  font-weight: 500;
  text-decoration: none !important;
  background: transparent !important;
  color: #f1f5f9 !important;
  box-shadow: none !important;
}

.paginator .pages-wrapper a:hover,
.paginator .pages-wrapper a:focus {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #fff !important;
}

.paginator .pages-wrapper span.this-page {
  background: #3b82f6 !important;
  color: #fff !important;
  font-weight: 600;
}

.paginator .pages-wrapper span.disabled {
  background: transparent !important;
  color: #64748b !important;
}

a.cp-page-nav,
span.cp-page-nav {
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.25rem;
  font-size: 0.95rem !important;
  font-weight: 500;
  text-decoration: none !important;
  color: #3b82f6 !important;
  background: transparent !important;
  white-space: nowrap;
}

a.cp-page-nav:hover,
a.cp-page-nav:focus {
  color: #60a5fa !important;
  text-decoration: underline !important;
}

span.cp-page-nav.disabled {
  color: #475569 !important;
  cursor: default;
  pointer-events: none;
}

.paginator .label {
  width: 100%;
  padding: 0.15rem 0 0 !important;
  color: #94a3b8;
  text-align: center;
}

.paginator a.showall:not(.cp-page-nav) {
  color: #93c5fd !important;
}

.cp-scroll-sentinel {
  width: 100%;
  height: 1px;
}

.cp-scroll-status {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  padding: 0.35rem 0;
}
