/* =========================================================
   PROJECT JUNOON
   Main Design System
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


.site-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.junoon-page {
    overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    background: var(--junoon-white);
    border-bottom: 1px solid var(--junoon-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    margin-right: auto;
}


.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 32px;
}
.site-logo__mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    background: var(--junoon-black);
    color: var(--junoon-white);

    border-radius: var(--radius-sm);

    font-size: 18px;
    font-weight: 700;
}

.site-logo__name {
    font-size: 16px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.site-nav a,
.mobile-navigation a {
    color: var(--junoon-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.site-nav a:hover,
.mobile-navigation a:hover {
    color: var(--junoon-blue-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-login {
    color: var(--junoon-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.header-login:hover {
    color: var(--junoon-blue-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 0 18px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    text-decoration: none;
    cursor: pointer;

    font-size: 14px;
    font-weight: 600;

    transition:
        background-color 150ms ease,
        color 150ms ease,
        border-color 150ms ease;
}

.profile-form .button.button--primary {
    background-color: var(--junoon-blue) !important;
    color: var(--junoon-white) !important;
    border-color: var(--junoon-blue) !important;
}

.profile-form .button.button--primary:hover {
    background-color: var(--junoon-black) !important;
    color: var(--junoon-white) !important;
    border-color: var(--junoon-black) !important;
}

.button--secondary {
    background: var(--junoon-blue-soft);
    color: var(--junoon-blue);
    border-color: var(--junoon-blue);
}

.button--secondary:hover {
    background: var(--junoon-blue-soft);
    color: var(--junoon-blue-hover);
    border-color: var(--junoon-blue-hover);
}

.button--large {
    min-height: 50px;
    padding-inline: 24px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    background: var(--junoon-surface);
    border-bottom: 1px solid var(--junoon-border);
}

.hero__inner {
    min-height: 560px;

    display: flex;
    align-items: center;
}

.hero__content {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 16px;

    color: var(--junoon-blue);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    max-width: 700px;

    color: var(--junoon-black);

    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero__description {
    max-width: 620px;

    margin: 28px 0 0;

    color: var(--junoon-muted);

    font-size: 19px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.job-search,
.how-it-works,
.mission,
.employer-cta {
    padding-block: 100px;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 48px;
}

.section-heading h2,
.mission h2,
.employer-cta h2 {
    margin: 0;

    color: var(--junoon-black);

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}


/* =========================================================
   JOB SEARCH
   ========================================================= */

.job-search {
    background: var(--junoon-white);
    border-bottom: 1px solid var(--junoon-border);
}

.job-search__form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;

    gap: 16px;
    align-items: end;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    color: var(--junoon-black);

    font-size: 14px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;

    padding: 0 14px;

    border: 1px solid #CFCFCA;
    border-radius: var(--radius-sm);

    background: var(--junoon-white);
    color: var(--junoon-text);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #858585;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--junoon-blue);

    outline: 3px solid rgba(37, 99, 235, 0.16);
}

.search-button {
    min-height: 48px;
}

/* =========================================================
   JOB LISTING
   ========================================================= */

.latest-jobs {
    padding-block: 100px;
    background: var(--junoon-white);
    border-bottom: 1px solid var(--junoon-border);
}

.section-heading--compact {
    margin-bottom: 36px;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 44px;
}

.section-heading-row h2 {
    margin: 0;
    color: var(--junoon-black);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-link,
.text-link {
    color: var(--junoon-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.section-link:hover,
.text-link:hover {
    color: var(--junoon-blue-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   HORIZONTAL JOB ROW
   ========================================================= */

.job-list {
    border-top: 1px solid var(--junoon-border);
}

.job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 30px 0;

    border-bottom: 1px solid var(--junoon-border);
}

.job-row__main {
    min-width: 0;
}

.job-row__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.job-row h3 {
    margin: 0;

    color: var(--junoon-black);

    font-size: 21px;
    line-height: 1.3;
}

.job-type {
    padding: 4px 8px;

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-sm);

    color: var(--junoon-muted);

    font-size: 12px;
    font-weight: 500;
}

.job-company {
    margin: 6px 0 12px;

    color: var(--junoon-muted);

    font-size: 14px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    color: var(--junoon-muted);

    font-size: 13px;
}

.job-meta span {
    position: relative;
}

.job-meta span:not(:last-child)::after {
    content: "·";

    position: absolute;
    right: -11px;

    color: #AAAAAA;
}

.job-row__support {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 24px;
}

.accommodation-tag {
    display: inline-flex;
    align-items: center;

    padding: 6px 9px;

    background: var(--junoon-blue-soft);

    color: var(--junoon-blue);

    font-size: 12px;
    font-weight: 600;
}

.job-link {
    color: var(--junoon-blue);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;
}

.job-link:hover {
    color: var(--junoon-blue-hover);

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   FEATURED JOB CARDS
   ========================================================= */

.featured-jobs {
    padding-block: 100px;

    background: var(--junoon-surface);

    border-bottom: 1px solid var(--junoon-border);
}

.job-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.job-card {
    display: flex;
    flex-direction: column;

    min-height: 340px;
    padding: 28px;

    background: var(--junoon-white);

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-md);
}

.job-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 34px;
}

.job-card__category {
    color: var(--junoon-blue);

    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.job-card__type {
    color: var(--junoon-muted);

    font-size: 12px;
    font-weight: 500;
}

.job-card h3 {
    margin: 0 0 8px;

    color: var(--junoon-black);

    font-size: 22px;
    line-height: 1.3;
}

.job-card__company {
    margin: 0;

    color: var(--junoon-muted);

    font-size: 14px;
}

.job-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 24px;

    color: var(--junoon-muted);

    font-size: 13px;
}

.job-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 16px;

    margin-top: auto;
    padding-top: 28px;
}


/* =========================================================
   MISSION COPY
   ========================================================= */

.mission__copy {
    max-width: 600px;
}

.mission__copy .text-link {
    display: inline-block;
    margin-top: 10px;
}


/* =========================================================
   CANDIDATE CTA
   ========================================================= */

.candidate-cta {
    padding-block: 100px;

    background: var(--junoon-surface);

    border-bottom: 1px solid var(--junoon-border);
}

.candidate-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.candidate-cta__inner > div {
    max-width: 720px;
}

.candidate-cta p:not(.eyebrow) {
    color: var(--junoon-muted);
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-it-works {
    background: var(--junoon-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--junoon-border);
    border-bottom: 1px solid var(--junoon-border);
}

.process-step {
    padding: 32px;

    border-right: 1px solid var(--junoon-border);
}

.process-step:last-child {
    border-right: 0;
}

.process-step__number {
    display: block;

    margin-bottom: 48px;

    color: var(--junoon-blue);

    font-size: 13px;
    font-weight: 600;
}

.process-step h3 {
    margin: 0 0 12px;

    color: var(--junoon-black);

    font-size: 21px;
    line-height: 1.3;
}

.process-step p {
    margin: 0;

    color: var(--junoon-muted);
}

@media (max-width: 768px) {

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 32px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--junoon-border);
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .process-step__number {
        margin-bottom: 24px;
    }

}


/* =========================================================
   MISSION
   ========================================================= */

.mission {
    background: var(--junoon-surface);
}

.mission__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
}

.mission__inner > div:last-child {
    color: var(--junoon-muted);
    font-size: 17px;
}

.mission__inner p {
    margin-top: 0;
}

.mission__inner p + p {
    margin-top: 20px;
}


/* =========================================================
   EMPLOYER CTA
   ========================================================= */

.employer-cta {
    background: var(--junoon-white);
    border-bottom: 1px solid var(--junoon-border);
}

.employer-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.employer-cta__inner > div {
    max-width: 700px;
}

.employer-cta p:not(.eyebrow) {
    color: var(--junoon-muted);
}


/* =========================
   FOOTER
========================= */

.site-footer {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) 2fr;
    gap: 80px;

    padding-top: 64px;
    padding-bottom: 56px;
}


/* Brand */

.site-footer__brand {
    max-width: 300px;
}

.site-footer__brand p {
    margin: 24px 0 0;

    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}


/* Footer navigation */

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}


/* Every column */

.site-footer__links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Normalize headings */

.site-footer__links h2,
.site-footer__links h3 {
    margin: 0 0 20px;

    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


/* Footer links */

.site-footer__links a {
    margin-bottom: 14px;

    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;

    text-decoration: none;
}

.site-footer__links a:hover {
    color: #4f46e5;
}


/* Bottom footer */

.site-footer__bottom {
    padding-top: 24px;
    padding-bottom: 24px;

    border-top: 1px solid #e5e7eb;
}

.site-footer__bottom p {
    margin: 0;

    color: #9ca3af;
    font-size: 13px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .site-footer__brand {
        max-width: 400px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

    .site-footer__main {
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .site-footer__links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer__links a {
        margin-bottom: 12px;
    }
}

/* =========================================================
   JOBS PAGE
   ========================================================= */

.jobs-hero {
    padding-block: 88px 72px;

    background: var(--junoon-surface);
    border-bottom: 1px solid var(--junoon-border);
}

.jobs-hero h1 {
    max-width: 800px;

    margin: 0;

    color: var(--junoon-black);

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.jobs-hero__description {
    max-width: 650px;

    margin: 24px 0 0;

    color: var(--junoon-muted);

    font-size: 18px;
}


/* =========================================================
   JOB DIRECTORY
   ========================================================= */

.jobs-directory {
    padding-block: 72px 100px;

    background: var(--junoon-white);
}

.jobs-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);

    gap: 64px;
}


/* =========================================================
   FILTERS
   ========================================================= */

.jobs-filters {
    align-self: start;

    position: sticky;
    top: 24px;
}

.jobs-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--junoon-border);
}

.jobs-filters__header h2 {
    margin: 0;

    color: var(--junoon-black);

    font-size: 18px;
}

.filter-clear {
    padding: 0;

    border: 0;

    background: transparent;

    color: var(--junoon-blue);

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

.filter-clear:hover {
    color: var(--junoon-blue-hover);

    text-decoration: underline;
    text-underline-offset: 4px;
}

.filter-group {
    margin: 28px 0 0;
    padding: 0;

    border: 0;
}

.filter-group label,
.filter-group legend {
    display: block;

    margin-bottom: 10px;

    color: var(--junoon-black);

    font-size: 13px;
    font-weight: 600;
}

.filter-group input[type="search"],
.filter-group input[type="text"] {
    width: 100%;
    min-height: 44px;

    padding: 0 12px;

    border: 1px solid #CFCFCA;
    border-radius: var(--radius-sm);

    background: var(--junoon-white);
    color: var(--junoon-text);
}

.filter-group input[type="search"]:focus,
.filter-group input[type="text"]:focus {
    border-color: var(--junoon-blue);

    outline: 3px solid rgba(37, 99, 235, 0.16);
}

.checkbox-option,
.radio-option {
    display: flex !important;
    align-items: center;

    gap: 10px;

    margin-bottom: 11px !important;

    color: var(--junoon-muted) !important;

    font-size: 14px !important;
    font-weight: 400 !important;

    cursor: pointer;
}

.checkbox-option input,
.radio-option input {
    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: var(--junoon-blue);
}

.filter-apply {
    width: 100%;

    margin-top: 32px;
}


/* =========================================================
   RESULTS HEADER
   ========================================================= */

.jobs-results__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    padding-bottom: 24px;

    border-bottom: 1px solid var(--junoon-border);
}

