/* ==================================================
   EMPLOYER / POST A JOB PAGE
================================================== */

.employer-page {
    min-height: calc(100vh - 72px);
    padding: 65px 0 100px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(79, 70, 229, 0.06),
            transparent 38%
        ),
        #f8fafc;
}

.employer-container {
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
}


/* ==================================================
   BACK LINK
================================================== */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 34px;

    color: #64748b;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.back-link:hover {
    color: #4f46e5;
    transform: translateX(-2px);
}


/* ==================================================
   PAGE HEADER
================================================== */

.employer-header {
    margin-bottom: 28px;
}

.section-label {
    display: inline-block;

    color: #4f46e5;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.employer-header h1 {
    max-width: 680px;

    margin: 10px 0 14px;

    color: #0f172a;

    font-size: clamp(34px, 5vw, 48px);

    line-height: 1.1;

    letter-spacing: -0.04em;
}

.employer-header p {
    max-width: 660px;

    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.85;
}


/* ==================================================
   REVIEW NOTICE
================================================== */

.posting-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 20px;

    padding: 19px;

    background:
        rgba(79, 70, 229, 0.045);

    border:
        1px solid
        rgba(79, 70, 229, 0.13);

    border-radius: 15px;
}

.notice-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #eef2ff;

    color: #4f46e5;

    font-size: 13px;
    font-weight: 800;
}

.notice-content {
    min-width: 0;
}

.notice-content strong {
    display: block;

    margin-bottom: 4px;

    color: #334155;

    font-size: 13px;

    font-weight: 750;
}

.notice-content p {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.75;
}


/* ==================================================
   FORM
================================================== */

.posting-form {
    padding: 34px;

    background: #ffffff;

    border:
        1px solid #e2e8f0;

    border-radius: 20px;

    box-shadow:
        0 15px 40px
        rgba(15, 23, 42, 0.055);
}


/* ==================================================
   FORM SECTIONS
================================================== */

.form-section {
    padding-bottom: 30px;
    margin-bottom: 30px;

    border-bottom:
        1px solid #eef2f7;
}

.form-section:last-of-type {
    border-bottom: none;

    margin-bottom: 20px;

    padding-bottom: 0;
}

.form-section-heading {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 26px;
}

.form-step {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #eef2ff;

    color: #4f46e5;

    font-size: 11px;

    font-weight: 800;
}

.form-section-heading h2 {
    margin: 0 0 5px;

    color: #0f172a;

    font-size: 20px;

    font-weight: 750;

    letter-spacing: -0.02em;
}

.form-section-heading p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}


/* ==================================================
   FORM GRID
================================================== */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.form-group-full {
    grid-column: 1 / -1;
}


/* ==================================================
   FORM GROUPS
================================================== */

.form-group {
    margin-bottom: 23px;
}

.form-grid .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 13px;

    font-weight: 650;
}

.form-group label > span:first-child {
    color: #ef4444;
}

.optional {
    margin-left: 7px;

    color: #94a3b8;

    font-size: 11px;

    font-weight: 500;
}


/* ==================================================
   INPUTS
================================================== */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border:
        1px solid #dbe2ea;

    border-radius: 11px;

    outline: none;

    background: #ffffff;

    color: #0f172a;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group textarea {
    resize: vertical;

    min-height: 140px;

    line-height: 1.75;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #818cf8;

    box-shadow:
        0 0 0 3px
        rgba(79, 70, 229, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group small {
    display: block;

    margin-top: 7px;

    color: #94a3b8;

    font-size: 11px;

    line-height: 1.65;
}


/* ==================================================
   SUBMISSION NOTICE
================================================== */

.submission-notice {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-top: 8px;

    padding: 18px;

    background: #f8fafc;

    border:
        1px solid #eef2f7;

    border-radius: 14px;
}

.submission-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: #eef2ff;

    color: #4f46e5;

    font-size: 13px;

    font-weight: 800;
}

.submission-notice strong {
    display: block;

    margin-bottom: 4px;

    color: #334155;

    font-size: 13px;

    font-weight: 750;
}

.submission-notice p {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.75;
}


/* ==================================================
   SUBMIT AREA
================================================== */

.submit-area {
    margin-top: 28px;

    padding-top: 24px;

    border-top:
        1px solid #eef2f7;

    text-align: right;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 0 26px;

    border: none;

    border-radius: 11px;

    background: #4f46e5;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 7px 18px
        rgba(79, 70, 229, 0.17);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.submit-button:hover {
    background: #4338ca;

    transform: translateY(-2px);

    box-shadow:
        0 11px 25px
        rgba(79, 70, 229, 0.23);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}

.submit-area p {
    max-width: 460px;

    margin: 9px 0 0 auto;

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.65;
}


/* ==================================================
   BURMESE TYPOGRAPHY
================================================== */

html[lang="my"] .employer-page,
html[lang="my"] .posting-form,
html[lang="my"] .employer-header,
html[lang="my"] .posting-notice,
html[lang="my"] .submission-notice {
    font-family:
        "Noto Sans Myanmar",
        "Myanmar Text",
        sans-serif;
}

html[lang="my"] .employer-header h1 {
    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.5;

    letter-spacing: -0.02em;
}

html[lang="my"] .employer-header p {
    font-size: 13px;

    line-height: 2;
}

html[lang="my"] .form-section-heading h2 {
    font-size: 19px;

    line-height: 1.6;
}

html[lang="my"] .form-section-heading p {
    font-size: 12px;

    line-height: 2;
}

html[lang="my"] .form-group label {
    font-size: 13px;

    line-height: 1.7;
}

html[lang="my"] .form-group input,
html[lang="my"] .form-group select,
html[lang="my"] .form-group textarea {
    font-family:
        "Noto Sans Myanmar",
        "Myanmar Text",
        sans-serif;

    line-height: 1.8;
}

html[lang="my"] .notice-content p,
html[lang="my"] .submission-notice p {
    font-size: 12px;

    line-height: 2;
}

html[lang="my"] .submit-button {
    font-size: 12px;

    line-height: 1.7;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 720px) {

    .employer-container {
        width: min(calc(100% - 30px), 820px);
    }

    .employer-page {
        padding: 40px 0 70px;
    }

    .posting-form {
        padding: 25px 21px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: auto;
    }

    .submit-area {
        text-align: left;
    }

    .submit-button {
        width: 100%;
    }

    .submit-area p {
        max-width: none;

        margin: 9px 0 0;

        text-align: center;
    }
}


@media (max-width: 420px) {

    .employer-container {
        width: calc(100% - 24px);
    }

    .employer-header h1 {
        font-size: 32px;
    }

    .posting-form {
        padding: 22px 17px;
    }

    .form-section-heading {
        gap: 11px;
    }

    .form-step {
        width: 30px;
        height: 30px;
    }

    .posting-notice,
    .submission-notice {
        padding: 15px;
    }
}