/**
 * KASHDI — global site footer (all portal pages)
 */
footer.app-site-footer,
footer.welcome-site-footer {
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
  color: rgba(226, 232, 240, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

footer.app-site-footer .welcome-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

footer.app-site-footer .welcome-footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

footer.app-site-footer .welcome-footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  flex: 1;
}

footer.app-site-footer .welcome-footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

footer.app-site-footer .welcome-footer-identity {
  margin-bottom: 0.85rem;
}

footer.app-site-footer .welcome-footer-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

footer.app-site-footer .welcome-footer-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.75);
  margin: 0;
}

footer.app-site-footer .welcome-footer-support {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 280px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer.app-site-footer a.welcome-footer-mail-link,
footer.app-site-footer a.welcome-footer-mail-link:link,
footer.app-site-footer a.welcome-footer-mail-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
  line-height: 1.4;
}

footer.app-site-footer a.welcome-footer-mail-link i {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9) !important;
  flex-shrink: 0;
  line-height: 1;
}

footer.app-site-footer a.welcome-footer-mail-link span {
  color: #ffffff !important;
  text-decoration: none !important;
}

footer.app-site-footer a.welcome-footer-mail-link:hover,
footer.app-site-footer a.welcome-footer-mail-link:focus,
footer.app-site-footer a.welcome-footer-mail-link:active {
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.82;
}

footer.app-site-footer a.welcome-footer-mail-link:hover i,
footer.app-site-footer a.welcome-footer-mail-link:focus i {
  color: rgba(255, 255, 255, 0.9) !important;
}

footer.app-site-footer .welcome-footer-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.85);
  margin: 0;
  max-width: 280px;
}

footer.app-site-footer .welcome-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

footer.app-site-footer .welcome-footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.9);
  margin-bottom: 0.75rem;
}

footer.app-site-footer ul.welcome-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

footer.app-site-footer .welcome-footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.app-site-footer .welcome-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: rgba(203, 213, 225, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

footer.app-site-footer .welcome-footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

footer.app-site-footer .welcome-footer-links a i {
  font-size: 0.82rem;
  color: rgba(129, 140, 248, 0.9);
  width: 1rem;
  flex-shrink: 0;
}

footer.app-site-footer .welcome-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.9);
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  footer.app-site-footer .welcome-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  footer.app-site-footer .welcome-footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  footer.app-site-footer .welcome-footer-inner {
    padding: 2rem 1rem 1.5rem;
  }

  footer.app-site-footer .welcome-footer-columns {
    grid-template-columns: 1fr;
  }

  footer.app-site-footer .welcome-footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}
