/* Cookie banner — JobBricks blue highlight bar */
.jw-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100050;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--font-body, 'Inter', sans-serif);
}

.jw-cookie-consent.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.jw-cookie-consent__panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 52%, #1d4ed8 100%);
  border: 1px solid rgba(147, 197, 253, 0.45);
  box-shadow:
    0 20px 50px rgba(30, 64, 175, 0.35),
    0 8px 20px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.jw-cookie-consent__panel::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.jw-cookie-consent__glow {
  display: none;
}

.jw-cookie-consent__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.jw-cookie-consent__icon-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.jw-cookie-consent__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.jw-cookie-consent__title {
  margin: 0 0 4px;
  font-family: var(--font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.jw-cookie-consent__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.jw-cookie-consent__link {
  color: #fde68a;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.jw-cookie-consent__link:hover,
.jw-cookie-consent__link:focus {
  color: #fff;
  text-decoration: underline;
}

.jw-cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jw-cookie-consent__btn {
  border: 0;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.jw-cookie-consent__btn:active {
  transform: scale(0.98);
}

.jw-cookie-consent__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.jw-cookie-consent__btn--ghost:hover,
.jw-cookie-consent__btn--ghost:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.jw-cookie-consent__btn--primary {
  background: #fff;
  color: #1e40af;
  border: 1px solid #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.jw-cookie-consent__btn--primary:hover,
.jw-cookie-consent__btn--primary:focus {
  background: #eff6ff;
  color: #1d4ed8;
}

@media (max-width: 767.98px) {
  .jw-cookie-consent {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .jw-cookie-consent__row {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }

  .jw-cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }

  .jw-cookie-consent__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
  }
}
