@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* =========================================================
   ROOT
   ========================================================= */

:root {
    --primary: #4f46e5;
    --primary-light: #eef2ff;
    --primary-dark: #4338ca;

    --dark: #111827;
    --text: #374151;
    --muted: #64748b;

    --border: #e5e7eb;
    --light-bg: #f8fafc;
    --white: #ffffff;

    --navbar-height: 88px;
}


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

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    font-family: 'Poppins', sans-serif;

    background: var(--light-bg);
    color: var(--dark);

    overflow-x: clip;
}


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

.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    min-height: var(--navbar-height);

    padding: 10px 32px !important;

    margin: 0 !important;

    background: #ffffff !important;

    border-bottom: 1px solid var(--border);

    z-index: 9999 !important;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;

    color: var(--dark) !important;

    white-space: nowrap;
}

.navbar .nav-link {
    color: var(--dark) !important;

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

    padding: 10px 14px !important;
}

.navbar .nav-link:hover {
    color: var(--primary) !important;
}

.navbar .btn-primary {
    min-width: 165px;
    height: 48px;

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

    text-align: center !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    padding: 0 20px !important;

    border-radius: 15px !important;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;

    border-radius: 10px !important;

    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}


/* =========================================================
   MAIN CONTENT
   IMPORTANT:
   Navbar height = 88px
   All pages start below navbar
   ========================================================= */

main {
    width: 100%;

    min-height: calc(100vh - var(--navbar-height));

    padding-top: var(--navbar-height);

    margin: 0 !important;
}


/* =========================================================
   ALL PAGE CONTAINERS
   ========================================================= */

main > .container,
main > .container-fluid {
    width: 100%;

    max-width: 1320px;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-top: 35px !important;
    padding-bottom: 50px !important;

    padding-left: 24px !important;
    padding-right: 24px !important;
}


/*
   If main contains wrapper div before container,
   this keeps the content centered.
*/

main .container {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   COMMON PAGE WRAPPER
   ========================================================= */

.page-wrapper {
    width: 100%;

    max-width: 1320px;

    margin-left: auto;
    margin-right: auto;

    padding: 35px 24px 50px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    margin-top: 0 !important;
    margin-bottom: 24px !important;

    padding: 0 !important;

    font-size: 13px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--muted) !important;

    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary) !important;
}

.breadcrumb-item.active {
    color: var(--primary) !important;

    font-weight: 600;
}


/* =========================================================
   COMMON PAGE TITLE
   ========================================================= */

.page-title {
    width: 100%;

    margin: 0 0 25px !important;

    font-size: 30px;

    line-height: 1.3;

    font-weight: 700;

    color: var(--dark);
}

