/* Cookie consent banner for MechJobs */
.cookie-consent-banner {
  position: fixed;
  right: 18px;
  left: 18px;
  bottom: 18px;
  z-index: 99999;
  display: none;
  direction: rtl;
  text-align: right;
  font-family: "Assistant", Arial, sans-serif;
}

.cookie-consent-banner.is-visible { display: block; }

.cookie-consent-box {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  color: #172033;
  border: 1px solid #dce2ea;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.cookie-consent-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
  color: #07111f;
}

.cookie-consent-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
  color: #344054;
}

.cookie-consent-text a {
  color: #0f7d70;
  text-decoration: underline;
  font-weight: 900;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.cookie-consent-button {
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  cursor: pointer;
}

.cookie-consent-accept {
  background: #0f7d70;
  color: #ffffff;
}

.cookie-consent-reject {
  background: #f4f6fa;
  color: #172033;
  border: 1px solid #dce2ea;
}

.cookie-settings-link {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 620px) {
  .cookie-consent-banner { right: 10px; left: 10px; bottom: 10px; }
  .cookie-consent-box { padding: 16px; border-radius: 14px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-consent-button { width: 100%; }
}