.jobs-results__count {
    margin: 0 0 4px;

    color: var(--junoon-blue);

    font-size: 13px;
    font-weight: 600;
}

.jobs-results__top h2 {
    margin: 0;

    color: var(--junoon-black);

    font-size: 28px;
    line-height: 1.2;
}

.jobs-sort {
    display: flex;
    align-items: center;

    gap: 10px;
}

.jobs-sort label {
    color: var(--junoon-muted);

    font-size: 13px;
}

.jobs-sort select {
    min-height: 42px;

    padding: 0 32px 0 12px;

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-sm);

    background: var(--junoon-white);

    color: var(--junoon-black);

    cursor: pointer;
}


/* =========================================================
   JOB RESULT
   ========================================================= */

.job-result {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    padding: 30px 0;

    border-bottom: 1px solid var(--junoon-border);
}

.job-result__content {
    min-width: 0;
}

.job-result__heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}

.job-result__heading h3 {
    margin: 0;

    font-size: 21px;
    line-height: 1.3;
}

.job-result__heading h3 a {
    color: var(--junoon-black);

    text-decoration: none;
}

.job-result__heading h3 a:hover {
    color: var(--junoon-blue);

    text-decoration: underline;
    text-underline-offset: 4px;
}

.job-result__company {
    margin: 6px 0 10px;

    color: var(--junoon-muted);

    font-size: 14px;
}

.job-result__meta {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    color: var(--junoon-muted);

    font-size: 13px;
}

.job-result__meta span {
    position: relative;
}

.job-result__meta span:not(:last-child)::after {
    content: "·";

    position: absolute;

    right: -11px;

    color: #AAAAAA;
}

.job-result__summary {
    max-width: 650px;

    margin: 14px 0;

    color: var(--junoon-muted);

    font-size: 14px;
}

.job-result__supports {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.job-result__action {
    display: flex;
    align-items: flex-end;
    flex-direction: column;

    flex-shrink: 0;

    gap: 20px;
}

.job-posted {
    color: #858585;

    font-size: 12px;
    white-space: nowrap;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.jobs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-top: 44px;
}

.pagination-button {
    min-width: 40px;
    min-height: 40px;

    padding: 0 10px;

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-sm);

    background: var(--junoon-white);

    color: var(--junoon-black);

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
}

.pagination-button:hover:not(:disabled) {
    border-color: var(--junoon-blue);

    color: var(--junoon-blue);
}

.pagination-button--active {
    border-color: var(--junoon-blue);

    background: var(--junoon-blue);

    color: var(--junoon-white);
}

.pagination-button:disabled {
    color: #AAAAAA;

    cursor: not-allowed;
}

.pagination-ellipsis {
    padding-inline: 4px;

    color: var(--junoon-muted);
}


/* =========================================================
   JOBS PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .jobs-layout {
        grid-template-columns: 220px minmax(0, 1fr);

        gap: 36px;
    }
}


@media (max-width: 800px) {

    .jobs-layout {
        grid-template-columns: 1fr;
    }

    .jobs-filters {
        position: static;

        padding: 24px;

        border: 1px solid var(--junoon-border);
        background: var(--junoon-surface);
    }

    .jobs-filters__header {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .jobs-results__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .jobs-sort {
        width: 100%;
    }

    .jobs-sort select {
        flex: 1;
    }
}


@media (max-width: 600px) {

    .jobs-hero {
        padding-block: 64px 56px;
    }

    .jobs-directory {
        padding-block: 48px 72px;
    }

    .job-result {
        flex-direction: column;
        gap: 22px;
    }

    .job-result__action {
        width: 100%;

        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;

        gap: 20px;
    }

    .jobs-pagination {
        flex-wrap: wrap;
    }
}

/* =========================================================
   JOB DETAILS PAGE
   ========================================================= */

.job-details-hero {
    padding-block: 40px 72px;

    background: var(--junoon-surface);
    border-bottom: 1px solid var(--junoon-border);
}

.back-link {
    display: inline-flex;

    margin-bottom: 56px;

    color: var(--junoon-blue);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.back-link:hover {
    color: var(--junoon-blue-hover);

    text-decoration: underline;
    text-underline-offset: 4px;
}

.job-details-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}

.job-details-header__main {
    max-width: 800px;
}

.job-details-header h1 {
    margin: 0;

    color: var(--junoon-black);

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.job-details-company {
    margin: 14px 0 18px;

    color: var(--junoon-muted);

    font-size: 18px;
}

.job-details-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 20px;

    color: var(--junoon-muted);

    font-size: 14px;
}

.job-details-meta span {
    position: relative;
}

.job-details-meta span:not(:last-child)::after {
    content: "·";

    position: absolute;
    right: -12px;

    color: #AAAAAA;
}

.job-details-header__action {
    display: flex;
    align-items: flex-end;
    flex-direction: column;

    flex-shrink: 0;

    gap: 12px;
}

.job-details-header__action p {
    margin: 0;

    color: #858585;

    font-size: 12px;
}


/* =========================================================
   CONTENT LAYOUT
   ========================================================= */

.job-details-content {
    padding-block: 80px 100px;

    background: var(--junoon-white);
}

.job-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;

    gap: 90px;
}

.job-details-main {
    max-width: 760px;
}

.job-details-section {
    padding-bottom: 48px;

    margin-bottom: 48px;

    border-bottom: 1px solid var(--junoon-border);
}

.job-details-section:last-of-type {
    margin-bottom: 0;
}

.job-details-section h2 {
    margin: 0 0 20px;

    color: var(--junoon-black);

    font-size: 26px;
    line-height: 1.25;
}

.job-details-section p {
    margin: 0 0 16px;

    color: var(--junoon-muted);

    font-size: 16px;
    line-height: 1.75;
}

.job-details-section p:last-child {
    margin-bottom: 0;
}

.job-details-section ul {
    margin: 0;
    padding-left: 22px;

    color: var(--junoon-muted);

    font-size: 16px;
    line-height: 1.75;
}

.job-details-section li + li {
    margin-top: 10px;
}


/* =========================================================
   SKILLS
   ========================================================= */

.job-skills {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.job-skills span {
    padding: 7px 10px;

    border: 1px solid var(--junoon-border);

    color: var(--junoon-blue);

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   SUPPORT LIST
   ========================================================= */

.support-list {
    list-style: none;

    padding: 0 !important;
}

.support-list li {
    position: relative;

    padding-left: 24px;
}

.support-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--junoon-blue);

    font-weight: 700;
}


/* =========================================================
   APPLY SECTION
   ========================================================= */

.job-apply-section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 32px;

    background: var(--junoon-surface);

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-md);
}

.job-apply-section h2 {
    margin: 0 0 10px;

    color: var(--junoon-black);

    font-size: 28px;
}

