/* Shared illustration slots for catalog, login, client, 404 */
.ovh-catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .7fr);
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #f7faf8 0%, #fff 70%);
  border: 1px solid #e6edf0;
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 0 22px;
}
.ovh-catalog-hero h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-ink);
}
.ovh-catalog-hero p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.6;
  max-width: 46em;
}
.ovh-catalog-hero img {
  display: block;
  max-height: 160px;
  width: auto;
  max-width: 100%;
  margin-inline-start: auto;
  object-fit: contain;
}
.be-hero-illust {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.hb-login-wrap {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 920px;
  margin: 24px auto 48px;
}
.hb-login-art {
  text-align: center;
}
.hb-login-art img {
  max-width: 280px;
  width: 100%;
  height: auto;
}
.hb-login-wrap .login-box {
  float: none;
  width: 100%;
  margin: 0;
}
.hb-login-wrap .row {
  margin: 0;
}
.hb-client-welcome {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  color: #fff;
  border-radius: 20px;
  padding: 16px 22px 14px;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  background:
    linear-gradient(155deg, rgba(8, 71, 110, .62) 0%, rgba(10, 110, 175, .46) 48%, rgba(23, 155, 238, .36) 100%);
  box-shadow:
    0 18px 40px rgba(8, 71, 110, .18),
    inset 0 1px 0 rgba(255, 255, 255, .46),
    inset 0 -1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
}
.hb-client-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .08) 36%, transparent 62%),
    radial-gradient(280px 160px at 12% 0%, rgba(255, 255, 255, .32), transparent 70%);
}
.hb-client-welcome .hb-glass-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.hb-client-welcome .hb-glass-orb-a {
  width: 170px;
  height: 170px;
  top: -54px;
  inset-inline-end: -36px;
  background: radial-gradient(circle, rgba(255, 255, 255, .48) 0%, rgba(23, 155, 238, .38) 42%, transparent 72%);
}
.hb-client-welcome .hb-glass-orb-b {
  width: 150px;
  height: 150px;
  bottom: -48px;
  inset-inline-start: -40px;
  background: radial-gradient(circle, rgba(126, 200, 245, .55) 0%, rgba(8, 71, 110, .28) 48%, transparent 72%);
}
.hb-client-welcome .hb-glass-orb-c {
  width: 86px;
  height: 86px;
  top: 38%;
  inset-inline-end: 28%;
  background: radial-gradient(circle, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 70%);
}
.hb-client-welcome-copy,
.hb-client-welcome-art {
  position: relative;
  z-index: 1;
}
.hb-client-welcome-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.hb-client-welcome-copy h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 1px 12px rgba(5, 30, 48, .22);
}
.hb-client-welcome-copy p {
  margin: 0;
  max-width: 42em;
  opacity: .92;
  font-size: 14px;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(5, 30, 48, .16);
}
.hb-client-welcome-art {
  max-height: 110px;
  width: auto;
  max-width: 38%;
  flex: 0 0 auto;
  filter: drop-shadow(0 16px 22px rgba(5, 30, 48, .28));
}
.hb-client-services-box {
  margin-bottom: 20px;
}
.hb-client-services-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  float: none !important;
}
.hb-client-services-head .box-title {
  float: none !important;
  display: block;
  margin: 0 !important;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}