.page-subtitle {
    margin-top: -15px;
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   COMMON ROW
   ========================================================= */

main .row {
    width: 100%;

    margin-left: 0 !important;
    margin-right: 0 !important;
}



/* =========================================================
   SIDEBAR MENU TEXT COLOR
   ========================================================= */

.sidebar-menu .nav-link {
    color: #000000 !important;          /* Normal - Black */
    background: transparent !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

/* Icons also black */
.sidebar-menu .nav-link i {
    color: #000000 !important;
}

/* Hover - Blue */
.sidebar-menu .nav-link:hover {
    color: #0d6efd !important;
    background: #f0f6ff !important;
}

/* Hover icon - Blue */
.sidebar-menu .nav-link:hover i {
    color: #0d6efd !important;
}

/* Active menu - Blue */
.sidebar-menu .nav-link.active {
    color: #0d6efd !important;
    background: #f0f6ff !important;
    font-weight: 600 !important;
}

/* Active icon - Blue */
.sidebar-menu .nav-link.active i {
    color: #0d6efd !important;
}
/* =========================================================
   COMMON PAGE CARD
   ========================================================= */

.page-card {
    width: 100%;

    background: #fff !important;

    border: 1px solid var(--border) !important;

    border-radius: 10px !important;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;

    overflow: hidden;
}


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

.page-card-header {
    width: 100%;

    min-height: 70px;

    padding: 18px 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    background: #fff;

    border-bottom: 1px solid var(--border);
}

.page-card-header h1,
.page-card-header h2,
.page-card-header h3,
.page-card-header h4,
.page-card-header h5,
.page-card-header h6 {
    margin: 0 !important;

    color: var(--dark);

    font-weight: 700;
}


/* =========================================================
   PAGE CARD BODY
   ========================================================= */

.page-card-body {
    width: 100%;

    padding: 22px;
}


/* =========================================================
   COMMON TABLE
   ========================================================= */

.common-table {
    width: 100% !important;

    margin: 0 !important;

    border-collapse: collapse;
}

.common-table thead th {
    background: var(--light-bg) !important;

    color: var(--muted) !important;

    text-transform: uppercase;

    font-size: 11px !important;

    font-weight: 700 !important;

    letter-spacing: 0.6px;

    padding: 14px 16px !important;

    border: 0 !important;

    white-space: nowrap;

    vertical-align: middle !important;
}

.common-table tbody td {
    padding: 15px 16px !important;

    vertical-align: middle !important;

    color: var(--text);

    font-size: 13px;

    border-bottom: 1px solid #f1f5f9 !important;
}

.common-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.common-table tbody tr:hover {
    background: #fafbff !important;
}


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

.table-responsive {
    width: 100%;

    margin: 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   COMMON BUTTONS
   ========================================================= */

.btn-common {
    min-height: 36px;

    padding: 8px 14px !important;

    border-radius: 7px !important;

    font-size: 12px !important;

    font-weight: 600 !important;

    letter-spacing: 0.2px;
}

.btn-icon-common {
    width: 36px;
    height: 36px;

    padding: 0 !important;

    display: inline-flex;

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

    border-radius: 7px !important;
}


/* =========================================================
   COMMON BADGES
   ========================================================= */

.badge-common {
    display: inline-flex;

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

    min-height: 26px;

    padding: 5px 10px !important;

    border-radius: 20px !important;

    font-size: 10px !important;

    font-weight: 700 !important;

    text-transform: uppercase;

    white-space: nowrap;
}


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

.common-search {
    width: 250px;

    height: 40px;

    padding: 8px 12px !important;

    border: 1px solid #e2e8f0 !important;

    border-radius: 7px !important;

    background: #fff !important;

    color: var(--text);

    box-shadow: none !important;

    outline: none !important;
}

.common-search:focus {
    border-color: var(--primary) !important;

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


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.action-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* All management buttons */
.action-buttons .btn,
.action-buttons .dropdown > .btn {
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Keep Interview / Reschedule button same width */
.action-buttons .interview-btn {
    width: 118px !important;
    min-width: 118px !important;
}

/* Status button */
.action-buttons .dropdown {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.action-buttons .dropdown > .btn {
    min-width: 82px !important;
}

/* Test button */
.action-buttons .test-btn {
    min-width: 58px !important;
}

/* Scores button */
.action-buttons .scores-btn {
    min-width: 68px !important;
}

/* Resume PDF button */
.action-buttons .resume-btn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;

    height: 36px !important;
    min-height: 36px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 7px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.action-buttons .resume-btn i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
/* =========================================================
   FORM CONTROLS
   ========================================================= */

.form-control,
.form-select {
    min-height: 42px;

    border: 1px solid var(--border) !important;

    border-radius: 7px !important;

    box-shadow: none !important;

    font-family: 'Poppins', sans-serif;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;

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


/* =========================================================
   HOME PAGE - HERO
   ========================================================= */

.hero-section {
    width: 100%;

    min-height: 500px;

    /*
       IMPORTANT:
       Do NOT use margin-top here.
       main already handles navbar spacing.
    */

    margin-top: 0 !important;

    padding: 55px 20px !important;

    display: flex;

    align-items: center;

    text-align: center;

    background-size: cover !important;

    background-position: center !important;
}

.hero-section > .container {
    width: 100%;

    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;
}

.hero-section h1 {
    max-width: 1000px;

    margin: 0 auto 18px !important;

    font-size: 58px !important;

    line-height: 1.15 !important;

    font-weight: 700 !important;
}

.hero-section h1 .text-gradient {
    display: inline-block;

    color: var(--primary) !important;
}

.hero-section > .container > p {
    max-width: 720px !important;

    margin: 0 auto 30px !important;

    font-size: 17px;

    line-height: 1.6;

    color: #596273;
}


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

.hero-section .row.justify-content-center {
    width: 100%;

    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hero-section .row.justify-content-center > .col-lg-9 {
    width: 100%;

    max-width: 1070px;

    padding: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

.search-bar {
    width: 100%;

    min-height: 90px;

    display: flex;

    align-items: center;

    padding: 8px !important;

    background: #fff !important;

    border: 1px solid var(--border) !important;

    border-radius: 30px !important;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10) !important;
}

.search-bar .input-group {
    flex: 1;

    min-width: 0;

    display: flex;

    align-items: center;
}

.search-bar .input-group-text {
    background: transparent !important;

    border: 0 !important;

    color: var(--primary);
}

.search-bar input {
    width: 100%;

    height: 60px;

    border: 0 !important;

    box-shadow: none !important;

    outline: none !important;

    font-size: 16px !important;
}

.search-bar .vr {
    height: 45px;

    margin: 0 10px !important;
}

.search-bar button {
    width: 180px;

    height: 68px;

    flex-shrink: 0;

    border: 0 !important;

    border-radius: 40px !important;

    font-size: 16px !important;
}


/* =========================================================
   POPULAR SEARCHES
   ========================================================= */

.hero-section .d-flex.justify-content-center {
    max-width: 1070px;

    margin-left: auto !important;
    margin-right: auto !important;

    gap: 10px !important;

    align-items: center;
}

.hero-section .badge {
    padding: 8px 16px !important;

    background: #fff !important;

    color: #4b5563 !important;

    border: 1px solid var(--border) !important;

    border-radius: 25px !important;

    font-size: 13px !important;

    white-space: nowrap;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   CATEGORY SECTION
   ========================================================= */

.hero-section + section.bg-white {
    width: 100%;

    padding: 55px 20px 65px !important;

    background: #fff !important;
}

.hero-section + section.bg-white > .container {
    width: 100%;

    max-width: 1300px;

    margin-left: auto;
    margin-right: auto;
}

.hero-section + section.bg-white h2 {
    margin-bottom: 12px !important;

    font-size: 40px !important;

    font-weight: 700 !important;

    color: var(--dark);
}

.hero-section + section.bg-white .text-center p {
    margin-bottom: 35px !important;

    color: #6b7280;
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.hero-section + section.bg-white .row {
    display: grid !important;

    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;

    gap: 24px !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;
}

.hero-section + section.bg-white .row > div {
    width: 100% !important;

    max-width: none !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* =========================================================
   CATEGORY CARD
   ========================================================= */

.hero-section + section.bg-white .cat-card {
    width: 100% !important;

    height: 220px !important;

    padding: 25px 15px !important;

    display: flex !important;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: #fff !important;

    border: 1px solid var(--border) !important;

    border-radius: 14px !important;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06) !important;
}

.hero-section + section.bg-white .cat-icon-premium {
    width: 88px !important;
    height: 88px !important;

    min-width: 88px !important;
    min-height: 88px !important;

    margin: 0 auto 18px !important;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 18px !important;
}

.hero-section + section.bg-white .cat-icon-premium img {
    width: 100% !important;

    height: 100% !important;

    object-fit: cover !important;
}

.hero-section + section.bg-white .cat-icon-premium i {
    font-size: 35px !important;
}

.hero-section + section.bg-white .cat-card h6 {
    width: 100% !important;

    margin: 0 !important;

    color: var(--dark) !important;

    font-size: 16px !important;

    line-height: 1.35 !important;

    font-weight: 700 !important;

    text-align: center;
}


/* =========================================================
   LATEST JOBS
   ========================================================= */

section.bg-light {
    width: 100%;

    padding: 60px 20px !important;
}

section.bg-light > .container {
    width: 100%;

    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   GENERAL HEADINGS
   ========================================================= */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
    position: relative;

    z-index: 1;

    word-wrap: break-word;
}


/* =========================================================
   IMAGES
   ========================================================= */

main img {
    max-width: 100%;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    main > .container,
    main > .container-fluid {
        min-height: calc(100vh - var(--navbar-height));
    }

}


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

@media (max-width: 991px) {

    :root {
        --navbar-height: 75px;
    }


    /* NAVBAR */

    .navbar {
        min-height: 75px;

        padding: 8px 20px !important;
    }


    /* MAIN */

    main {
        padding-top: var(--navbar-height);
    }

    main > .container,
    main > .container-fluid {
        padding-top: 30px !important;

        padding-left: 20px !important;
        padding-right: 20px !important;
    }


    /* PAGE LAYOUT */

    .page-layout {
        grid-template-columns: 220px minmax(0, 1fr);

        gap: 18px;
    }

    .sidebar {
        width: 220px;
    }


    /* HERO */

    .hero-section {
        min-height: auto;

        padding: 50px 20px 45px !important;
    }

    .hero-section h1 {
        font-size: 46px !important;
    }


    /* CATEGORY */

    .hero-section + section.bg-white .row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        gap: 18px !important;
    }


    /* ACTION BUTTONS */

    .action-buttons {
        flex-wrap: wrap;
    }
}


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

@media (max-width: 767px) {

    :root {
        --navbar-height: 70px;
    }


    /* NAVBAR */

    .navbar {
        min-height: 70px;

        padding: 7px 15px !important;
    }

    .navbar-brand {
        font-size: 18px;
    }


    /* MAIN */

    main {
        padding-top: var(--navbar-height);
    }

    main > .container,
    main > .container-fluid {
        padding-top: 25px !important;

        padding-bottom: 40px !important;

        padding-left: 15px !important;
        padding-right: 15px !important;
    }


    /* PAGE WRAPPER */

    .page-wrapper {
        padding: 25px 15px 40px;
    }


    /* PAGE TITLE */

    .page-title {
        font-size: 24px;

        margin-bottom: 20px !important;
    }


    /* BREADCRUMB */

    .breadcrumb {
        margin-bottom: 18px !important;

        font-size: 12px;
    }


    /* SIDEBAR */

    .page-layout {
        display: flex;

        flex-direction: column;

        gap: 18px;
    }

    .sidebar {
        width: 100%;
    }

    .content-area {
        width: 100%;
    }


    /* PAGE CARD */

    .page-card-header {
        min-height: auto;

        padding: 16px;

        flex-direction: column;

        align-items: flex-start;
    }

    .page-card-body {
        padding: 16px;
    }


    /* SEARCH */

    .common-search {
        width: 100%;
    }


    /* ACTION BUTTONS */

    .action-buttons {
        width: 100%;

        justify-content: flex-start;

        flex-wrap: wrap;
    }


    /* HERO */

    .hero-section {
        min-height: auto;

        padding: 40px 15px 35px !important;

        display: block;
    }

    .hero-section h1 {
        font-size: 34px !important;

        line-height: 1.2 !important;
    }

    .hero-section h1 br {
        display: none;
    }

    .hero-section > .container > p {
        font-size: 14px !important;
    }


    /* HERO SEARCH */

    .search-bar {
        flex-direction: column;

        align-items: stretch;

        padding: 10px !important;

        border-radius: 20px !important;
    }

    .search-bar .input-group {
        width: 100%;

        height: 50px;
    }

    .search-bar .vr {
        display: none;
    }

    .search-bar button {
        width: 100%;

        height: 52px;

        margin: 5px 0 0 !important;
    }


    /* POPULAR */

    .hero-section .d-flex.justify-content-center {
        flex-wrap: wrap;
    }

    .hero-section .badge {
        font-size: 10px !important;

        padding: 6px 10px !important;
    }


    /* CATEGORY */

    .hero-section + section.bg-white {
        padding: 40px 15px 45px !important;
    }

    .hero-section + section.bg-white h2 {
        font-size: 28px !important;
    }

    .hero-section + section.bg-white .row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 12px !important;
    }

    .hero-section + section.bg-white .cat-card {
        height: 155px !important;

        padding: 15px 7px !important;
    }

    .hero-section + section.bg-white .cat-icon-premium {
        width: 58px !important;
        height: 58px !important;

        min-width: 58px !important;
        min-height: 58px !important;

        margin-bottom: 12px !important;
    }

    .hero-section + section.bg-white .cat-card h6 {
        font-size: 10px !important;
    }


    /* TABLE */

    .common-table thead th {
        font-size: 10px !important;

        padding: 12px !important;
    }

    .common-table tbody td {
        padding: 12px !important;

        font-size: 12px;
    }
}


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

@media (max-width: 480px) {

    .hero-section h1 {
        font-size: 30px !important;
    }

    .hero-section + section.bg-white .row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }

    .hero-section + section.bg-white .cat-card {
        height: 145px !important;
    }

    .hero-section + section.bg-white .cat-icon-premium {
        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;
        min-height: 52px !important;
    }

    .hero-section + section.bg-white .cat-card h6 {
        font-size: 9px !important;
    }

    .page-card-header {
        padding: 14px;
    }

    .page-card-body {
        padding: 14px;
    }
}

/* =========================================================
   JOB DETAILS - STICKY RIGHT SIDEBAR
   ========================================================= */

.job-details-page-row {
    display: flex !important;
    align-items: flex-start !important;
    overflow: visible !important;
}

.job-details-sidebar-column {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 105px !important;
    align-self: flex-start !important;
    height: fit-content !important;
    overflow: visible !important;
    z-index: 100 !important;
}

.job-details-sidebar {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.job-details-sidebar .card {
    width: 100% !important;
}

@media (max-width: 991.98px) {

    .job-details-page-row {
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
    }

    .job-details-sidebar-column {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    .job-details-sidebar {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}