.job-apply-section p:not(.eyebrow) {
    max-width: 500px;

    margin: 0;

    color: var(--junoon-muted);

    font-size: 14px;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.job-details-sidebar {
    display: flex;
    flex-direction: column;

    gap: 24px;

    align-self: start;

    position: sticky;
    top: 24px;
}

.job-summary,
.company-summary,
.accessibility-summary {
    padding: 28px;

    border: 1px solid var(--junoon-border);
    background: var(--junoon-white);
}

.job-summary h2,
.company-summary h2,
.accessibility-summary h2 {
    margin: 0 0 24px;

    color: var(--junoon-black);

    font-size: 20px;
    line-height: 1.3;
}

.job-summary dl {
    margin: 0;
}

.job-summary dl > div {
    padding-block: 16px;

    border-bottom: 1px solid var(--junoon-border);
}

.job-summary dl > div:first-child {
    padding-top: 0;
}

.job-summary dl > div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.job-summary dt {
    margin-bottom: 5px;

    color: var(--junoon-muted);

    font-size: 12px;
}

.job-summary dd {
    margin: 0;

    color: var(--junoon-black);

    font-size: 14px;
    font-weight: 600;
}

.company-summary,
.accessibility-summary {
    background: var(--junoon-surface);
}

.company-summary .eyebrow,
.accessibility-summary .eyebrow {
    margin-bottom: 12px;
}

.company-summary h2,
.accessibility-summary h2 {
    margin-bottom: 12px;
}

.company-summary p:not(.eyebrow),
.accessibility-summary p:not(.eyebrow) {
    margin: 0 0 18px;

    color: var(--junoon-muted);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   JOB DETAILS RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .job-details-layout {
        grid-template-columns: 1fr;

        gap: 56px;
    }

    .job-details-main {
        max-width: none;
    }

    .job-details-sidebar {
        position: static;

        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .job-summary {
        grid-column: 1 / -1;
    }
}


@media (max-width: 700px) {

    .job-details-hero {
        padding-block: 32px 56px;
    }

    .back-link {
        margin-bottom: 40px;
    }

    .job-details-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 32px;
    }

    .job-details-header__action {
        align-items: flex-start;
    }

    .job-details-header__action .button {
        width: 100%;
    }

    .job-details-content {
        padding-block: 56px 72px;
    }

    .job-details-sidebar {
        display: flex;
    }

    .job-apply-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .job-apply-section .button {
        width: 100%;
    }
}

/* =========================================================
   AUTHENTICATION PAGES
   ========================================================= */

.auth-page {
    min-height: 100%;
}

.auth-section {
    padding-block: 64px 88px;

    background: var(--junoon-surface);
}

.auth-container {
    width: min(100%, 560px);
    margin-inline: auto;
}

.auth-container > .back-link {
    margin-bottom: 28px;
}

.auth-intro {
    margin-bottom: 22px;
}

.auth-intro h1 {
    margin: 0;

    color: var(--junoon-black);

    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.auth-intro > p:last-child {
    max-width: 480px;

    margin: 14px 0 0;

    color: var(--junoon-muted);

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   AUTH FORM
   ========================================================= */

.auth-form {
    padding: 28px;

    background: var(--junoon-white);

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-md);
}

/*
 * Keep the form compact.
 * The generic .form-field rule above the auth section is also
 * used by job-search/forms, so authentication gets its own
 * spacing here.
 */
.auth-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0;

    margin: 0 0 14px !important;
}

.auth-form .form-field:last-of-type {
    margin-bottom: 14px !important;
}

.auth-form .form-field > label,
.auth-form .form-label-row label {
    display: block;

    margin: 0 0 5px;

    color: var(--junoon-black);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin: 0 0 5px;
}

.form-label-row label {
    margin: 0;
}

.auth-form .form-field input,
.auth-form .form-field select,
.auth-form .form-field textarea {
    width: 100%;
    min-height: 40px;

    margin: 0;

    padding: 8px 11px;

    border: 1px solid #CFCFCA;
    border-radius: var(--radius-sm);

    background: var(--junoon-white);
    color: var(--junoon-text);

    line-height: 1.4;
}

.auth-form .form-field input:focus,
.auth-form .form-field select:focus,
.auth-form .form-field textarea:focus {
    border-color: var(--junoon-blue);

    outline: 3px solid rgba(37, 99, 235, 0.16);
}

.auth-form .form-field > p,
.auth-form .form-help {
    margin: 4px 0 0 !important;

    color: var(--junoon-muted);

    font-size: 10px;
    line-height: 1.45;
}

/*
 * WordPress/theme paragraph defaults can otherwise create
 * large vertical gaps inside the login form.
 */
.auth-form p {
    line-height: 1.45;
}

.auth-form p:empty {
    display: none;
}

.form-link {
    color: var(--junoon-blue);

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;
}

.form-link:hover {
    color: var(--junoon-blue-hover);

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   PASSWORD FIELD
   ========================================================= */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 72px !important;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 10px;

    min-height: 32px;

    padding: 4px 8px;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: var(--junoon-blue);

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.password-toggle:hover {
    color: var(--junoon-blue-hover);

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   REMEMBER ME
   ========================================================= */

.auth-remember {
    display: flex !important;
    align-items: center;
    flex-direction: row !important;

    gap: 7px;

    margin: 0 0 14px !important;
    padding: 0 !important;

    color: var(--junoon-muted) !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
}

.auth-remember input[type="checkbox"] {
    flex: 0 0 auto;

    width: 16px !important;
    height: 16px !important;

    min-height: 16px !important;

    margin: 0 !important;
    padding: 0 !important;

    accent-color: var(--junoon-blue);
}


/* =========================================================
   SUBMIT
   ========================================================= */

.auth-submit {
    display: block;

    width: 100%;

    min-height: 42px;
}


/* =========================================================
   FORM MESSAGES
   ========================================================= */

.form-message {
    display: flex;
    flex-direction: column;

    gap: 3px;

    margin: 0 0 14px !important;

    padding: 10px 12px;

    border: 1px solid;
    border-radius: var(--radius-sm);

    font-size: 12px;
    line-height: 1.45;
}

.form-message--error {
    border-color: #E4B4B0;

    background: #FFF7F6;

    color: var(--junoon-error);
}

.form-message--success {
    border-color: #A8D5C0;

    background: #F3FBF7;

    color: var(--junoon-success);
}


/* =========================================================
   SECURITY NOTE
   ========================================================= */

.auth-security-note {
    margin: 8px 0 0 !important;

    color: #858585;

    font-size: 10px;
    line-height: 1.5;

    text-align: center;
}

/* =========================
   MANAGE JOBS
========================= */

.junoon-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 12px;

    border: 1px solid currentColor;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.junoon-status--active {
    color: #2f7a4f;
    background: rgba(47, 122, 79, 0.08);
}


.junoon-status--closed {
    color: #a33a3a;
    background: rgba(163, 58, 58, 0.08);
}

.junoon-manage-jobs {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px 80px;
    box-sizing: border-box;
}


/* Header */

.junoon-manage-jobs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;

    padding-bottom: 40px;
    margin-bottom: 40px;

    border-bottom: 1px solid #e5e7eb;
}


.junoon-manage-jobs-heading {
    max-width: 650px;
}


.junoon-page-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #6d4cc6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}


.junoon-manage-jobs-heading h1 {
    margin: 0;

    color: #1f2937;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}


.junoon-manage-jobs-heading p {
    margin: 16px 0 0;

    color: #6b7280;
    font-size: 17px;
    line-height: 1.6;
}


/* Main button */

.junoon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.junoon-button--primary {
    background: #1f2937;
    color: #ffffff;
    border: 1px solid #1f2937;
}


.junoon-button--primary:hover {
    background: #374151;
    border-color: #374151;
    color: #ffffff;
}


/* Jobs card */

.junoon-manage-jobs-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;
}


.junoon-manage-jobs-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 32px;

    border-bottom: 1px solid #e5e7eb;
}


.junoon-manage-jobs-card-header h2 {
    margin: 0;

    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
}


.junoon-manage-jobs-card-header p {
    margin: 6px 0 0;

    color: #6b7280;
    font-size: 14px;
}


/* Table */

.junoon-manage-jobs-table-wrapper {
    width: 100%;
    overflow-x: auto;
}


.junoon-manage-jobs-table {
    width: 100%;

    border-collapse: collapse;

    text-align: left;
}


.junoon-manage-jobs-table th {
    padding: 16px 32px;

    color: #6b7280;
    background: #fafafa;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.junoon-manage-jobs-table td {
    padding: 20px 32px;

    color: #374151;

    font-size: 15px;

    border-top: 1px solid #e5e7eb;
}


.junoon-manage-jobs-table tbody tr {
    transition: background-color 0.2s ease;
}


.junoon-manage-jobs-table tbody tr:hover {
    background: #fafafa;
}


/* Job title */

.junoon-job-title a {
    color: #1f2937;

    font-weight: 600;

    text-decoration: none;
}


.junoon-job-title a:hover {
    color: #6d4cc6;
}


/* Status badge */

.junoon-status {
    display: inline-flex;

    padding: 6px 12px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;

    background: #f3f4f6;
    color: #4b5563;
}


.junoon-status--publish {
    background: #ecfdf5;
    color: #047857;
}


.junoon-status--draft {
    background: #fef3c7;
    color: #92400e;
}


.junoon-status--pending {
    background: #eff6ff;
    color: #1d4ed8;
}


/* Application count */

.junoon-application-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 32px;
    height: 32px;

    padding: 0 10px;

    border-radius: 50%;

    background: #f3f0ff;
    color: #6d4cc6;

    font-size: 14px;
    font-weight: 700;
}


/* Actions */

.junoon-job-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


.junoon-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 8px 14px;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    color: #374151;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.junoon-action-link:hover {
    border-color: #d1d5db;

    background: #f9fafb;

    color: #1f2937;
}


.junoon-action-link--primary {
    border-color: #ede9fe;

    background: #f5f3ff;

    color: #6d4cc6;
}


.junoon-action-link--primary:hover {
    border-color: #ddd6fe;

    background: #ede9fe;

    color: #5b3bb5;
}


/* Empty state */

.junoon-manage-jobs-empty {
    padding: 64px 32px;

    text-align: center;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    background: #ffffff;
}


.junoon-manage-jobs-empty h2 {
    margin: 0;

    color: #1f2937;

    font-size: 22px;
}


.junoon-manage-jobs-empty p {
    margin: 10px 0 0;

    color: #6b7280;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .junoon-manage-jobs {
        padding: 48px 20px 64px;
    }


    .junoon-manage-jobs-header {
        flex-direction: column;
        align-items: flex-start;

        padding-bottom: 32px;
        margin-bottom: 32px;
    }


    .junoon-manage-jobs-heading h1 {
        font-size: 38px;
    }


    .junoon-manage-jobs-card-header {
        padding: 24px 20px;
    }


    .junoon-manage-jobs-table th,
    .junoon-manage-jobs-table td {
        padding: 16px 20px;
    }


    .junoon-job-actions {
        flex-wrap: nowrap;
    }
}

/* =========================================
   MANAGE APPLICATIONS
========================================= */

.manager-page {
    padding: 72px 0 96px;
}


.manager-page-header {
    padding-bottom: 36px;
    border-bottom: 1px solid var(--color-border);
}


.manager-page-header .eyebrow {
    margin: 0 0 14px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--color-primary);
}


.manager-page-header h1 {
    margin: 0;

    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.05;
}


.manager-page-description {
    margin: 14px 0 0;

    font-size: 1rem;
    color: var(--color-text-muted);
}


/* Applications section */

.junoon-manage-applications {
    padding-top: 32px;
}


/* Toolbar */

.junoon-applications-toolbar {
    margin-bottom: 24px;
}


.junoon-application-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.junoon-application-filters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 16px;

    border: 1px solid var(--color-border);
    border-radius: 999px;

    font-size: 0.875rem;
    font-weight: 600;

    color: var(--color-text);
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.junoon-application-filters a:hover {
    border-color: var(--color-text);
}


.junoon-application-filters a.is-active {
    background: var(--color-text);
    border-color: var(--color-text);

    color: #ffffff;
}


/* Applications card */

.junoon-applications-card {
    overflow: hidden;

    border: 1px solid var(--color-border);
    border-radius: 20px;

    background: var(--color-surface);
}


.junoon-applications-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px 28px;

    border-bottom: 1px solid var(--color-border);
}


.junoon-applications-card-header h2 {
    margin: 0;

    font-size: 1.1rem;
}


.junoon-applications-card-header p {
    margin: 6px 0 0;

    font-size: 0.875rem;

    color: var(--color-text-muted);
}


/* Table */

.junoon-table-wrapper {
    overflow-x: auto;
}


.junoon-manage-applications-table {
    width: 100%;

    border-collapse: collapse;
}


.junoon-manage-applications-table th {
    padding: 14px 28px;

    text-align: left;

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--color-text-muted);

    background: var(--color-background);
}


.junoon-manage-applications-table td {
    padding: 18px 28px;

    font-size: 0.9rem;

    border-top: 1px solid var(--color-border);
}


.junoon-manage-applications-table tbody tr {
    transition: background-color 0.2s ease;
}


.junoon-manage-applications-table tbody tr:hover {
    background: var(--color-background);
}


.junoon-candidate-cell strong {
    font-size: 0.9rem;
}

/* =========================================
   MANAGE APPLICATIONS — FILTER DROPDOWN
========================================= */

.junoon-applications-toolbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
}


.junoon-filter-dropdown {
    position: relative;
}


.junoon-filter-dropdown summary {
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    min-width: 230px;

    padding: 0.85rem 1rem;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}


.junoon-filter-dropdown summary::-webkit-details-marker {
    display: none;
}


.junoon-filter-dropdown summary:hover {
    border-color: #b9a8e8;
}


.junoon-filter-dropdown[open] summary {
    border-color: #7c5ce0;

    box-shadow:
        0 0 0 3px rgba(124, 92, 224, 0.08);
}


.junoon-filter-arrow {
    transition: transform 0.2s ease;
}


.junoon-filter-dropdown[open]
.junoon-filter-arrow {
    transform: rotate(180deg);
}


/* Dropdown menu */

.junoon-filter-menu {
    position: absolute;

    top: calc(100% + 0.6rem);
    left: 0;

    width: 250px;

    padding: 0.5rem;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);

    z-index: 50;
}


.junoon-filter-menu a {
    display: flex;
    align-items: center;

    gap: 0.75rem;

    padding: 0.75rem;

    border-radius: 9px;

    color: #374151;

    font-size: 0.9rem;

    text-decoration: none;

    transition: 0.2s ease;
}


.junoon-filter-menu a:hover {
    background: #f7f5fc;
}


.junoon-filter-menu a.is-active {
    background: #f1edfb;

    color: #6d4cc7;

    font-weight: 600;
}


/* Fake checkbox */

.junoon-filter-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    border: 1px solid #d1d5db;
    border-radius: 5px;

    font-size: 0.7rem;

    color: #ffffff;
}


