﻿/* =========================================================
   POST JOB PAGE
========================================================= */

.post-job-page {
    padding: 5px 0 40px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

    .page-header h2 {
        font-size: 30px;
        font-weight: 700;
        color: #172033;
    }

    .page-header p {
        font-size: 15px;
    }


/* =========================================================
   MAIN CARD
========================================================= */

.post-job-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}


/* =========================================================
   SECTION
========================================================= */

.job-section {
    padding: 5px 0 30px;
    margin-bottom: 28px;
    border-bottom: 1px solid #edf0f5;
}

    .job-section:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
    }


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.section-heading h5 {
    margin: 0;
    font-weight: 700;
    color: #172033;
}

.section-heading small {
    color: #7b8494;
}


/* =========================================================
   LABEL
========================================================= */

.post-job-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #273142;
}

    .post-job-card label span {
        color: #dc3545;
    }


/* =========================================================
   INPUTS
========================================================= */

.post-job-card .form-control,
.post-job-card .form-select {
    height: 45px;
    border: 1px solid #dce2eb;
    border-radius: 11px;
    box-shadow: none;
    color: #273142;
    transition: .2s;
}

.post-job-card textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.post-job-card .form-control:focus,
.post-job-card .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.10);
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .experience-box .form-control {
        width: 100%;
    }

    .experience-box span {
        color: #6c757d;
        white-space: nowrap;
        font-size: 14px;
    }


/* =========================================================
   HELP TEXT
========================================================= */

.post-job-card .text-muted {
    font-size: 12px;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.job-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 10px;
}

    .job-actions .btn {
        min-width: 150px;
        height: 46px;
        border-radius: 11px;
        font-weight: 600;
    }


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .post-job-page {
        padding: 0 0 30px;
    }

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

        .page-header h2 {
            font-size: 25px;
        }

    .post-job-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .section-heading {
        margin-bottom: 18px;
    }

    .job-section {
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .job-actions {
        flex-direction: column;
    }

        .job-actions .btn {
            width: 100%;
        }
}

@media (max-width: 480px) {

    .experience-box {
        flex-wrap: wrap;
    }

        .experience-box .form-control {
            width: calc(50% - 20px);
        }

        .experience-box span:last-child {
            width: 100%;
        }
}
