/* RentHub — Keycloak admin console (PatternFly 5). A light restyle only: the admin UI
   is dense and used by the team, so it keeps its layout and gets the RentHub identity
   (ink masthead, fonts, red accents, softer surfaces). */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300..800&family=Geist+Mono:wght@400..600&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --rh-brand: #f42132;
  --rh-brand-ink: #d3142a;
  --rh-ink: #0b0b0e;
  --rh-bg: #f4f3ef;
  --rh-line: rgb(12 12 16 / .08);
  --pf-v5-global--FontFamily--text: "Geist", "Inter", system-ui, sans-serif;
  --pf-v5-global--FontFamily--heading: "Geist", "Inter", system-ui, sans-serif;
  --pf-v5-global--FontFamily--monospace: "Geist Mono", ui-monospace, monospace;
  --pf-v5-global--link--Color: var(--rh-brand-ink);
  --pf-v5-global--link--Color--hover: #a60f20;
  --pf-v5-global--primary-color--100: var(--rh-ink);
  --pf-v5-global--BorderRadius--sm: 8px;
  --pf-v5-global--BackgroundColor--200: var(--rh-bg);
}
body { font-family: var(--pf-v5-global--FontFamily--text) !important; -webkit-font-smoothing: antialiased; }

.pf-v5-c-page { --pf-v5-c-page--BackgroundColor: var(--rh-bg); }
.pf-v5-c-page__header, .pf-v5-c-masthead {
  background: radial-gradient(60% 140% at 0% 0%, color-mix(in oklab, var(--rh-brand) 18%, transparent), transparent 60%), linear-gradient(180deg, #121217, #0b0b0e) !important;
  border-bottom: 1px solid rgb(255 255 255 / .06);
}
.pf-v5-c-page__header-brand-link, .pf-v5-c-masthead__brand { gap: 12px; text-decoration: none !important; }
.pf-v5-c-page__header-brand-link img, .pf-v5-c-masthead__brand img { width: 32px !important; height: 32px !important; max-height: 32px !important; border-radius: 8px; box-shadow: 0 8px 22px -6px rgb(244 33 50 / .45); }
.pf-v5-c-page__header-brand-link::after, .pf-v5-c-masthead__brand::after { content: "RentHub · Admin"; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }

.pf-v5-c-page__sidebar { --pf-v5-c-page__sidebar--BackgroundColor: #0f0f13; }
.pf-v5-c-nav {
  --pf-v5-c-nav__link--m-current--after--BorderColor: var(--rh-brand);
  --pf-v5-c-nav__link--m-current--BackgroundColor: rgb(255 255 255 / .06);
  --pf-v5-c-nav__link--hover--BackgroundColor: rgb(255 255 255 / .04);
}
.pf-v5-c-page__main-section.pf-m-light, .pf-v5-c-page__main-section { --pf-v5-c-page__main-section--m-light--BackgroundColor: #fff; }
.pf-v5-c-page__main-section .pf-v5-c-title.pf-m-2xl, .pf-v5-c-page__main-section h1.pf-v5-c-title {
  font-family: "Instrument Serif", Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 2.2rem !important;
  letter-spacing: -.015em;
}

.pf-v5-c-button.pf-m-primary {
  --pf-v5-c-button--m-primary--BackgroundColor: var(--rh-brand);
  --pf-v5-c-button--m-primary--hover--BackgroundColor: #e01b2c;
  --pf-v5-c-button--m-primary--active--BackgroundColor: #c81424;
  --pf-v5-c-button--m-primary--focus--BackgroundColor: #e01b2c;
  box-shadow: 0 8px 20px -10px rgb(244 33 50 / .55);
}
.pf-v5-c-button.pf-m-secondary { --pf-v5-c-button--m-secondary--Color: var(--rh-ink); --pf-v5-c-button--m-secondary--after--BorderColor: rgb(12 12 16 / .2); --pf-v5-c-button--m-secondary--hover--after--BorderColor: var(--rh-ink); }
.pf-v5-c-button.pf-m-link { --pf-v5-c-button--m-link--Color: var(--rh-brand-ink); }
.pf-v5-c-tabs { --pf-v5-c-tabs__link--after--BorderColor: transparent; --pf-v5-c-tabs__item--m-current__link--after--BorderColor: var(--rh-brand); --pf-v5-c-tabs__item--m-current__link--Color: var(--rh-ink); }
.pf-v5-c-switch { --pf-v5-c-switch__input--checked__toggle--BackgroundColor: var(--rh-brand); }
.pf-v5-c-card { border-radius: 16px; }
.pf-v5-c-modal-box { border-radius: 20px !important; }
.pf-v5-c-form-control { border-radius: 8px; }
.pf-v5-c-label { --pf-v5-c-label--BorderRadius: 999px; }
*:focus-visible { outline-color: var(--rh-brand) !important; }
