/* ── Floating "Get Me Job" ribbon CTA + modal ── */

/* ─── Floating ribbon button (flag / pennant shape) ─── */
.gmj-ribbon {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 99990;
  transform: translateY(-50%) translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1), opacity 0.35s ease;
}
.gmj-ribbon.gmj-visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Hide floating CTA when mobile menu is open to avoid overlapping menu items */
@media (max-width: 991px) {
  body.mobile-active-layout .gmj-ribbon {
    display: none !important;
  }
}

.gmj-ribbon-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px 12px 14px;
  background: var(--axon-primary, #0f4b86);
  color: #fff;
  font-family: var(--axon-font-sans, 'Poppins', sans-serif);
  border: none;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 3px 4px 16px rgba(15,75,134,.4);
  white-space: nowrap;
  transition: background 0.25s, box-shadow 0.25s;
  clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
}
.gmj-ribbon-btn:hover {
  background: var(--axon-primary-dark, #0a3561);
  box-shadow: 3px 6px 22px rgba(15,75,134,.55);
}

/* Play-circle icon */
.gmj-ribbon-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gmj-ribbon-icon svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  margin-left: 2px;
}

/* Two-line text block */
.gmj-ribbon-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.gmj-ribbon-text-top {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  opacity: .92;
}
.gmj-ribbon-text-bottom {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── Modal overlay ─── */
.gmj-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.gmj-overlay.gmj-open {
  opacity: 1;
  visibility: visible;
}

/* ─── Modal card ─── */
.gmj-modal {
  position: relative;
  display: flex;
  width: 92vw;
  max-width: 860px;
  max-height: 92vh;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  transform: scale(0.92) translateY(30px);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.gmj-overlay.gmj-open .gmj-modal {
  transform: scale(1) translateY(0);
}

/* close button */
.gmj-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  transition: background 0.2s;
  color: #333;
  font-size: 20px;
  line-height: 1;
}
.gmj-close:hover {
  background: rgba(0,0,0,.12);
}

/* ─── Left promo panel ─── */
.gmj-promo {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  background: linear-gradient(160deg, var(--axon-primary, #0f4b86) 0%, var(--axon-primary-dark, #0a3561) 100%);
  color: #fff;
}
.gmj-promo-headline {
  font-family: var(--axon-font-sans, 'Poppins', sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
}
.gmj-promo-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.gmj-promo-stat svg {
  width: 18px;
  height: 18px;
  fill: #ffd54f;
}
.gmj-promo-img {
  width: 100%;
  max-width: 220px;
  margin: 12px auto 20px;
  border-radius: 12px;
  display: block;
}
.gmj-promo-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.gmj-promo-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.gmj-promo-perks li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: #81d4fa;
}
.gmj-promo-footer {
  font-size: 14px;
  font-weight: 600;
  color: #ffd54f;
  margin: 0;
}

/* ─── Right form panel ─── */
.gmj-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 44px 36px 36px;
  overflow-y: auto;
}
.gmj-form-title {
  font-family: var(--axon-font-sans, 'Poppins', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--axon-text, #1e1e1e);
  margin: 0 0 6px;
}
.gmj-form-sub {
  font-size: 14px;
  color: var(--axon-text-muted, #5a5a5a);
  margin: 0 0 24px;
}

.gmj-field {
  margin-bottom: 18px;
}
.gmj-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--axon-text, #1e1e1e);
  margin-bottom: 6px;
}
.gmj-field input,
.gmj-field select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--axon-font-sans, 'Poppins', sans-serif);
  font-size: 14px;
  color: var(--axon-text, #1e1e1e);
  background: var(--axon-bg-alt, #f8fafc);
  border: 1.5px solid var(--axon-border, #e2e8f0);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.gmj-field input:focus,
.gmj-field select:focus {
  border-color: var(--axon-primary, #0f4b86);
  box-shadow: 0 0 0 3px rgba(15,75,134,.12);
}
.gmj-field input.gmj-invalid,
.gmj-field select.gmj-invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.1);
}
.gmj-field .gmj-error-msg {
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
  display: none;
}
.gmj-field input.gmj-invalid ~ .gmj-error-msg,
.gmj-field select.gmj-invalid ~ .gmj-error-msg {
  display: block;
}

.gmj-submit {
  width: 100%;
  padding: 13px;
  font-family: var(--axon-font-sans, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
  background: var(--axon-primary, #0f4b86);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
  margin-top: 4px;
}
.gmj-submit:hover {
  background: var(--axon-primary-dark, #0a3561);
  box-shadow: 0 4px 16px rgba(15,75,134,.35);
}

.gmj-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.gmj-success.gmj-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.gmj-success svg {
  width: 64px;
  height: 64px;
  fill: #43a047;
  margin-bottom: 16px;
}
.gmj-success h3 {
  font-family: var(--axon-font-sans, 'Poppins', sans-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--axon-text, #1e1e1e);
}
.gmj-success p {
  font-size: 14px;
  color: var(--axon-text-muted, #5a5a5a);
  margin: 0;
}

.gmj-banner {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.gmj-banner.gmj-banner-error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ─── Mobile responsive ─── */
@media (max-width: 767px) {
  .gmj-modal {
    flex-direction: column;
    max-height: 96vh;
    border-radius: 16px;
  }
  .gmj-promo {
    flex: 0 0 auto;
    padding: 28px 24px 20px;
  }
  .gmj-promo-img {
    display: none;
  }
  .gmj-promo-headline {
    font-size: 17px;
  }
  .gmj-form-panel {
    padding: 28px 24px 24px;
  }
  .gmj-form-title {
    font-size: 19px;
  }
  .gmj-close {
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.85);
  }
  .gmj-ribbon-btn {
    padding: 10px 22px 10px 10px;
    gap: 8px;
  }
  .gmj-ribbon-icon {
    width: 28px;
    height: 28px;
  }
  .gmj-ribbon-icon svg {
    width: 11px;
    height: 11px;
  }
  .gmj-ribbon-text-top {
    font-size: 11px;
  }
  .gmj-ribbon-text-bottom {
    font-size: 17px;
  }
}
@media (max-width: 480px) {
  .gmj-promo-stat {
    font-size: 14px;
    padding: 6px 12px;
  }
  .gmj-promo-perks li {
    font-size: 13px;
  }
}