.junoon-filter-menu
a.is-active
.junoon-filter-checkbox {
    background: #7c5ce0;

    border-color: #7c5ce0;
}


/* Status badges */

.junoon-status-badge {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 700;
}


/* Submitted */

.junoon-status-badge--submitted {
    background: #f3f4f6;
    color: #4b5563;
}


/* In review */

.junoon-status-badge--in_review {
    background: #eef2ff;
    color: #4f46e5;
}


/* Shortlisted */

.junoon-status-badge--shortlisted {
    background: #f3e8ff;
    color: #7e22ce;
}


/* Interview */

.junoon-status-badge--interview {
    background: #fff7ed;
    color: #c2410c;
}


/* Selected */

.junoon-status-badge--selected {
    background: #ecfdf5;
    color: #047857;
}


/* Rejected */

.junoon-status-badge--rejected {
    background: #fef2f2;
    color: #b91c1c;
}


/* Action */

.junoon-table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border: 1px solid var(--color-border);
    border-radius: 10px;

    font-size: 0.78rem;
    font-weight: 600;

    color: var(--color-text);
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.junoon-table-action:hover {
    background: var(--color-text);
    border-color: var(--color-text);

    color: #ffffff;
}


/* Empty state */

.junoon-empty-state {
    padding: 48px 28px;

    text-align: center;

    color: var(--color-text-muted);
}


/* Responsive */

@media (max-width: 768px) {

    .manager-page {
        padding: 48px 0 64px;
    }


    .manager-page-header h1 {
        font-size: 2.5rem;
    }


    .junoon-applications-card-header {
        padding: 20px;
    }


    .junoon-manage-applications-table th,
    .junoon-manage-applications-table td {
        padding: 16px 20px;
    }

}

/* =========================================
   MANAGE APPLICATIONS — TABLE FIXES
========================================= */

.junoon-manage-applications-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Small alignment adjustment for Status and Action */

/* Move only the status badge slightly left */
.junoon-manage-applications-table td:nth-child(4) .application-status {
    position: relative;
    left: -15px;
}

/* Move only the View Application link slightly right */
.junoon-manage-applications-table td:nth-child(5) a {
    position: relative;
    left: -15px;
}

/* Keep View Application text visible on hover */
.junoon-manage-applications-table td:nth-child(5) a:hover {
    color: #1f2937;
}

/* Prevent content from pushing columns outside */
.junoon-manage-applications-table th,
.junoon-manage-applications-table td {
    overflow-wrap: break-word;
}

/* Keep status badge inside its column */
.junoon-manage-applications-table td:nth-child(4) {
    white-space: nowrap;
}

/* Keep action inside its column */
.junoon-manage-applications-table td:last-child {
    white-space: nowrap;
}


/* =========================================
   RESPONSIVE TABLE
========================================= */

@media (max-width: 768px) {

    .junoon-manage-applications-table {
        min-width: 650px;
    }

    .junoon-manage-applications {
        overflow-x: auto;
        max-width: 100%;
    }

}

/* =========================================================
   AUTH FOOTER
   ========================================================= */

.auth-footer {
    margin-top: 16px;

    text-align: center;
}

.auth-footer p {
    margin: 0 !important;

    color: var(--junoon-muted);

    font-size: 12px;
}

.auth-footer a {
    color: var(--junoon-blue);

    font-weight: 600;

    text-decoration: none;
}

