.hj-application-popup {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 460px;
  max-width: calc(100vw - 32px);
  padding: 18px 24px 22px;
  color: #10222d;
  background: #ffffff;
  border: 1px solid rgba(16, 34, 45, 0.08);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(16, 34, 45, 0.24);
  font-family: inherit;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--hj-application-popup-fade-duration, 220ms) ease,
    transform var(--hj-application-popup-fade-duration, 220ms) ease;
}

.hj-application-popup,
.hj-application-popup * {
  box-sizing: border-box;
}

.hj-application-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hj-application-popup__close {
  all: unset;
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  color: #6f7c85 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  appearance: none;
  font-size: 22px;
  font-family: inherit;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}

.hj-application-popup__close-icon {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  overflow: visible !important;
  color: #6f7c85 !important;
  fill: none !important;
  stroke: #6f7c85 !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}

.hj-application-popup__close:hover,
.hj-application-popup__close:focus-visible {
  color: #10222d !important;
  background: transparent !important;
}

.hj-application-popup__close:hover .hj-application-popup__close-icon,
.hj-application-popup__close:focus-visible .hj-application-popup__close-icon {
  stroke: #10222d !important;
}

.hj-application-popup__context {
  min-width: 0;
  color: #6b7880;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hj-application-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  min-width: 0;
}

.hj-application-popup__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 16px;
  min-width: 0;
}

.hj-application-popup__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.hj-application-popup__logo {
  display: block;
  width: 110px;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
}

.hj-application-popup__logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #ffffff;
  background: #10222d;
  font-size: 14px;
  font-weight: 800;
}

.hj-application-popup__copy {
  min-width: 0;
}

.hj-application-popup__company {
  color: #10222d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.hj-application-popup__position {
  margin-top: 4px;
  color: #354650;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.hj-application-popup__time {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 0;
  color: #6b7880;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.hj-application-popup__time-icon {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.hj-application-popup__time-icon::before,
.hj-application-popup__time-icon::after {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 2px;
  content: "";
  background: currentColor;
  transform-origin: top center;
}

.hj-application-popup__time-icon::before {
  height: 5px;
  transform: translate(-50%, -1px) rotate(0deg);
}

.hj-application-popup__time-icon::after {
  height: 6px;
  transform: translate(-50%, -1px) rotate(50deg);
}

@media (max-width: 640px) {
  .hj-application-popup {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
  }

  .hj-application-popup__context {
    font-size: 12px;
  }

  .hj-application-popup__footer {
    gap: 10px;
  }

  .hj-application-popup__logo {
    width: 88px;
  }

  .hj-application-popup__row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hj-application-popup {
    transition: none;
  }
}
