/* Employer Tools — shared job-card/badge/chip components (BRD §5 UI pass).
   Loaded on top of either css/style.css (learner/public pages) or
   css/admin_style.css (employer panel pages) - every color below is a
   var(--token) already defined by whichever of those two loads first, so
   this file automatically matches each context's palette (including dark
   mode on the learner side) instead of hardcoding its own. */

.ej-badge{
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   padding: .5rem 1.1rem;
   border-radius: 999px;
   font-size: 1.05rem;
   font-weight: 700;
   line-height: 1.3;
   white-space: nowrap;
}

.ej-badge i{ font-size: .95em; }

.ej-badge--type{ background: rgba(142,68,173,.12); color: var(--main-color); }
.ej-badge--mode{ background: rgba(52,152,219,.14); color: #2176ba; }
.ej-badge--location{ background: var(--light-bg); color: var(--light-color); }

.ej-status{
   display: inline-flex;
   align-items: center;
   gap: .45rem;
   padding: .45rem 1rem;
   border-radius: 999px;
   font-size: 1rem;
   font-weight: 800;
   letter-spacing: .02rem;
   text-transform: uppercase;
}
.ej-status::before{
   content: '';
   width: .6rem;
   height: .6rem;
   border-radius: 50%;
   background: currentColor;
}
.ej-status--draft{ background: rgba(136,136,136,.14); color: #6b6b6b; }
.ej-status--published{ background: rgba(39,174,96,.14); color: #1d8a4a; }
.ej-status--closed{ background: rgba(231,76,60,.1); color: #c0392b; }
.ej-status--expired{ background: rgba(243,156,18,.15); color: #b9770e; }

/* Application-pipeline status (distinct vocabulary from job status above,
   same visual component). */
.ej-status--submitted{ background: rgba(52,152,219,.14); color: #2176ba; }
.ej-status--reviewing{ background: rgba(241,196,15,.16); color: #a9820a; }
.ej-status--shortlisted{ background: rgba(155,89,182,.14); color: #7d3c98; }
.ej-status--rejected{ background: rgba(231,76,60,.1); color: #c0392b; }
.ej-status--hired{ background: rgba(39,174,96,.14); color: #1d8a4a; }

.ej-chip-row{
   display: flex;
   flex-wrap: wrap;
   gap: .6rem;
}

.ej-skill-chip{
   display: inline-flex;
   align-items: center;
   padding: .5rem 1.1rem;
   border-radius: .8rem;
   background: var(--light-bg);
   color: var(--black);
   font-size: 1.05rem;
   font-weight: 600;
   border: 1px solid rgba(0,0,0,.05);
}

.ej-salary{
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   font-weight: 800;
   color: var(--main-color);
   font-size: 1.15rem;
}

.ej-deadline{
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   font-size: 1.02rem;
   color: var(--light-color);
}
.ej-deadline.ej-deadline--soon{ color: #b9770e; font-weight: 700; }
.ej-deadline.ej-deadline--past{ color: #c0392b; font-weight: 700; }

/* --- company identity --- */
.ej-company-logo{
   width: 5.2rem;
   height: 5.2rem;
   border-radius: 1.1rem;
   object-fit: cover;
   background: var(--light-bg);
   flex-shrink: 0;
}
.ej-company-logo--sm{ width: 3.6rem; height: 3.6rem; border-radius: .8rem; }
.ej-company-fallback{
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.9rem;
   font-weight: 800;
   color: var(--white);
   background: linear-gradient(135deg, var(--main-color), var(--oragen, #f39c12));
}
.ej-company-fallback.ej-company-logo--sm{ font-size: 1.3rem; }

/* --- job listing card (learner-facing grid) --- */
.ej-job-card{
   background: var(--white);
   border-radius: 1.4rem;
   box-shadow: var(--box-shadow);
   padding: 1.8rem 2rem;
   display: flex;
   flex-direction: column;
   gap: 1.2rem;
   transition: transform .2s ease, box-shadow .2s ease;
   border: 1px solid rgba(0,0,0,.04);
}
.ej-job-card:hover{
   transform: translateY(-.3rem);
   box-shadow: 0 1.6rem 3.2rem rgba(66,33,104,.14);
}

.ej-job-card__head{
   display: flex;
   gap: 1.2rem;
   align-items: flex-start;
}

.ej-job-card__title-wrap{ flex: 1; min-width: 0; }

.ej-job-card__title{
   font-size: 1.55rem;
   font-weight: 800;
   color: var(--black);
   margin-bottom: .2rem;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.ej-job-card__company{
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--main-color);
}

.ej-job-card__meta{
   display: flex;
   flex-wrap: wrap;
   gap: .6rem;
}

.ej-job-card__desc{
   color: var(--light-color);
   font-size: 1.08rem;
   line-height: 1.6;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.ej-job-card__footer{
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1rem;
   margin-top: auto;
   padding-top: .8rem;
   border-top: var(--border, 1px solid rgba(0,0,0,.06));
}

.ej-job-card__posted{
   font-size: .98rem;
   color: var(--light-color);
}

.ej-applied-pill{
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   padding: .55rem 1.2rem;
   border-radius: 999px;
   background: rgba(39,174,96,.14);
   color: #1d8a4a;
   font-weight: 800;
   font-size: 1.02rem;
}

/* --- grid layout --- */
.ej-job-grid{
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
   gap: 1.6rem;
}

/* --- filter/search bar --- */
.ej-filter-bar{
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
   align-items: center;
   background: var(--white);
   border-radius: 1.2rem;
   box-shadow: var(--box-shadow);
   padding: 1.3rem 1.6rem;
   margin-bottom: 1.8rem;
}
.ej-filter-bar input[type="text"],
.ej-filter-bar select{
   padding: .8rem 1.1rem;
   border-radius: .8rem;
   border: 1px solid rgba(0,0,0,.12);
   font-size: 1.05rem;
   background: var(--white);
   color: var(--black);
}
.ej-filter-bar input[type="text"]{ flex: 1; min-width: 18rem; }

/* --- job details page (learner-facing single job) --- */
.ej-detail-layout{
   display: grid;
   grid-template-columns: minmax(0, 2fr) minmax(26rem, 1fr);
   gap: 2rem;
   align-items: start;
}

.ej-detail-hero{
   background: var(--white);
   border-radius: 1.6rem;
   box-shadow: var(--box-shadow);
   padding: 2.2rem 2.4rem;
   margin-bottom: 1.6rem;
}

.ej-detail-hero__top{
   display: flex;
   gap: 1.6rem;
   align-items: center;
   margin-bottom: 1.4rem;
}

.ej-detail-hero h1{
   font-size: 2.1rem;
   color: var(--black);
   margin-bottom: .3rem;
}

.ej-detail-section{
   background: var(--white);
   border-radius: 1.4rem;
   box-shadow: var(--box-shadow);
   padding: 2rem 2.2rem;
   margin-bottom: 1.4rem;
}

.ej-detail-section h2{
   font-size: 1.35rem;
   color: var(--black);
   margin-bottom: 1rem;
   display: flex;
   align-items: center;
   gap: .7rem;
}
.ej-detail-section h2 i{ color: var(--main-color); }

.ej-detail-section .ej-prose{
   color: var(--black);
   font-size: 1.1rem;
   line-height: 1.8;
   white-space: pre-wrap;
}

.ej-fact-list{
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
   gap: 1.2rem;
}
.ej-fact{
   display: flex;
   flex-direction: column;
   gap: .3rem;
}
.ej-fact-label{
   font-size: .95rem;
   text-transform: uppercase;
   letter-spacing: .04rem;
   color: var(--light-color);
   font-weight: 700;
}
.ej-fact-value{
   font-size: 1.2rem;
   color: var(--black);
   font-weight: 700;
}

/* --- apply panel (sidebar) --- */
.ej-apply-panel{
   background: var(--white);
   border-radius: 1.6rem;
   box-shadow: var(--box-shadow);
   padding: 2rem 2.2rem;
   position: sticky;
   top: 2rem;
}
.ej-apply-panel h3{ font-size: 1.3rem; color: var(--black); margin-bottom: 1rem; }
.ej-apply-panel textarea{
   width: 100%;
   padding: 1rem 1.1rem;
   border-radius: .9rem;
   border: 1px solid rgba(0,0,0,.12);
   font-size: 1.05rem;
   margin-bottom: 1rem;
   resize: vertical;
   background: var(--white);
   color: var(--black);
}
.ej-apply-panel .ej-apply-btn{
   width: 100%;
   padding: 1.3rem;
   border-radius: .9rem;
   background: var(--main-color);
   color: #fff;
   font-weight: 800;
   font-size: 1.2rem;
   text-align: center;
   display: block;
   transition: transform .2s ease, opacity .2s ease;
}
.ej-apply-panel .ej-apply-btn:hover{ transform: translateY(-.2rem); opacity: .92; }

.ej-already-applied{
   text-align: center;
   padding: 1.4rem 1rem;
}
.ej-already-applied .ej-status{ margin-bottom: .8rem; }

.ej-company-card{
   background: var(--white);
   border-radius: 1.6rem;
   box-shadow: var(--box-shadow);
   padding: 1.8rem 2rem;
   margin-top: 1.4rem;
}
.ej-company-card__head{
   display: flex;
   gap: 1.2rem;
   align-items: center;
   margin-bottom: 1rem;
}
.ej-company-card__name{ font-size: 1.25rem; font-weight: 800; color: var(--black); }
.ej-company-card__industry{ font-size: 1rem; color: var(--light-color); }
.ej-company-card p{ font-size: 1.05rem; color: var(--light-color); line-height: 1.6; }
.ej-company-card a.ej-website-link{ color: var(--main-color); font-weight: 700; font-size: 1.02rem; }

/* --- empty states --- */
.ej-empty-state{
   text-align: center;
   padding: 4rem 2rem;
   color: var(--light-color);
}
.ej-empty-state i{
   font-size: 3.6rem;
   color: var(--light-color);
   opacity: .4;
   margin-bottom: 1.2rem;
   display: block;
}
.ej-empty-state p{ font-size: 1.2rem; margin-bottom: 1.2rem; }

/* --- form sections (post/edit job) --- */
.ej-form-card{
   background: var(--white);
   border-radius: 1.4rem;
   box-shadow: var(--box-shadow);
   padding: 0;
   overflow: hidden;
   max-width: 70rem;
}
.ej-form-section{
   padding: 2rem 2.4rem;
   border-bottom: var(--border, 1px solid rgba(0,0,0,.06));
}
.ej-form-section:last-of-type{ border-bottom: none; }
.ej-form-section__title{
   display: flex;
   align-items: center;
   gap: .8rem;
   font-size: 1.3rem;
   font-weight: 800;
   color: var(--black);
   margin-bottom: .4rem;
}
.ej-form-section__title i{
   width: 3.2rem;
   height: 3.2rem;
   border-radius: .8rem;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(142,68,173,.12);
   color: var(--main-color);
   font-size: 1.3rem;
}
.ej-form-section__hint{
   font-size: 1rem;
   color: var(--light-color);
   margin-bottom: 1.4rem;
}
.ej-form-grid{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
   gap: 1.2rem;
}
.ej-field{ display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.ej-field label{ font-size: 1.02rem; font-weight: 700; color: var(--black); }
.ej-field .ej-field-hint{ font-size: .95rem; color: var(--light-color); font-weight: 400; }
.ej-field input,
.ej-field select,
.ej-field textarea{
   padding: 1rem 1.1rem;
   border-radius: .8rem;
   border: 1px solid rgba(0,0,0,.14);
   font-size: 1.08rem;
   background: var(--white);
   color: var(--black);
   width: 100%;
}
.ej-field textarea{ resize: vertical; min-height: 9rem; }
.ej-field-row{ display: flex; gap: 1rem; align-items: flex-end; }
.ej-field-row .ej-field{ flex: 1; margin-bottom: 0; }
.ej-checkbox-field{ display: flex; align-items: center; gap: .7rem; font-size: 1.05rem; color: var(--black); margin-top: .4rem; }

.ej-form-actions{
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
   padding: 1.8rem 2.4rem;
   background: var(--light-bg);
}
.ej-btn{
   padding: 1.1rem 2rem;
   border-radius: .9rem;
   font-weight: 800;
   font-size: 1.1rem;
   display: inline-flex;
   align-items: center;
   gap: .6rem;
   transition: transform .18s ease, opacity .18s ease;
}
.ej-btn:hover{ transform: translateY(-.15rem); }
.ej-btn--primary{ background: var(--main-color); color: #fff; }
.ej-btn--ghost{ background: var(--white); color: var(--main-color); border: 1px solid rgba(142,68,173,.3); }
.ej-btn--danger{ background: rgba(231,76,60,.12); color: #c0392b; }

/* --- employer job listing row (My Job Posts) --- */
.ej-mylisting-row{
   background: var(--white);
   border-radius: 1.3rem;
   box-shadow: var(--box-shadow);
   padding: 1.6rem 1.9rem;
   margin-bottom: 1rem;
   display: flex;
   flex-wrap: wrap;
   gap: 1.2rem;
   align-items: center;
}
.ej-mylisting-row__main{ flex: 1 1 24rem; min-width: 0; }
.ej-mylisting-row__title{ font-size: 1.35rem; font-weight: 800; color: var(--black); margin-bottom: .4rem; }
.ej-mylisting-row__stats{
   display: flex;
   flex-wrap: wrap;
   gap: 1.4rem;
   margin-top: .7rem;
   font-size: 1.02rem;
   color: var(--light-color);
}
.ej-mylisting-row__stats strong{ color: var(--black); }
.ej-mylisting-row__actions{ display: flex; flex-wrap: wrap; gap: .6rem; }
.ej-mylisting-row__actions a,
.ej-mylisting-row__actions button{
   padding: .75rem 1.3rem;
   border-radius: .7rem;
   font-size: 1rem;
   font-weight: 700;
}

/* --- hero promo panels (employer register/login + homepage CTA) --- */
.ej-hero-split{
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(30rem, 1fr);
   min-height: 60vh;
   border-radius: 1.8rem;
   overflow: hidden;
   box-shadow: var(--box-shadow);
   margin: 1.2rem auto 0;
   max-width: 110rem;
}
.ej-hero-split__pitch{
   background:
      radial-gradient(circle at top right, rgba(255,214,102,.28), transparent 30%),
      linear-gradient(145deg, #2b1746 0%, #5a2d8c 55%, #8e44ad 100%);
   color: #fff;
   padding: 3.6rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 1.6rem;
}
.ej-hero-split__pitch .ej-eyebrow{
   display: inline-flex;
   align-items: center;
   gap: .7rem;
   padding: .7rem 1.4rem;
   border-radius: 999px;
   background: rgba(255,255,255,.16);
   font-size: 1.1rem;
   font-weight: 700;
   letter-spacing: .04rem;
   text-transform: uppercase;
   width: fit-content;
}
.ej-hero-split__pitch h2{ font-size: 2.6rem; line-height: 1.2; }
.ej-hero-split__pitch p{ font-size: 1.25rem; opacity: .92; line-height: 1.7; max-width: 44rem; }
.ej-hero-split__points{ display: flex; flex-direction: column; gap: 1rem; margin-top: .6rem; }
.ej-hero-split__points div{ display: flex; align-items: flex-start; gap: 1rem; font-size: 1.1rem; }
.ej-hero-split__points i{ margin-top: .3rem; color: #ffd666; }
.ej-hero-split__form{
   background: var(--white);
   padding: 3rem 3.6rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
   /* No overflow-y:auto here on purpose - it previously trapped a tall form
      in its own internally-scrolling panel, so the page's own footer (just
      after .ej-hero-split in the markup) sat right below a short, fixed-
      looking box while the actual form content was scrolled out of view
      inside it. Letting this panel grow with its content instead means the
      whole page scrolls together, naturally, all the way to the footer. */
}
/* Neutralize .form-container's own full-viewport centering (admin_style.css)
   only inside this context - the hero split already provides the
   layout/centering, and the existing form-container/register/login/.box/.btn
   rules (keyed off the same .form-container ancestor class) still apply. */
.ej-hero-split__form .form-container{
   min-height: auto;
   display: block;
}
.ej-hero-split__form .form-container form{
   box-shadow: none !important;
   padding: 0 !important;
   width: 100% !important;
}

/* --- Employer Registration: compact redesign (2026-10-19) ---
   Scoped to .ej-reg-form only - admin_style.css's generic .form-container
   .box/.register rules are shared by every login/register page on the site
   (learner, tutor, admin, employer login) and are left untouched. */
.ej-reg-form__title{
   font-size: 2.2rem;
   color: var(--black);
   margin-bottom: .4rem;
}
.ej-reg-form__subtitle{
   font-size: 1.3rem;
   color: var(--light-color);
   line-height: 1.5;
   margin-bottom: 1.8rem;
}
.ej-reg-row{
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 0 1.2rem;
}
.ej-reg-field{
   margin-bottom: 1.2rem;
}
.ej-reg-field label{
   display: block;
   font-size: 1.25rem;
   font-weight: 700;
   color: var(--black);
   margin-bottom: .5rem;
}
.ej-reg-field label .field-hint{
   display: block;
   font-weight: 400;
   font-size: 1.1rem;
   color: var(--light-color);
   margin-top: .2rem;
}
.ej-reg-required{ color: var(--red); }

/* Icon-prefixed input wrapper: the icon is a sibling of the real <input>,
   absolutely positioned over it, with the input's own left padding pushed
   over to clear it - the input itself stays a plain, fully-functional form
   control (no contenteditable/JS re-implementation of a text field). */
.ej-reg-input{
   position: relative;
   display: flex;
   align-items: center;
}
.ej-reg-input > i{
   position: absolute;
   left: 1.4rem;
   color: var(--light-color);
   font-size: 1.3rem;
   pointer-events: none;
   transition: color .2s ease;
}
.ej-reg-input:focus-within > i{ color: var(--main-color); }
.ej-reg-field input[type="text"],
.ej-reg-field input[type="email"],
.ej-reg-field input[type="url"],
.ej-reg-field input[type="tel"],
.ej-reg-field input[type="number"],
.ej-reg-field input[type="password"],
.ej-reg-field select{
   width: 100%;
   min-height: 4.6rem;
   padding: 1.1rem 1.3rem 1.1rem 4rem;
   font-size: 1.45rem;
   font-family: inherit;
   border-radius: .7rem;
   border: .15rem solid rgba(0,0,0,.12);
   background: var(--light-bg);
   color: var(--black);
   /* A placeholder longer than the field's available width (any language,
      including a future am/om translation) gets a clean "…" instead of
      silently hard-clipping mid-word - found via screen recording review:
      "Contact person at your company" was rendering as "...at your com". */
   text-overflow: ellipsis;
   transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ej-reg-field select{ cursor: pointer; }
.ej-reg-input--pass input{ padding-right: 4.4rem; }
.ej-reg-textarea{
   width: 100%;
   min-height: 9rem;
   padding: 1.1rem 1.3rem;
   font-size: 1.45rem;
   font-family: inherit;
   line-height: 1.5;
   border-radius: .7rem;
   border: .15rem solid rgba(0,0,0,.12);
   background: var(--light-bg);
   color: var(--black);
   resize: vertical;
   transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ej-reg-textarea:focus{
   outline: none;
   border-color: var(--main-color);
   background: var(--white);
   box-shadow: 0 0 0 .3rem rgba(142,68,173,.14);
}
.ej-reg-input__toggle{
   position: absolute;
   right: .9rem;
   border: none;
   background: none;
   color: var(--light-color);
   font-size: 1.3rem;
   padding: .8rem;
   cursor: pointer;
   border-radius: .5rem;
   transition: color .2s ease, background-color .2s ease;
}
.ej-reg-input__toggle:hover{ color: var(--main-color); background: rgba(142,68,173,.08); }
.ej-reg-field input:focus,
.ej-reg-field select:focus{
   outline: none;
   border-color: var(--main-color);
   background: var(--white);
   box-shadow: 0 0 0 .3rem rgba(142,68,173,.14);
}
.ej-reg-field input[aria-invalid="true"]{
   border-color: var(--red);
}
.ej-reg-field__error{
   color: var(--red);
   font-size: 1.2rem;
   margin: -.6rem 0 1.2rem;
}
.ej-reg-logo{
   display: flex;
   align-items: stretch;
   gap: 1.2rem;
   flex-wrap: wrap;
}
.ej-reg-logo__drop{
   flex: 1 1 18rem;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: .3rem;
   padding: 1.6rem 1.2rem;
   min-height: 9rem;
   border-radius: 1rem;
   border: .15rem dashed rgba(0,0,0,.2);
   text-align: center;
   cursor: pointer;
   transition: border-color .2s ease, background-color .2s ease;
}
.ej-reg-logo__drop i{ font-size: 1.8rem; color: var(--main-color); margin-bottom: .3rem; }
.ej-reg-logo__drop-main{ font-size: 1.3rem; font-weight: 700; color: var(--black); }
.ej-reg-logo__drop-sub{ font-size: 1.05rem; color: var(--light-color); }
.ej-reg-logo__drop:hover,
.ej-reg-logo__drop:focus-within,
.ej-reg-logo__drop.is-dragover{
   border-color: var(--main-color);
   background: rgba(142,68,173,.06);
}
.ej-reg-logo__preview{
   flex: 0 0 9rem;
   min-height: 9rem;
   border-radius: 1rem;
   background: var(--light-bg);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: .4rem;
   font-size: 1.7rem;
   color: var(--light-color);
   overflow: hidden;
}
.ej-reg-logo__preview span{
   font-size: 1rem;
   text-align: center;
   padding: 0 .4rem;
   max-width: 100%;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}
.ej-reg-logo__preview.has-image{ padding: 0; }
.ej-reg-logo__preview img{
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.ej-reg-logo__input{
   position: absolute;
   width: .1rem; height: .1rem;
   overflow: hidden;
   clip: rect(0,0,0,0);
   white-space: nowrap;
}
.ej-reg-submit{
   position: relative;
   width: 100%;
   min-height: 5rem;
   margin-top: .6rem;
   padding: 1.3rem;
   border: none;
   border-radius: .8rem;
   background: var(--main-color);
   color: #fff;
   font-size: 1.6rem;
   font-weight: 700;
   font-family: inherit;
   cursor: pointer;
   transition: background-color .2s ease, transform .15s ease;
}
.ej-reg-submit:hover{ background: var(--black); transform: translateY(-.15rem); }
.ej-reg-submit:focus-visible{ outline: .2rem solid var(--main-color); outline-offset: .2rem; }
.ej-reg-submit:disabled{ cursor: default; opacity: .85; transform: none; }
.ej-reg-submit__spinner{
   display: none;
   width: 1.8rem;
   height: 1.8rem;
   border: .25rem solid rgba(255,255,255,.4);
   border-top-color: #fff;
   border-radius: 50%;
   margin-left: .8rem;
   vertical-align: middle;
   animation: ejSpin .7s linear infinite;
}
.ej-reg-submit.is-loading .ej-reg-submit__spinner{ display: inline-block; }
@keyframes ejSpin{ to{ transform: rotate(360deg); } }
.ej-reg-form__link{
   text-align: center;
   font-size: 1.3rem;
   color: var(--light-color);
   margin-top: 1.4rem;
}
.ej-reg-form__link a{ color: var(--main-color); font-weight: 700; }
.ej-reg-form__link a:hover{ text-decoration: underline; }

@media (max-width: 560px){
   .ej-reg-row{ grid-template-columns: 1fr; }
}

/* --- Site footer on employer/register.php (and login.php, same context) ---
   The real .site-footer (css/style.css, used by home.php etc.) is
   position:fixed with a left:30rem offset reserved for the logged-out
   learner sidebar those pages have - copying that verbatim here would
   misalign it (this page has no sidebar) and risks a fixed bar overlapping
   the form unless the page reserves matching bottom padding everywhere,
   which is fragile. style.css also isn't loaded on this page at all, so
   there is no cascade conflict in giving .site-footer its own rule here:
   same classes, same visual design (logo, round social icons, copyright
   line), but living in the page's normal flow after the registration card,
   not floating over it. */
.site-footer{
   margin-top: 1.2rem;
   padding: 1.4rem 2rem 1.8rem;
   text-align: center;
}
.site-footer-inner{
   max-width: 120rem;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   gap: .7rem 2rem;
}
.site-footer-logo{
   display: inline-flex;
   align-items: center;
   gap: .8rem;
}
.site-footer-logo img{
   width: 3rem;
   height: 3rem;
   border-radius: .7rem;
   object-fit: cover;
}
.site-footer-logo span{
   font-size: 1.55rem;
   font-weight: 800;
   color: var(--black);
   white-space: nowrap;
}
.site-footer-socials{
   display: flex;
   gap: .7rem;
}
.site-footer-socials a{
   width: 3.2rem;
   height: 3.2rem;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: var(--white);
   border: 1px solid rgba(116,64,171,.16);
   color: var(--main-color);
   font-size: 1.3rem;
   transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.site-footer-socials a:hover{
   transform: translateY(-.15rem);
   background: linear-gradient(135deg, var(--main-color), var(--oragen, #f39c12));
   color: #fff;
   box-shadow: 0 .5rem 1rem rgba(66,33,104,.22);
}
.site-footer-copy{
   font-size: 1.3rem;
   color: var(--light-color);
   white-space: nowrap;
}
@media (max-width: 640px){
   .site-footer-inner{ gap: .5rem 1rem; }
   .site-footer-logo span{ display: none; }
   .site-footer-copy{ white-space: normal; text-align: center; flex-basis: 100%; order: 3; }
}

/* --- homepage "For Employers" CTA --- */
.employer-cta{
   position: relative;
   overflow: hidden;
   padding: 3.6rem 3.4rem;
   border-radius: 2.4rem;
   background:
      radial-gradient(circle at top left, rgba(102,217,239,.28), transparent 30%),
      radial-gradient(circle at bottom right, rgba(255,255,255,.12), transparent 24%),
      linear-gradient(135deg, #0f3d63 0%, #1c6fa8 55%, #27ae9f 100%);
   border: 1px solid rgba(255,255,255,.16);
   box-shadow: 0 2rem 4.4rem rgba(15,61,99,.24);
   color: #fff;
   margin-top: 2.6rem;
}
.employer-cta__wrap{
   display: grid;
   grid-template-columns: minmax(0, 1.6fr) auto;
   gap: 2.4rem;
   align-items: center;
}
.employer-cta__eyebrow{
   display: inline-flex;
   align-items: center;
   gap: .8rem;
   padding: .95rem 1.5rem;
   border-radius: 999px;
   background: rgba(255,255,255,.16);
   font-size: 1.45rem;
   font-weight: 700;
   letter-spacing: .1rem;
   text-transform: uppercase;
   margin-bottom: 1.8rem;
   backdrop-filter: blur(8px);
}
.employer-cta h3{
   font-size: clamp(2.8rem, 3.6vw, 4.2rem);
   line-height: 1.1;
   margin-bottom: 1.1rem;
   color: #fff;
}
.employer-cta p{
   max-width: 60rem;
   font-size: 1.65rem;
   line-height: 1.75;
   color: rgba(255,255,255,.9);
}
.employer-cta__actions{
   display: flex;
   flex-direction: column;
   gap: 1rem;
}
.employer-cta__actions a{
   padding: 1.3rem 2.4rem;
   border-radius: 999px;
   font-weight: 800;
   font-size: 1.5rem;
   text-align: center;
   transition: transform .25s ease, box-shadow .25s ease;
}
.employer-cta__actions a.ej-cta-primary{
   background: #fff;
   color: #0f3d63;
   box-shadow: 0 1rem 2rem rgba(10,30,48,.2);
}
.employer-cta__actions a.ej-cta-primary:hover{ transform: translateY(-.3rem) scale(1.02); }
.employer-cta__actions a.ej-cta-secondary{
   background: rgba(255,255,255,.12);
   color: #fff;
   border: 1px solid rgba(255,255,255,.4);
}
.employer-cta__actions a.ej-cta-secondary:hover{ background: rgba(255,255,255,.22); }

@media (max-width: 768px){
   .ej-detail-layout{ grid-template-columns: 1fr; }
   .ej-apply-panel{ position: static; }
   .ej-job-grid{ grid-template-columns: 1fr; }
   .ej-hero-split{ grid-template-columns: 1fr; }
   .ej-hero-split__pitch,
   .ej-hero-split__form{ padding: 2.4rem 1.8rem; }
   .ej-form-section{ padding: 1.6rem 1.6rem; }
   .ej-form-actions{ padding: 1.4rem 1.6rem; }
   .employer-cta{ padding: 2.4rem 1.8rem; }
   .employer-cta__wrap{ grid-template-columns: 1fr; }
   .employer-cta__actions{ flex-direction: row; flex-wrap: wrap; }
   .employer-cta__actions a{ flex: 1; }
   .ej-mylisting-row{ flex-direction: column; align-items: stretch; }
   .ej-mylisting-row__actions{ justify-content: stretch; }
   .ej-mylisting-row__actions a,
   .ej-mylisting-row__actions button{ flex: 1; text-align: center; }
}
