/* Everet branding for the MinIO console LOGIN page only (everything is scoped to the login layout).
   Injected by nginx (sub_filter). */

/* left panel background: calm dark base, Everet circuit lines, soft orange accent from the corner */
#root > div:first-child:has(> .productWelcome) {
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(255, 76, 0, 0.20) 0%, rgba(255, 76, 0, 0) 100%),
    url(/ef-brand/lines.png) center / cover no-repeat,
    linear-gradient(135deg, #141821 0%, #0b0d12 100%) !important;
  background-blend-mode: normal !important;
  overflow: hidden;
  max-height: 100vh;
}

/* logo: hide MinIO svg, show Everet logo */
.productWelcome .logoContainer svg { display: none !important; }
.productWelcome .logoContainer {
  width: clamp(180px, 15vw, 260px);
  height: clamp(44px, 4vw, 64px);
  background: url(/ef-brand/logo.svg) no-repeat left center / contain;
}

/* accent line in the headline */
.promoHeader .emphasis { color: #FF4C00 !important; }

/* Russian headline is longer than the English one: scale it to the window so nothing overflows */
.promoHeader {
  font-size: clamp(24px, min(3.2vw, 6.5vh), 52px) !important;
  line-height: 1.15 !important;
}
.promoInfo, .promoInfo > div {
  font-size: clamp(13px, min(1.05vw, 2.4vh), 16px) !important;
  line-height: 1.5 !important;
}
/* keep the line break between the two sentences of the description */
.promoInfo > div { white-space: pre-line; }

/* lift the text block a little so it stays inside short windows */
.productWelcome { transform: translateY(-8vh); }

/* dark page background only on the login page: no white strip under the panel */
html:has(.productWelcome), body:has(.productWelcome) { background: #0b0d12 !important; }
