/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =====================================================
   BODY
===================================================== */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111827;
}


/* =====================================================
   NAVBAR
===================================================== */






/* =====================================================
   SEARCH
===================================================== */


/* CATEGORY */

.category-select {
    height: 43px;

    min-width: 160px;

    padding: 0 12px;

    border: 1px solid #e5e7eb;
    border-radius: 9px;

    background: #ffffff;

    outline: none;

    color: #555;

    font-size: 13px;

    cursor: pointer;
}


/* =====================================================
   PROFILE
===================================================== */

.profile {
    flex-shrink: 0;
}


.menu-btn {
    width: 43px;
    height: 43px;

    border: none;
    border-radius: 50%;

    background: #18b99a;

    color: #ffffff;

    font-size: 17px;

    cursor: pointer;

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

    transition: 0.2s;
}


.menu-btn:hover {
    transform: scale(1.05);
}


/* =====================================================
   ALL JOBS PAGE
===================================================== */

.all-jobs-page {
    width: 86%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 50px 0 80px;
}


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

.all-jobs-header {
    text-align: center;

    margin-bottom: 40px;
}


.small-title {
    display: block;

    color: #18b99a;

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

    letter-spacing: 2px;

    margin-bottom: 8px;
}


.all-jobs-header h1 {
    font-size: 34px;

    font-weight: 750;

    color: #101010;
}


/* =====================================================
   JOB GRID
===================================================== */

.job-grid {
    width: 100%;

    display: grid;

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

    gap: 24px;
}


/* =====================================================
   JOB CARD
===================================================== */

.job-card {
    width: 100%;
    min-width: 0;

    background: #ffffff;

    border: 1px solid #e8e8e8;

    border-radius: 18px;

    padding: 24px;

    display: flex;
    flex-direction: column;

    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.045);

    transition: 0.25s ease;
}


.job-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   TOP
===================================================== */

.job-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;
}


.company-info {
    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 0;
}


/* =====================================================
   COMPANY AVATAR
===================================================== */

.company-avatar {
    width: 58px;
    height: 58px;

    min-width: 58px;

    border-radius: 50%;

    background: #edf3f1;

    color: #18b99a;

    display: flex;

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

    font-size: 22px;
    font-weight: 700;
}


/* =====================================================
   COMPANY TEXT
===================================================== */

.company-text {
    min-width: 0;
}


.company-text h3 {
    font-size: 18px;

    font-weight: 700;

    color: #111827;

    margin-bottom: 6px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.company-text p {
    font-size: 14px;

    color: #6b7280;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =====================================================
   BOOKMARK
===================================================== */

.save-btn,
.bookmark-login {
    text-decoration: none;

    display: flex;
}


.bookmark-btn {
    width: 42px;
    height: 42px;

    border: none;

    background: transparent;

    display: flex;

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

    color: #18b99a;

    font-size: 19px;

    cursor: pointer;

    border-radius: 50%;

    transition: 0.2s ease;
}


.bookmark-btn:hover {
    background: #edf3f1;

    transform: scale(1.05);
}


/* =====================================================
   JOB INFO
===================================================== */

.job-info {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-bottom: 18px;
}


.info-item {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #596168;

    font-size: 13px;
}


.info-item i {
    color: #18b99a;

    font-size: 13px;
}


/* =====================================================
   AGE LIMIT
===================================================== */

.age-limit {
    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    color: #555;

    margin-bottom: 22px;
}


.age-limit strong {
    color: #222;
}


/* =====================================================
   DETAILS BUTTON
===================================================== */

.details-area {
    width: 100%;

    margin-top: auto;
}


.details-btn {
    width: 100%;

    height: 52px;

    display: flex;

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

    gap: 10px;

    background: #080d17;

    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: 0.25s ease;
}


.details-btn:hover {
    background: #111827;
}


.details-btn i {
    font-size: 13px;

    transition: transform 0.2s ease;
}


.details-btn:hover i {
    transform: translateX(4px);
}


/* =====================================================
   NO JOB
===================================================== */

.no-job {
    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;

    border: 1px solid #e8e8e8;

    border-radius: 18px;

    color: #777;
}


.no-job i {
    font-size: 30px;

    color: #18b99a;

    margin-bottom: 15px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .navbar {
        padding: 15px 4%;

        flex-wrap: wrap;
    }


    .search-box {
        order: 3;

        width: 100%;

        max-width: none;
    }


    .all-jobs-page {
        width: 92%;
    }


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

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .navbar {
        gap: 14px;
    }


    .logo a {
        font-size: 24px;
    }


    .search-box {
        flex-direction: column;

        width: 100%;
    }


    .search-input,
    .category-select {
        width: 100%;

        min-width: 100%;
    }


    .all-jobs-page {
        width: 92%;

        padding-top: 35px;
    }


    .all-jobs-header {
        margin-bottom: 28px;
    }


    .all-jobs-header h1 {
        font-size: 27px;
    }


    .job-card {
        padding: 20px;
    }


    .company-avatar {
        width: 52px;
        height: 52px;

        min-width: 52px;

        font-size: 20px;
    }


    .job-info {
        gap: 14px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .company-text h3 {
        font-size: 16px;
    }


    .company-text p {
        font-size: 12px;
    }


    .job-info {
        gap: 12px;
    }

}