/*
 * KORDIVON Forge supporting product identity for the AL CHISHTY deployment.
 * Scope is intentionally limited: tenant branding and the existing ERP theme
 * remain dominant. Do not use these rules to recolor the whole application.
 */
:root {
  --kf-carbon: #0b0d10;
  --kf-indigo: #0f1a3a;
  --kf-soft-white: #f6f7f9;
  --kf-copper: #c48a4a;
  --kf-copper-light: #d6a361;
  --kf-steel: #8e949c;
}

.kf-powered-by {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  line-height: 1;
}

.kf-powered-by img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 18px;
  object-fit: contain;
}

.kf-powered-by--footer img {
  height: 16px;
  opacity: 0.9;
}

.kf-footer-branding {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}

.kf-footer-separator,
.kf-footer-version {
  color: inherit;
  opacity: 0.72;
}

.kf-login-powered-image {
  display: block;
  width: min(210px, 46vw);
  height: auto;
  max-height: 32px;
  object-fit: contain;
}

.kf-login-product-image {
  display: block;
  width: min(220px, 52vw);
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.kf-platform-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(142, 148, 156, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(196, 138, 74, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 26, 58, 0.07);
}

.kf-platform-card__inner {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
}

.kf-platform-card__mark {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--kf-soft-white);
  border: 1px solid rgba(142, 148, 156, 0.2);
}

.kf-platform-card__mark img {
  display: block;
  width: min(100%, 310px);
  height: auto;
  max-height: 66px;
  object-fit: contain;
}

.kf-platform-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 0.32rem;
  color: var(--kf-copper);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kf-platform-card__title {
  margin: 0;
  color: var(--kf-indigo);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.kf-platform-card__text {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.kf-platform-card__note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(15, 26, 58, 0.06);
  color: #334155;
  font-size: 0.74rem;
  font-weight: 750;
}

@media (max-width: 767.98px) {
  .kf-platform-card__inner {
    grid-template-columns: 1fr;
    padding: 0.95rem;
  }

  .kf-platform-card__mark {
    justify-content: center;
  }

  .kf-footer-branding {
    gap: 0.35rem;
  }

  .kf-footer-separator {
    display: none;
  }
}

@media print {
  .kf-platform-card,
  .kf-powered-by--screen-only {
    display: none !important;
  }
}