.hb-service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hb-service-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e6eef2;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.hb-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-soft, #e8f6fd);
  color: var(--brand-primary, #179BEE);
  flex: 0 0 48px;
}
.hb-service-icon .hb-mdi,
.hb-service-icon i {
  width: 24px;
  height: 24px;
  font-size: 20px;
  fill: currentColor;
}
.hb-service-main {
  min-width: 0;
}
.hb-service-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.hb-service-title {
  font-size: 15px;
  font-weight: 800;
  color: #102a32 !important;
  line-height: 1.35;
  text-decoration: none !important;
}
.hb-service-title:hover {
  color: var(--brand-primary, #179BEE) !important;
}
.hb-service-kind,
.hb-service-state {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #e6eef2;
  background: #f4f7f8;
  font-size: 11px;
  font-weight: 700;
  color: #5a7278;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}
.hb-service-state {
  color: #1f7a4d;
  background: #eef8f2;
  border-color: #d4eadc;
}
.hb-service-host {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 13px;
  color: #5a7278;
  word-break: break-all;
}
.hb-service-host .ssl-status {
  flex: 0 0 auto;
  margin: 0;
}
.hb-service-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hb-service-due {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5a7278;
  white-space: nowrap;
}
.hb-service-due strong {
  display: inline-flex;
  min-width: 28px;
  justify-content: center;
  padding: 1px 7px;
  border: 1px solid #e6eef2;
  border-radius: 6px;
  font-weight: 800;
  color: #102a32;
  font-variant-numeric: tabular-nums;
}
.hb-service-due.is-soon strong {
  border-color: #f3d19a;
  background: #fff8e8;
  color: #9a6700;
}
.hb-service-go {
  margin: 0 !important;
  font-weight: 700;
  white-space: nowrap;
}
.hb-go-arrow::before {
  content: "→";
}
html[dir="rtl"] .hb-go-arrow::before,
html.app.hb-rtl .hb-go-arrow::before {
  content: "←";
}
html.app.hb-night .hb-service-row {
  background: #242424;
  border-color: #3a3a3a;
}
html.app.hb-night .hb-service-title {
  color: #f3f4f6 !important;
}
html.app.hb-night .hb-service-kind,
html.app.hb-night .hb-service-due strong {
  background: #2c2c2c;
  border-color: #3a3a3a;
  color: #c5c7ca;
}
html.app.hb-night .hb-service-state {
  background: #1d3a2b;
  border-color: #2d5a40;
  color: #8fd4aa;
}
html.app.hb-night .hb-service-due,
html.app.hb-night .hb-service-host {
  color: #9aa0a6;
}
.hb-client-empty {
  padding: 18px 8px;
  text-align: center;
}
.hb-empty-art {
  display: block;
  max-width: 220px;
  margin: 12px auto 8px;
  height: auto;
}
.cf-thanks-art {
  display: block;
  max-width: 220px;
  margin: 0 auto 12px;
  height: auto;
}
.ovh-ssl-intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.ovh-ssl-intro-row img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 767px) {
  .ovh-catalog-hero,
  .hb-login-wrap,
  .ovh-ssl-intro-row {
    grid-template-columns: 1fr;
  }
  .ovh-catalog-hero img,
  .hb-login-art { order: -1; }
  .ovh-catalog-hero img { margin: 0 auto 4px; max-height: 120px; }
  .hb-client-welcome {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px 16px;
  }
  .hb-client-welcome-copy {
    width: 100%;
  }
  .hb-client-welcome-copy h2 {
    font-size: 18px;
    line-height: 1.35;
  }
  .hb-client-welcome-copy p {
    margin-inline: auto;
  }
  .hb-client-welcome-art {
    max-width: 58%;
    max-height: 110px;
    margin: 8px auto 0;
  }
  .hb-service-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .hb-service-side {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

.hb-dash-feeds {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.hb-dash-feeds > [class*="col-"] {
  display: flex;
  flex-direction: column;
  float: none;
}
.hb-dash-feeds .box.hb-dash-feed,
.hb-dash-feeds .box.hb-dash-expiry-box {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 300px;
  max-height: 300px;
  margin-bottom: 16px;
  overflow: hidden;
}
.hb-dash-expiry-box .box-header {
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eef1f4;
}
.hb-dash-expiry-box .box-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.hb-dash-feed .box-header,
.hb-dash-expiry-box .box-header {
  flex: 0 0 auto;
  padding: 10px 14px;
}
.hb-dash-feeds .box-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.hb-dash-feeds .box-footer {
  flex: 0 0 auto;
}
.hb-dash-feed-list,
.hb-dash-expiry {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.hb-dash-feed-list .list-group-item {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding: 8px 14px;
}
.hb-dash-feed-empty,
.hb-dash-expiry-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  margin: 0;
  padding: 24px 14px;
  text-align: center;
}
.hb-dash-ticket-sub {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.hb-dash-expiry-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f2f4;
  color: inherit;
  text-decoration: none !important;
}
.hb-dash-expiry-row:last-child {
  border-bottom: 0;
}
.hb-dash-expiry-row:hover {
  background: #f7fafc;
  color: inherit;
}
.hb-dash-expiry-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hb-dash-expiry-kind {
  flex: 0 1 auto;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.3;
  padding: 2px 8px;
  border-radius: 10px;
  background: #eef2f5;
  color: #5b6770;
}
.hb-dash-expiry-days {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-inline-start: auto;
  white-space: nowrap;
}
.hb-dash-expiry-days strong {
  display: inline-block;
  min-width: 1.5em;
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  background: #e8f6ee;
  color: #1e7e34;
}
.hb-dash-expiry-days.is-soon strong {
  background: #fff3cd;
  color: #8a6d3b;
}
.hb-dash-expiry-days small {
  color: #88939c;
  font-size: 11px;
}
html.app.hb-night .hb-dash-expiry-row {
  border-bottom-color: #2a3340;
}
html.app.hb-night .hb-dash-expiry-row:hover {
  background: #1d2530;
}
html.app.hb-night .hb-dash-expiry-kind {
  background: #2a3340;
  color: #c5ced6;
}