.auth-footer a:hover {
    color: var(--junoon-blue-hover);

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   AUTH MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .auth-section {
        padding-block: 48px 64px;
    }

    .auth-form {
        padding: 20px;
    }

    .form-label-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   JOB RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .job-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .job-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .job-row__support {
        width: 100%;
        justify-content: space-between;
    }

    .candidate-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 700px) {

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .job-card-grid {
        grid-template-columns: 1fr;
    }

    .job-row {
        padding: 26px 0;
    }

    .job-row__support {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .job-meta {
        gap: 10px 18px;
    }

    .job-card {
        min-height: 300px;
    }

    .candidate-cta,
    .latest-jobs,
    .featured-jobs {
        padding-block: 72px;
    }
}

/* ========================================
   LOGIN PAGE
======================================== */

.login-section {
    padding: 100px 0 120px;
}


/* Intro */

.login-intro {
    max-width: 700px;
    margin-bottom: 70px;
}

.login-intro h1 {
    margin: 12px 0 20px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.login-intro > p:last-child {
    font-size: 20px;
    line-height: 1.6;

    opacity: 0.7;
}


/* ========================================
   LOGIN CARDS
======================================== */

.login-options {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 32px;
}


.login-option {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 380px;

    padding: 48px;

    border: 1px solid rgba(0, 0, 0, 0.15);

    background: rgba(255, 255, 255, 0.45);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.login-option:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 0, 0, 0.35);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}


/* Card label */

.login-option__label {
    margin: 0 0 28px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.7;
}


/* Card heading */

.login-option h2 {
    margin: 0 0 22px;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


/* Card description */

.login-option__content > p:last-child {
    max-width: 500px;

    font-size: 18px;
    line-height: 1.7;

    opacity: 0.7;
}


/* Button */

.login-option .button {
    margin-top: 45px;

    align-self: flex-start;
}


/* ========================================
   LOGIN FOOTER
======================================== */

.login-footer {
    margin-top: 60px;

    text-align: center;
}

.login-footer p {
    font-size: 16px;

    opacity: 0.7;
}

.login-footer a {
    margin-left: 6px;

    color: inherit;

    font-weight: 700;

    text-decoration: underline;

    text-underline-offset: 4px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .login-options {
        gap: 24px;
    }

    .login-option {
        padding: 36px;

        min-height: 350px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 640px) {

    .login-section {
        padding: 60px 0 80px;
    }


    .login-intro {
        margin-bottom: 45px;
    }

    .login-intro h1 {
        font-size: 52px;
    }

    .login-intro > p:last-child {
        font-size: 17px;
    }


    /* Stack cards */

    .login-options {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .login-option {
        min-height: auto;

        padding: 30px 24px;
    }


    .login-option__label {
        margin-bottom: 20px;
    }


    .login-option h2 {
        font-size: 38px;

        margin-bottom: 16px;
    }


    .login-option__content > p:last-child {
        font-size: 16px;

        line-height: 1.65;
    }


    .login-option .button {
        margin-top: 32px;
    }


    .login-footer {
        margin-top: 45px;
    }

}

/* =========================================================
   CANDIDATE DASHBOARD
   ========================================================= */

.dashboard-section {
    padding-block: 72px 100px;

    background: var(--junoon-white);
}

.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding-bottom: 48px;

    border-bottom: 1px solid var(--junoon-border);
}

.dashboard-header h1 {
    margin: 0;

    color: var(--junoon-black);

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.dashboard-header p:last-child {
    max-width: 620px;

    margin: 16px 0 0;

    color: var(--junoon-muted);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   STATS
   ========================================================= */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-block: 32px 56px;

    border-top: 1px solid var(--junoon-border);
    border-bottom: 1px solid var(--junoon-border);
}

.dashboard-stat {
    padding: 24px;

    border-right: 1px solid var(--junoon-border);
}

.dashboard-stat:last-child {
    border-right: 0;
}

.dashboard-stat__label {
    display: block;

    margin-bottom: 12px;

    color: var(--junoon-muted);

    font-size: 12px;
    font-weight: 600;
}

.dashboard-stat strong {
    display: block;

    color: var(--junoon-black);

    font-size: 32px;
    line-height: 1;
}

.dashboard-stat__description {
    display: block;

    margin-top: 8px;

    color: #858585;

    font-size: 11px;
}


/* =========================================================
   PANELS
   ========================================================= */

.dashboard-panel {
    margin-bottom: 28px;

    padding: 28px;

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-md);
}

.dashboard-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.dashboard-panel__header h2 {
    margin: 0;

    color: var(--junoon-black);

    font-size: 24px;
    line-height: 1.25;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.dashboard-empty {
    padding: 36px;

    border: 1px dashed var(--junoon-border);

    text-align: center;
}

.dashboard-empty h3 {
    margin: 0 0 8px;

    color: var(--junoon-black);

    font-size: 17px;
}

.dashboard-empty p {
    max-width: 480px;

    margin: 0 auto 22px;

    color: var(--junoon-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   PROFILE PROGRESS
   ========================================================= */

.profile-progress__top {
    display: flex;
    justify-content: space-between;

    margin-bottom: 10px;

    color: var(--junoon-black);

    font-size: 13px;
}

.profile-progress__bar {
    width: 100%;
    height: 8px;

    overflow: hidden;

    background: var(--junoon-surface);

    border-radius: 999px;
}

.profile-progress__bar span {
    display: block;

    width: 0;
    height: 100%;

    background: var(--junoon-blue);
}

.profile-progress p {
    max-width: 680px;

    margin: 14px 0 0;

    color: var(--junoon-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   DASHBOARD LINKS
   ========================================================= */

.dashboard-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.dashboard-links a {
    display: block;

    padding: 20px;

    border: 1px solid var(--junoon-border);

    color: inherit;

    text-decoration: none;
}

.dashboard-links a:hover {
    border-color: var(--junoon-blue);
}

.dashboard-links strong {
    display: block;

    margin-bottom: 7px;

    color: var(--junoon-black);

    font-size: 14px;
}

.dashboard-links span {
    color: var(--junoon-muted);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   DASHBOARD MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .dashboard-section {
        padding-block: 52px 72px;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-header .button {
        width: 100%;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-stat {
        border-right: 0;
        border-bottom: 1px solid var(--junoon-border);
    }

    .dashboard-stat:last-child {
        border-bottom: 0;
    }

    .dashboard-panel {
        padding: 22px;
    }

    .dashboard-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-links {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CANDIDATE PROFILE
   ========================================================= */

.profile-section {
    padding-block: 72px 100px;
    background: var(--junoon-white);
}

.profile-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 52px;
    padding-bottom: 36px;

    border-bottom: 1px solid var(--junoon-border);
}

.profile-header h1 {
    margin: 0;

    color: var(--junoon-black);

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.profile-header p:last-child {
    max-width: 650px;

    margin: 16px 0 0;

    color: var(--junoon-muted);

    font-size: 15px;
    line-height: 1.7;
}

.profile-form {
    max-width: 960px;
    margin-inline: auto;
}

.profile-form-section {
    padding-block: 42px;

    border-bottom: 1px solid var(--junoon-border);
}

.profile-form-section:first-child {
    padding-top: 0;
}

.profile-form-section__intro {
    margin-bottom: 28px;
}

.profile-form-section__intro .eyebrow {
    margin-bottom: 7px;
}

.profile-form-section__intro h2 {
    margin: 0;

    color: var(--junoon-black);

    font-size: 25px;
    line-height: 1.25;
}

.profile-form-section__intro > p:last-child {
    max-width: 650px;

    margin: 8px 0 0;

    color: var(--junoon-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* Fields */

.profile-fields {
    display: grid;
    gap: 20px;
}

.profile-fields--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-fields--two > .profile-fields {
    grid-column: 1 / -1;
}

.profile-form .form-field {
    margin: 0;
}

.profile-form .form-field > label,
.profile-form .form-fieldset legend {
    display: block;

    margin-bottom: 7px;

    color: var(--junoon-black);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form input[type="file"],
.profile-form select,
.profile-form textarea {
    width: 100%;

    padding: 10px 12px;

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-sm);

    background: var(--junoon-white);

    color: var(--junoon-black);

    font-size: 14px;
    line-height: 1.5;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form select {
    min-height: 44px;
}

.profile-form textarea {
    min-height: 110px;

    resize: vertical;
}

.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus {
    border-color: var(--junoon-blue);

    outline: 2px solid var(--junoon-blue-soft);
    outline-offset: 1px;
}

.profile-form input[readonly] {
    background: var(--junoon-surface);
}

.profile-form .form-help {
    margin: 6px 0 0;

    color: var(--junoon-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* Fieldsets */

.form-fieldset {
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
}

.form-fieldset > .form-help {
    margin: -1px 0 14px;
}


/* Checkbox grid */

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px 24px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    min-height: 38px;

    color: var(--junoon-text);

    font-size: 13px;
    line-height: 1.45;

    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 1px 0 0;

    accent-color: var(--junoon-blue);
}


/* Resume */

.profile-form input[type="file"] {
    min-height: 46px;

    padding: 9px;
}


/* Actions */

.profile-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    padding-top: 32px;
}

.profile-form-actions .button {
    min-width: 130px;
}


/* Mobile */

@media (max-width: 700px) {

    .profile-section {
        padding-block: 52px 72px;
    }

    .profile-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;

        margin-bottom: 36px;
    }

    .profile-fields--two {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .profile-form-section {
        padding-block: 32px;
    }

    .profile-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .profile-form-actions .button {
        width: 100%;
    }
}

/* =========================================================
   CANDIDATE PROFILE — FORM FIELD VISUALS
   ========================================================= */

.profile-form {
    max-width: 100%;
}


/* ---------------------------------------------------------
   Form sections
   --------------------------------------------------------- */

.profile-form-section {
    margin-bottom: 24px;
    padding: 32px;

    border: 1px solid var(--junoon-border);
    border-radius: var(--radius-md);

    background: var(--junoon-white);
}

.profile-form-section:first-child {
    padding-top: 32px;
}


/* ---------------------------------------------------------
   Input / Select / Textarea
   --------------------------------------------------------- */

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form input[type="file"],
.profile-form select,
.profile-form textarea {
    display: block;

    width: 100%;

    margin: 0;

    border: 1px solid #C8C8C4;
    border-radius: var(--radius-sm);

    background: #FFFFFF;

    color: var(--junoon-black);

    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;

    box-shadow: none;

    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background-color 150ms ease;
}


/* Single-line fields */

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form select {
    min-height: 46px;

    padding: 10px 13px;
}


/* Text areas */

.profile-form textarea {
    min-height: 130px;

    padding: 12px 13px;

    resize: vertical;
}


/* File upload */

.profile-form input[type="file"] {
    min-height: 48px;

    padding: 10px;
}


/* Placeholder */

.profile-form input::placeholder,
.profile-form textarea::placeholder {
    color: #8A8A8A;

    opacity: 1;
}


/* Focus */

.profile-form input[type="text"]:focus,
.profile-form input[type="email"]:focus,
.profile-form input[type="tel"]:focus,
.profile-form input[type="file"]:focus,
.profile-form select:focus,
.profile-form textarea:focus {
    border-color: var(--junoon-blue);

    outline: none;

    box-shadow:
        0 0 0 3px var(--junoon-blue-soft);
}


/* Read-only account email */

.profile-form input[readonly] {
    background: var(--junoon-surface);

    color: #666666;

    cursor: not-allowed;
}


/* ---------------------------------------------------------
   Labels
   --------------------------------------------------------- */

.profile-form .form-field > label,
.profile-form .form-fieldset legend {
    display: block;

    margin: 0 0 8px;

    color: var(--junoon-black);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}


/* Help text */

.profile-form .form-help {
    margin: 7px 0 0;

    color: var(--junoon-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Two-column fields
   --------------------------------------------------------- */

.profile-fields--two {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px 24px;
}


/* ---------------------------------------------------------
   Checkbox groups
   --------------------------------------------------------- */

.profile-form .checkbox-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px 24px;

    padding: 18px;

    border: 1px solid #C8C8C4;
    border-radius: var(--radius-sm);

    background: #FFFFFF;
}

.profile-form .checkbox-option {
    display: flex;
    align-items: center;

    min-height: 38px;

    margin: 0;
    padding: 8px 10px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    font-size: 13px;

    cursor: pointer;

    transition:
        background-color 150ms ease,
        border-color 150ms ease;
}

.profile-form .checkbox-option:hover {
    border-color: var(--junoon-border);

    background: var(--junoon-surface);
}

.profile-form .checkbox-option input {
    width: 17px;
    height: 17px;

    margin: 0 9px 0 0;

    accent-color: var(--junoon-blue);
}


/* ---------------------------------------------------------
   Fieldset spacing
   --------------------------------------------------------- */

.profile-form .form-fieldset {
    margin: 0;
}

.profile-form .form-fieldset + .form-field {
    margin-top: 22px;
}


/* ---------------------------------------------------------
   Save actions
   --------------------------------------------------------- */

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 12px;

    margin-top: 28px;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .profile-form-section {
        padding: 22px;
    }

    .profile-fields--two {
        grid-template-columns: 1fr;
    }

    .profile-form .checkbox-grid {
        grid-template-columns: 1fr;

        padding: 12px;
    }

    .profile-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .profile-form-actions .button {
        width: 100%;
    }
}

/* =========================================================
   PROFILE — FIELD SPACING FIX
   ========================================================= */

.profile-fields--two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 24px;
}

.profile-fields--two > .form-field {
    min-width: 0;
}

/* Keep nested two-column groups properly separated */
.profile-fields--two > .profile-fields {
    grid-column: 1 / -1;
    margin-top: 4px;
}

/* Prevent fields from visually touching */
.profile-form .form-field {
    min-width: 0;
}

@media (max-width: 700px) {
    .profile-fields--two {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 20px;
    }
}

.profile-form {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
}
/* Candidate profile — consistent single-line field height */

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form select {
    height: 46px;
    min-height: 46px;
    box-sizing: border-box;
}

.profile-form #education-institution {
    height: 46px;
    min-height: 46px;
}
/* =========================================
   SINGLE JOB PAGE
========================================= */

.single-job-page,
.single-job-page * {
    box-sizing: border-box;
}


.single-job-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    background: transparent;

    padding: 60px 20px 80px;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.single-job-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================
   APPLICATION NOTICE
========================================= */

.single-job-notice {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto 30px;
    padding: 14px 18px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    font-size: 15px;
    line-height: 1.5;
}


.single-job-notice-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}


.single-job-notice-info {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}


/* =========================================
   JOB HEADER
========================================= */

.single-job-header {
    width: 100%;

    padding-bottom: 45px;
    margin-bottom: 55px;

    border-bottom: 1px solid #dcdcdc;
}


.single-job-header-content {
    width: 100%;
    max-width: 800px;
}


.single-job-label {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #666;
}


.single-job-title {
    margin: 0;

    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 700;

    color: #1a1a1a;
}


.single-job-company {
    margin: 22px 0 0;

    font-size: 24px;
    line-height: 1.4;

    color: #555;
}




/* =========================================
   MAIN LAYOUT
========================================= */

.single-job-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 350px);

    gap: 70px;

    width: 100%;
    max-width: 100%;
}


/* =========================================
   MAIN CONTENT
========================================= */

.single-job-content {
    width: 100%;
    min-width: 0;
}


.single-job-section {
    width: 100%;

    margin-bottom: 55px;
}


.single-job-section h2 {
    margin: 0 0 22px;

    font-size: 32px;
    line-height: 1.2;

    color: #1a1a1a;
}


.single-job-description,
.single-job-text {
    width: 100%;
    max-width: 100%;

    font-size: 17px;
    line-height: 1.8;

    color: #444;

    overflow-wrap: break-word;
}


.single-job-description p {
    margin-top: 0;
    margin-bottom: 20px;
}


/* =========================================
   SIDEBAR
========================================= */

.single-job-sidebar {
    width: 100%;
    min-width: 0;

    align-self: start;
}


.single-job-card {
    width: 100%;

    padding: 32px;

    background: #fff;

    border: 1px solid #dedede;
    border-radius: 8px;
}


.single-job-card h2 {
    margin: 0 0 28px;

    font-size: 28px;

    color: #1a1a1a;
}


/* =========================================
   JOB DETAILS
========================================= */

.job-detail-item {
    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 18px 0;

    border-bottom: 1px solid #e5e5e5;
}


.job-detail-item:first-of-type {
    border-top: 1px solid #e5e5e5;
}


.job-detail-label {
    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #777;
}


.job-detail-value {
    font-size: 16px;

    color: #222;

    overflow-wrap: break-word;
}


/* =========================================
   APPLY BUTTON
========================================= */

.single-job-application-form {
    width: 100%;

    margin-top: 28px;
}


.single-job-apply-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 14px 20px;

    border: 1px solid #1a1a1a;
    border-radius: 6px;

    background: #1a1a1a;

    color: #fff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.single-job-apply-button:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}


.single-job-apply-button:focus-visible {
    outline: 2px solid #555;
    outline-offset: 3px;
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .single-job-page {
        padding: 45px 20px 70px;
    }


    .single-job-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .single-job-sidebar {
        width: 100%;
    }


    .single-job-card {
        max-width: 100%;
    }
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 600px) {

    .single-job-page {
        width: 100%;
        max-width: 100%;

        padding: 32px 16px 60px;

        overflow-x: hidden;
    }


    .single-job-container {
        width: 100%;
        max-width: 100%;
    }


    .single-job-notice {
        width: 100%;
        max-width: 100%;

        margin-bottom: 24px;

        padding: 13px 15px;

        font-size: 14px;
    }


    .single-job-header {
        padding-bottom: 32px;
        margin-bottom: 38px;
    }


    .single-job-label {
        margin-bottom: 14px;

        font-size: 11px;
        letter-spacing: 1.5px;
    }


    .single-job-title {
        font-size: 38px;
        line-height: 1.1;

        overflow-wrap: break-word;
    }


    .single-job-company {
        margin-top: 16px;

        font-size: 20px;
    }


    .single-job-meta {
        flex-direction: column;

        gap: 10px;

        margin-top: 24px;
    }


    .single-job-meta span {
        width: 100%;

        min-height: 46px;

        font-size: 15px;
    }


    .single-job-layout {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 36px;
    }


    .single-job-section {
        margin-bottom: 42px;
    }


    .single-job-section h2 {
        margin-bottom: 18px;

        font-size: 27px;
    }


    .single-job-description,
    .single-job-text {
        font-size: 16px;
        line-height: 1.7;
    }


    .single-job-card {
        width: 100%;

        padding: 24px 20px;

        border-radius: 8px;
    }


    .single-job-card h2 {
        margin-bottom: 22px;

        font-size: 25px;
    }


    .job-detail-item {
        padding: 15px 0;
    }


    .single-job-apply-button {
        min-height: 50px;

        border-radius: 6px;

        font-size: 16px;
    }
}

/* =========================================
   APPLICATION STATUS
========================================= */

.single-job-applied {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 14px 20px;

    border: 1px solid #86efac;
    border-radius: 6px;

    background: #f0fdf4;
    color: #166534;

    font-size: 16px;
    font-weight: 600;
}

/* =========================================
   CANDIDATE DASHBOARD - APPLICATIONS
========================================= */

.dashboard-applications {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.dashboard-application {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 24px;

    border: 1px solid #dedede;
    border-radius: 8px;

    background: #fff;
}


.dashboard-application__content {
    min-width: 0;
}


.dashboard-application__status {
    display: inline-flex;
    align-items: center;

    margin-bottom: 10px;
    padding: 5px 10px;

    border: 1px solid #d1d5db;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;

    color: #555;
    background: #f8f8f8;
}


.dashboard-application h3 {
    margin: 0 0 6px;

    font-size: 20px;
    line-height: 1.3;
}


.dashboard-application__company {
    margin: 0 0 8px;

    color: #555;
}


.dashboard-application__date {
    margin: 0;

    font-size: 14px;

    color: #777;
}


.dashboard-application > .button {
    flex-shrink: 0;
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 600px) {

    .dashboard-application {
        flex-direction: column;
        align-items: stretch;

        gap: 20px;

        padding: 20px;
    }


    .dashboard-application > .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* =========================================
   CANDIDATE DASHBOARD BACKGROUND
========================================= */

.dashboard-page {
    background: #f1f2f0;
    padding: 48px 0 80px;
}

/* =========================================
   MY APPLICATIONS
========================================= */

.my-applications-page {
    width: 100%;
    padding: 56px 24px;
}

.my-applications-section {
    width: 100%;
}

.my-applications-header {
    margin-bottom: 36px;
}

.my-applications-eyebrow {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.my-applications-title {
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 1.2;
}

.my-applications-description {
    margin: 0;
    max-width: 650px;
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
}


/* =========================================
   APPLICATION GRID
========================================= */

.my-applications-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================
   APPLICATION CARD
========================================= */

.my-application-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;
    min-height: 360px;
    padding: 26px;

    background: #ffffff;

    border: 1px solid #dcdfe4;
    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.my-application-card:hover {
    transform: translateY(-3px);
    border-color: #bfc4cc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}


/* =========================================
   CARD MAIN CONTENT
========================================= */

.my-application-card__main {
    width: 100%;
}


/* Status */

.my-application-status {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;
    padding: 6px 11px;

    border: 1px solid #dcdfe4;
    border-radius: 8px;

    background: #f7f7f8;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}


/* Job title */

.my-application-card__title {
    margin: 0 0 8px;

    font-size: 24px;
    line-height: 1.3;

    word-break: break-word;
}


/* Company */

.my-application-card__company {
    margin: 0 0 22px;

    font-size: 16px;
    color: #6b7280;
}


/* Metadata */

.my-application-card__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;

    color: #4b5563;

    font-size: 14px;
}

.my-application-card__meta span {
    display: block;
}


/* =========================================
   CARD BOTTOM
========================================= */

.my-application-card__sidebar {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 16px;

    margin-top: 28px;
    padding-top: 20px;

    border-top: 1px solid #e5e7eb;
}


/* Date */

.my-application-card__date {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

.my-application-card__date strong {
    display: block;

    margin-top: 3px;

    font-size: 14px;
    color: #1a1a1a;
}


/* View Job button */

.my-application-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: center;

    min-width: 160px;
    padding: 11px 24px;

    border: 1px solid #1a1a1a;
    border-radius: 8px;

    background: #ffffff;
    color: #1a1a1a;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.my-application-card__link:hover {
    background: #1a1a1a;
    color: #ffffff;
}



/* =========================================
   EMPTY STATE
========================================= */

.my-applications-empty {
    padding: 56px 32px;

    text-align: center;

    background: #ffffff;
    border: 1px solid #dcdfe4;
    border-radius: 14px;
}

.my-applications-empty h2 {
    margin: 0 0 10px;
}

.my-applications-empty p {
    margin: 0;
    color: #6b7280;
}

.my-applications-empty__button {
    display: inline-flex;

    margin-top: 20px;
    padding: 11px 20px;

    border-radius: 8px;

    background: #1a1a1a;
    color: #ffffff;

    font-weight: 600;
    text-decoration: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .my-applications-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .my-applications-page {
        padding: 40px 16px;
    }

    .my-applications-title {
        font-size: 32px;
    }

    .my-applications-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .my-application-card {
        min-height: auto;
        padding: 22px;
    }

}

/* =========================================
   GLOBAL BUTTON HOVER
========================================= */

/* Buttons and button-like links */

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.my-application-card__link,
.my-applications-empty__button {
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


/* Hover */

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.my-application-card__link:hover,
.my-applications-empty__button:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

/* =========================================================
   MANAGER DASHBOARD
========================================================= */

.junoon-manager-dashboard {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 64px 32px 80px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */

.junoon-manager-dashboard__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;

    padding-bottom: 32px;
    margin-bottom: 32px;

    border-bottom: 1px solid #e7e7e7;
}

.junoon-manager-dashboard__eyebrow {
    display: block;
    margin-bottom: 10px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #7c3aed;
}

.junoon-manager-dashboard__header h1 {
    margin: 0;

    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;

    letter-spacing: -0.045em;

    color: #18181b;
}

.junoon-manager-dashboard__header p {
    margin: 12px 0 0;

    font-size: 15px;
    line-height: 1.6;

    color: #71717a;
}


/* ---------------------------------------------------------
   Header Buttons
--------------------------------------------------------- */

.junoon-manager-dashboard__actions {
    display: flex;
    gap: 12px;

    flex-shrink: 0;
}

.junoon-manager-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border: 1px solid #d4d4d8;
    border-radius: 10px;

    background: #ffffff;
    color: #18181b;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.junoon-manager-button:hover {
    transform: translateY(-1px);

    border-color: #7c3aed;

    color: #7c3aed;
}

.junoon-manager-button--primary {
    background: #18181b;

    border-color: #18181b;

    color: #ffffff;
}

.junoon-manager-button--primary:hover {
    background: #7c3aed;

    border-color: #7c3aed;

    color: #ffffff;
}


/* ---------------------------------------------------------
   Statistics
--------------------------------------------------------- */

.junoon-manager-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 56px;
}

.junoon-manager-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 132px;

    padding: 20px 22px;

    border: 1px solid #e4e4e7;

    border-radius: 16px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.junoon-manager-stat-card:hover {
    transform: translateY(-2px);

    border-color: #d8b4fe;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.06);
}

.junoon-manager-stat-card span {
    font-size: 13px;

    font-weight: 500;

    color: #71717a;
}

.junoon-manager-stat-card strong,
.junoon-manager-stat-card p {
    margin: 0;

    font-size: 32px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.04em;

    color: #18181b;
}


/* Purple accent for applications */

.junoon-manager-stat-card:nth-child(3) strong,
.junoon-manager-stat-card:nth-child(3) p {
    color: #7c3aed;
}


/* ---------------------------------------------------------
   Recent Applications
--------------------------------------------------------- */

.junoon-manager-recent-applications {
    margin-top: 0;
}

.junoon-manager-recent-applications h2 {
    margin: 0 0 20px;

    font-size: 28px;

    line-height: 1.2;

    letter-spacing: -0.03em;

    color: #18181b;
}


/* ---------------------------------------------------------
   Applications Table Container
--------------------------------------------------------- */

.junoon-manager-recent-applications table {
    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

    overflow: hidden;

    border: 1px solid #e4e4e7;

    border-radius: 16px;

    background: #ffffff;
}

.junoon-manager-recent-applications th {
    padding: 16px 20px;

    text-align: left;

    background: #fafafa;

    border-bottom: 1px solid #e4e4e7;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #71717a;
}

.junoon-manager-recent-applications td {
    padding: 18px 20px;

    border-bottom: 1px solid #f0f0f0;

    font-size: 14px;

    color: #27272a;
}

.junoon-manager-recent-applications tbody tr:last-child td {
    border-bottom: none;
}

.junoon-manager-recent-applications tbody tr {
    transition: background 0.2s ease;
}

.junoon-manager-recent-applications tbody tr:hover {
    background: #fafafa;
}


/* Status */

.junoon-manager-recent-applications td:nth-child(3) {
    font-size: 12px;

    font-weight: 600;

    color: #7c3aed;
}


/* View application */

.junoon-manager-recent-applications td a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 36px;

    padding: 0 14px;

    border: 1px solid #ddd6fe;

    border-radius: 8px;

    color: #6d28d9;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.junoon-manager-recent-applications td a:hover {
    background: #7c3aed;

    color: #ffffff;
}


/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 900px) {

    .junoon-manager-dashboard {
        padding: 48px 24px 64px;
    }

    .junoon-manager-dashboard__header {
        align-items: flex-start;

        flex-direction: column;
    }

    .junoon-manager-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .junoon-manager-dashboard {
        padding: 40px 20px 56px;
    }

    .junoon-manager-dashboard__header {
        align-items: stretch;
    }

    .junoon-manager-dashboard__actions {
        width: 100%;

        flex-direction: column;
    }

    .junoon-manager-button {
        width: 100%;
    }

    .junoon-manager-stats {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .junoon-manager-stat-card {
        min-height: 115px;

        padding: 18px;
    }

    .junoon-manager-recent-applications {
        overflow-x: auto;
    }

    .junoon-manager-recent-applications table {
        min-width: 650px;
    }

}

/* =========================================
   VIEW APPLICATION
========================================= */

.junoon-application-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.junoon-application-detail {
    padding: 28px 30px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #ffffff;
}

.junoon-application-detail span {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.junoon-application-detail strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #202124;
}


/* Back button */

.junoon-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    border: 1px solid #dcdcdc;
    border-radius: 10px;

    color: #252525;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s ease;
}

.junoon-back-link:hover {
    background: #252525;
    border-color: #252525;
    color: #ffffff;
}


/* Status detail highlight */

.junoon-application-detail:last-child strong {
    color: #6f4bb8;
}


/* Mobile */

@media (max-width: 700px) {

    .junoon-application-details {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .junoon-application-detail {
        padding: 22px;
    }

}

/* =========================================
   APPLICATION STATUS UPDATE
========================================= */

.junoon-status-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.junoon-status-form select {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;

    border: 1px solid #dedede;
    border-radius: 10px;

    background: #ffffff;
    color: #252525;

    font-size: 14px;
    font-family: inherit;

    outline: none;
    cursor: pointer;
}

.junoon-status-form select:focus {
    border-color: #6f4bb8;
}

.junoon-status-form button {
    border: none;
    border-radius: 10px;

    padding: 11px 16px;

    background: #6f4bb8;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    white-space: nowrap;

    transition: 0.2s ease;
}

.junoon-status-form button:hover {
    background: #593a98;
    transform: translateY(-1px);
}

@media (max-width: 600px) {

    .junoon-status-form {
        flex-direction: column;
        align-items: stretch;
    }

    .junoon-status-form button {
        width: 100%;
    }

}

/* =========================================
   ABOUT US PAGE
========================================= */

.junoon-about {
    padding: 80px 0 100px;
}


/* HERO */

.junoon-about-hero {
    max-width: 900px;
    padding-bottom: 100px;
}

.junoon-about-hero .eyebrow {
    margin-bottom: 22px;
}

.junoon-about-hero h1 {
    max-width: 850px;
    margin: 0;

    font-size: clamp(52px, 7vw, 96px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.junoon-about-intro {
    max-width: 760px;
    margin: 30px 0 0;

    font-size: 22px;
    line-height: 1.7;
    color: #667085;
}


/* CONTENT SECTIONS */

.junoon-about-section {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 80px;

    padding: 70px 0;

    border-top: 1px solid #e5e7eb;
}

.junoon-about-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #6f4bb8;
}

.junoon-about-section-content {
    max-width: 760px;
}

.junoon-about-section h2 {
    margin: 0 0 28px;

    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.junoon-about-section-content > p {
    max-width: 720px;
    margin: 0;

    font-size: 20px;
    line-height: 1.8;
    color: #667085;
}


/* WHAT WE DO */

.junoon-about-points {
    display: flex;
    flex-direction: column;
}

.junoon-about-point {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 24px;

    padding: 28px 0;

    border-top: 1px solid #e5e7eb;
}

.junoon-about-point:first-child {
    border-top: none;
    padding-top: 0;
}

.junoon-about-point > span {
    color: #6f4bb8;

    font-size: 14px;
    font-weight: 700;
}

.junoon-about-point h3 {
    margin: 0 0 10px;

    font-size: 24px;
    line-height: 1.3;
}

.junoon-about-point p {
    max-width: 580px;
    margin: 0;

    font-size: 18px;
    line-height: 1.7;
    color: #667085;
}


/* VISION */

.junoon-about-vision {
    margin-top: 50px;
    padding: 90px 0 0;

    border-top: 1px solid #e5e7eb;
}

.junoon-about-vision .eyebrow {
    margin-bottom: 24px;
}

.junoon-about-vision h2 {
    max-width: 950px;
    margin: 0;

    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}


/* MOBILE */

@media (max-width: 768px) {

    .junoon-about {
        padding: 55px 0 70px;
    }

    .junoon-about-hero {
        padding-bottom: 65px;
    }

    .junoon-about-hero h1 {
        font-size: clamp(46px, 14vw, 68px);
    }

    .junoon-about-intro {
        font-size: 17px;
    }

    .junoon-about-section {
        grid-template-columns: 1fr;
        gap: 28px;

        padding: 50px 0;
    }

    .junoon-about-section h2 {
        font-size: 38px;
    }

    .junoon-about-point {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 16px;
    }

    .junoon-about-vision {
        margin-top: 20px;
        padding-top: 60px;
    }

}

/* ========================================
   CONTACT US PAGE
======================================== */

.junoon-contact {
    padding: 100px 0 120px;
}


.junoon-contact-hero {
    max-width: 850px;
    margin-bottom: 120px;
}


.junoon-contact-hero h1 {
    max-width: 750px;
    margin: 20px 0;

    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}


.junoon-contact-intro {
    max-width: 620px;

    font-size: 18px;
    line-height: 1.7;
}


.junoon-contact-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 120px;
    align-items: start;
}


/* Contact information */

.junoon-contact-info {
    display: flex;
    flex-direction: column;
    gap: 56px;
}


.junoon-contact-info > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.junoon-contact-info span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--wp--preset--color--contrast);
}


.junoon-contact-info a {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}


.junoon-contact-info p {
    max-width: 380px;
    margin: 0;

    font-size: 15px;
    line-height: 1.7;
}


/* Contact form */

.junoon-contact-form-wrapper h2 {
    margin: 0 0 48px;

    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.04em;
}


.junoon-contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}


.junoon-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.junoon-form-group label {
    font-size: 13px;
    font-weight: 600;
}


.junoon-form-group input,
.junoon-form-group textarea {
    width: 100%;
    padding: 16px 0;

    background: transparent;

    border: none;
    border-bottom: 1px solid #d8d8d8;

    border-radius: 0;

    font: inherit;
    color: inherit;

    outline: none;

    transition: border-color 0.2s ease;
}


.junoon-form-group textarea {
    resize: vertical;
    min-height: 140px;
}


.junoon-form-group input:focus,
.junoon-form-group textarea:focus {
    border-bottom-color: #7c3aed;
}


.junoon-contact-form button {
    align-self: flex-start;

    margin-top: 16px;
    padding: 14px 28px;

    background: #252b35;
    color: #ffffff;

    border: none;
    border-radius: 0;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.junoon-contact-form button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* ========================================
   CONTACT PAGE RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .junoon-contact {
        padding: 80px 0;
    }


    .junoon-contact-hero {
        margin-bottom: 80px;
    }


    .junoon-contact-content {
        grid-template-columns: 1fr;
        gap: 80px;
    }


    .junoon-contact-info {
        gap: 40px;
    }

}


@media (max-width: 600px) {

    .junoon-contact {
        padding: 60px 0 80px;
    }


    .junoon-contact-hero {
        margin-bottom: 64px;
    }


    .junoon-contact-hero h1 {
        font-size: 3.5rem;
    }


    .junoon-contact-content {
        gap: 64px;
    }


    .junoon-contact-form-wrapper h2 {
        margin-bottom: 36px;
    }

}

.junoon-contact-success,
.junoon-contact-error {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.6;
}

.junoon-contact-success {
    color: #2f7a52;
}

.junoon-contact-error {
    color: #b42318;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: 220px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}


body {
    position: relative;
}

body {
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image: url("/wp-content/themes/project-junoon/assets/images/junoon-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(70vw, 900px) auto;

    opacity: 0.08;

    pointer-events: none;
    z-index: -1;
}


/* ================================
   TABLET
================================ */

@media (max-width: 900px) {

    body::before {
        background-size: 85vw auto;
        background-position: center;
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 640px) {

    body::before {
        background-size: 90vw auto;
        background-position: center center;
    }

}

/* ================================ 
   BLOGS PAGE 
================================ */ 
 
.junoon-blogs-page { 
    padding: 80px 0 120px; 
} 
 
.junoon-blogs-hero { 
    max-width: 760px; 
    margin-bottom: 72px; 
} 
 
.junoon-blogs-hero h1 { 
    margin: 12px 0 20px; 
 
    font-size: clamp(42px, 6vw, 76px); 
    line-height: 1.05; 
    letter-spacing: -0.04em; 
} 
 
.junoon-blogs-hero > p:last-child { 
    max-width: 620px; 
    font-size: 18px; 
    line-height: 1.7; 
    opacity: 0.7; 
} 
 
.junoon-blog-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    gap: 28px; 
} 
 
.junoon-blog-card { 
    display: flex; 
    flex-direction: column; 
    min-width: 0; 
} 
 
.junoon-blog-image { 
    display: block; 
    width: 100%; 
    height: 240px; 
    overflow: hidden; 
} 
 
.junoon-blog-image img { 
    width: 100%; 
    height: 100%; 
    display: block; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
} 
 
.junoon-blog-card:hover .junoon-blog-image img { 
    transform: scale(1.04); 
} 
 
.junoon-blog-content { 
    padding-top: 22px; 
} 
 
.junoon-blog-date { 
    margin: 0 0 12px; 
    font-size: 12px; 
    font-weight: 600; 
    letter-spacing: 0.08em; 
    text-transform: uppercase; 
    opacity: 0.5; 
} 
 
.junoon-blog-content h2 { 
    margin: 0 0 14px; 
    font-size: 25px; 
    line-height: 1.2; 
    letter-spacing: -0.025em; 
} 
 
.junoon-blog-content h2 a { 
    color: inherit; 
    text-decoration: none; 
} 
 
.junoon-blog-content > p { 
    margin: 0 0 20px; 
    font-size: 15px; 
    line-height: 1.7; 
    opacity: 0.65; 
} 
 
.junoon-blog-read-more { 
    display: inline-flex; 
    width: fit-content; 
    color: inherit; 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 600; 
    border-bottom: 1px solid currentColor; 
    padding-bottom: 3px; 
    transition: opacity 0.2s ease, transform 0.2s ease; 
} 
 
.junoon-blog-read-more:hover { 
    opacity: 0.6; 
    transform: translateX(4px); 
} 
 
@media (max-width: 900px) { 
    .junoon-blog-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    } 
} 
 
@media (max-width: 640px) { 
    .junoon-blogs-page { 
        padding: 50px 0 80px; 
    } 
 
    .junoon-blogs-hero { 
        margin-bottom: 48px; 
    } 
 
    .junoon-blog-grid { 
        grid-template-columns: 1fr; 
        gap: 44px; 
    } 
 
    .junoon-blog-image { 
        height: 230px; 
    } 
 
    .junoon-blog-content h2 { 
        font-size: 23px; 
    } 
}

/* ================================
   INFORMATION PAGES
================================ */

.junoon-info-page {
    padding: 80px 0 120px;
}


/* Header */

.junoon-info-page__header {
    max-width: 760px;
    margin-bottom: 72px;
}

.junoon-info-page__header .eyebrow {
    margin-bottom: 16px;
}

.junoon-info-page__header h1 {
    margin: 0 0 22px;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;

    letter-spacing: -0.04em;
}

.junoon-info-page__header > p:last-child {
    max-width: 620px;

    margin: 0;

    font-size: 18px;
    line-height: 1.7;

    opacity: 0.7;
}


/* Content */

.junoon-info-page__content {
    max-width: 760px;
}

.junoon-info-page__content h2 {
    margin: 56px 0 18px;

    font-size: 28px;
    line-height: 1.2;

    letter-spacing: -0.025em;
}

.junoon-info-page__content h2:first-child {
    margin-top: 0;
}

.junoon-info-page__content p {
    max-width: 700px;

    margin: 0 0 18px;

    font-size: 16px;
    line-height: 1.8;

    opacity: 0.72;
}


/* Button */

.junoon-info-page__content .button {
    margin-top: 20px;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 640px) {

    .junoon-info-page {
        padding: 50px 0 80px;
    }

    .junoon-info-page__header {
        margin-bottom: 48px;
    }

    .junoon-info-page__content h2 {
        margin-top: 42px;

        font-size: 24px;
    }

    .junoon-info-page__header > p:last-child {
        font-size: 16px;
    }

}

/* Shift page title slightly right */

.site-page-title,
.page-title,
.junoon-page-title {
    margin-left: 100px;
}


/* ================================
   MOBILE HEADER
================================ */

.mobile-menu-button {
    display: none;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    /* Header */

    .site-header__inner {
        min-height: 72px;
        padding-left: 20px;
        padding-right: 20px;
    }


    /* Make logo smaller */

    .site-logo img {
        width: 115px;
        height: auto;
        display: block;
    }


    /* Hide desktop navigation */

    .site-nav,
    .site-header__actions {
        display: none;
    }


    /* Show hamburger */

    .mobile-menu-button {
        display: flex;

        width: 42px;
        height: 42px;

        margin-left: auto;

        padding: 8px;

        border: none;
        background: transparent;

        cursor: pointer;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 5px;
    }


    .mobile-menu-button span {
        display: block;

        width: 24px;
        height: 2px;

        background: currentColor;

        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }


    /* Mobile navigation */

    .mobile-navigation {
        padding: 20px;

        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }


    .mobile-navigation:not([hidden]) {
        display: flex;

        flex-direction: column;

        gap: 20px;
    }


    .mobile-navigation a {
        color: inherit;

        text-decoration: none;

        font-size: 18px;
    }


    .mobile-navigation__actions {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 16px;

        padding-top: 10px;
    }


    /* Footer logo - shift left */

    .site-footer__brand {
        padding-left: 0;
        margin-left: -10px;
    }


    .site-footer .site-logo img {
        width: 120px;
        height: auto;
    }

}

/* ========================================
   FINAL MOBILE HEADER FIX
======================================== */

@media (max-width: 768px) {

    .site-header {
        width: 100%;
    }

    .site-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;

        min-height: 72px;

        width: 100%;
    }

    .site-logo {
        flex-shrink: 0;
    }

    .site-logo img {
        display: block;

        width: 115px;
        max-width: 100%;

        height: auto;
    }

    .site-nav,
    .site-header__actions {
        display: none;
    }

    .mobile-menu-button {
        display: flex;

        flex-shrink: 0;

        margin-left: auto;
    }

    .mobile-navigation {
        width: 100%;
        box-sizing: border-box;

        padding: 20px 24px 28px;
    }

    .mobile-navigation[hidden] {
        display: none;
    }

    .mobile-navigation:not([hidden]) {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .mobile-navigation__actions .button--primary {
    margin-right: 8px;
    }

}

/* ================================
   WHY PROJECT JUNOON - MOBILE
================================ */

@media (max-width: 640px) {

    .mission__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission h2 {
        font-size: 38px;
        line-height: 1.1;
    }

    .mission__copy {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.7;
    }

}

/* ========================================
   SIGNUP PAGE
   Same layout as Login page
======================================== */

.signup-section {
    padding: 100px 0 120px;
}


/* Intro */

.signup-intro {
    max-width: 700px;
    margin-bottom: 70px;
}

.signup-intro h1 {
    margin: 12px 0 20px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.signup-intro > p:last-child {
    font-size: 20px;
    line-height: 1.6;

    opacity: 0.7;
}


/* Signup Cards */

.signup-options {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 32px;
}


.signup-option {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 380px;

    padding: 48px;

    border: 1px solid rgba(0, 0, 0, 0.15);

    background: rgba(255, 255, 255, 0.45);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.signup-option:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 0, 0, 0.35);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}


/* Card Label */

.signup-option__label {
    margin: 0 0 28px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.7;
}


/* Card Heading */

.signup-option h2 {
    margin: 0 0 22px;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


/* Description */

.signup-option__content > p:last-child {
    max-width: 500px;

    font-size: 18px;
    line-height: 1.7;

    opacity: 0.7;
}


/* Button */

.signup-option .button {
    margin-top: 45px;

    align-self: flex-start;
}


/* Footer */

.signup-footer {
    margin-top: 60px;

    text-align: center;
}

.signup-footer p {
    font-size: 16px;

    opacity: 0.7;
}

.signup-footer a {
    margin-left: 6px;

    color: inherit;

    font-weight: 700;

    text-decoration: underline;

    text-underline-offset: 4px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .signup-options {
        gap: 24px;
    }

    .signup-option {
        padding: 36px;

        min-height: 350px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 640px) {

    .signup-section {
        padding: 60px 0 80px;
    }


    .signup-intro {
        margin-bottom: 45px;
    }

    .signup-intro h1 {
        font-size: 52px;
    }

    .signup-intro > p:last-child {
        font-size: 17px;
    }


    .signup-options {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .signup-option {
        min-height: auto;

        padding: 30px 24px;
    }


    .signup-option__label {
        margin-bottom: 20px;
    }


    .signup-option h2 {
        font-size: 38px;

        margin-bottom: 16px;
    }


    .signup-option__content > p:last-child {
        font-size: 16px;

        line-height: 1.65;
    }


    .signup-option .button {
        margin-top: 32px;
    }


    .signup-footer {
        margin-top: 45px;
    }

}

/* =====================================================
   SINGLE JOB PAGE - FINAL LAYOUT
   ===================================================== */

.single-job-page {
    width: 100%;
    padding: 64px 24px 100px;
}


.single-job-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* Back link */

.single-job-container > .text-link {
    display: inline-block;
    margin-bottom: 48px;
}


/* =====================================================
   JOB HEADER
   ===================================================== */

.single-job-header {
    width: 100%;
    margin: 0 0 56px;
}


.single-job-header-content {
    width: 100%;
    max-width: 760px;
}


.single-job-label {
    display: block;
    margin-bottom: 16px;
}


.single-job-title {
    margin: 0 0 16px;
    font-size: 56px;
    line-height: 1.1;
}


.single-job-company {
    margin: 0 0 24px;
    font-size: 20px;
}



.single-job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}


.single-job-meta span {
    display: inline-block !important;

    width: auto !important;
    min-height: auto !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    font-size: 15px;
    line-height: 1.5;
}


/* Separator */
.single-job-meta span:not(:last-child) {
    margin-right: 12px !important;
}


.single-job-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 12px;
    opacity: 0.5;
}


/* =====================================================
   MAIN LAYOUT
   ===================================================== */

.single-job-layout {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 64px !important;

    align-items: start !important;
}


/* =====================================================
   LEFT CONTENT
   ===================================================== */

.single-job-content {
    width: 100% !important;
    min-width: 0;

    grid-column: 1 !important;
    grid-row: 1 !important;

    margin: 0 !important;
    padding: 0 !important;
}


.single-job-section {
    width: 100% !important;

    margin: 0 0 56px !important;
    padding: 0 !important;

    text-align: left !important;
}


.single-job-section h2 {
    margin: 0 0 20px !important;
    padding: 0 !important;

    font-size: 32px;
    line-height: 1.2;

    text-align: left !important;
}


.single-job-description,
.single-job-text {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 17px;
    line-height: 1.8;

    text-align: left !important;
}


.single-job-description p,
.single-job-text p {
    margin: 0 0 20px !important;
}


.single-job-text ul {
    margin: 16px 0 0 !important;
    padding-left: 22px !important;
}


.single-job-text li {
    margin-bottom: 8px;
}


/* =====================================================
   RIGHT SIDEBAR
   ===================================================== */

.single-job-sidebar {
    width: 100% !important;

    grid-column: 2 !important;
    grid-row: 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    align-self: start !important;
}


.single-job-card {
    width: 100% !important;

    margin: 0 !important;
    padding: 30px !important;

    border: 1px solid #dedede;
    background: rgba(255, 255, 255, 0.8);
}


.single-job-card h2 {
    margin: 0 0 24px !important;
    font-size: 26px;
}


.job-detail-item {
    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 16px 0;

    border-bottom: 1px solid #e5e5e5;
}


.job-detail-label {
    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    opacity: 0.6;
}


.job-detail-value {
    font-size: 15px;
}


/* =====================================================
   APPLY BUTTON
   ===================================================== */

.single-job-application-form {
    margin-top: 24px !important;
}


.single-job-application-form form {
    width: 100%;
}


.single-job-apply-button {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding: 12px 20px;

    text-align: center;
    text-decoration: none;
}


/* =====================================================
   TABLET + MOBILE
   ===================================================== */

@media (max-width: 900px) {

    .single-job-page {
        padding: 48px 24px 80px;
    }


    .single-job-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 48px !important;
    }


    .single-job-content {
        order: 1;
    }


    .single-job-sidebar {
        order: 2;
    }


    .single-job-title {
        font-size: 48px;
    }

}


@media (max-width: 600px) {

    .single-job-page {
        padding: 40px 20px 70px;
    }


    .single-job-container > .text-link {
        margin-bottom: 32px;
    }


    .single-job-header {
        margin-bottom: 42px;
    }


    .single-job-title {
        font-size: 38px;
    }


    .single-job-section {
        margin-bottom: 42px !important;
    }


    .single-job-section h2 {
        font-size: 27px;
    }


    .single-job-card {
        padding: 24px 20px !important;
    }

}

body.page-slug-forgot-password .wp-block-post-title {
    display: none;
}

/* =====================================================
   HOMEPAGE JOB CARDS
   ===================================================== */

.latest-jobs {
    padding: 100px 0;
}


.latest-jobs .site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* Jobs list */

.latest-jobs .job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Individual job card */

.latest-jobs .job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 32px 36px;

    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.7);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


/* Hover */

.latest-jobs .job-row:hover {
    transform: translateY(-2px);

    border-color: rgba(0, 0, 0, 0.28);

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.08);
}


/* Left side */

.latest-jobs .job-row__main {
    flex: 1;
    min-width: 0;
}


/* Job title row */

.latest-jobs .job-row__title {
    display: flex;
    align-items: center;
    gap: 16px;

    flex-wrap: wrap;

    margin-bottom: 18px;
}


.latest-jobs .job-row__title h3 {
    margin: 0;

    font-size: 28px;
    line-height: 1.2;
}


/* Job type */

.latest-jobs .job-type {
    padding: 6px 12px;

    border-radius: 999px;

    border: 1px solid rgba(0, 0, 0, 0.12);

    font-size: 13px;

    text-transform: capitalize;
}


/* Company */

.latest-jobs .job-company {
    margin: 0 0 18px;

    font-size: 16px;

    opacity: 0.7;
}


/* Metadata */

.latest-jobs .job-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


.latest-jobs .job-meta span {
    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(0, 0, 0, 0.05);

    font-size: 14px;
}


/* View job */

.latest-jobs .job-row__support {
    flex-shrink: 0;
}


.latest-jobs .job-link {
    display: inline-flex;
    align-items: center;

    padding: 12px 20px;

    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.latest-jobs .job-link:hover {
    background: #111;
    color: #fff;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

    .latest-jobs {
        padding: 70px 0;
    }


    .latest-jobs .job-row {
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;

        padding: 24px;
    }


    .latest-jobs .job-row__support {
        width: 100%;
    }


    .latest-jobs .job-link {
        width: 100%;
        justify-content: center;
    }


    .latest-jobs .job-row__title h3 {
        font-size: 24px;
    }

}

/* Mobile fix for How Junoon Works */
@media (max-width: 768px) {

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 32px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--junoon-border);
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .process-step__number {
        margin-bottom: 24px;
    }

}

/* =========================================================
   MOBILE FIX — HOW JUNOON WORKS
   ========================================================= */

@media screen and (max-width: 768px) {

    .process-grid {
        grid-template-columns: 1fr !important;
    }

    .process-step {
        padding: 32px 24px;
        border-right: none;
        border-bottom: 1px solid var(--junoon-border);
    }

    .process-step:last-child {
        border-bottom: none;
    }

    .process-step__number {
        margin-bottom: 24px;
    }
}