:root {
    --green: #2dbd2d;
    --green-dark: #056044;
    --green-soft: #eaf7f1;
    --orange: #2dbd2d;
    --orange-soft: #fff0df;
    --navy: #14213d;
    --text: #53627a;
    --white: #ffffff;
    --border: #dce5e1;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body.growthely-body {
    font-family: "Poppins", sans-serif;
    color: var(--navy);
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.growthely-main {
    flex: 1 0 auto;
}

.site-header {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #edf1ef;
}

.site-header .navbar {
    min-height: 88px;
    padding: 0.5rem 0;
}

.site-header .navbar-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.site-logo {
    width: 190px;
    height: auto;
    display: block;
}

.site-header .navbar-nav {
    align-items: center;
}

.site-header .nav-link {
    color: #273854 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 31px 13px !important;
    position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--green) !important;
}

.site-header .nav-link.active::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 17px;
    height: 3px;
    border-radius: 10px;
    background: var(--green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 23px;
}

.nav-actions a,
.nav-actions button {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.employer-link {
    color: #263754;
}

.signin-link {
    color: var(--green);
    font-weight: 600 !important;
}

.nav-divider {
    height: 28px;
    width: 1px;
    background: #d4dbd8;
}

.create-btn {
    background: var(--green);
    color: white !important;
    padding: 13px 24px;
    border: 0;
    border-radius: 13px;
    font-weight: 600 !important;
    transition: .25s ease;
    line-height: 1.2;
}

.create-btn:hover {
    background: var(--green-dark);
    color: white !important;
    transform: translateY(-1px);
}

.hero-section {
    min-height: calc(100vh - 88px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    padding: 20px 0 95px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(38px, 4.2vw, 62px);
    line-height: 1.12;
    letter-spacing: -2.7px;
    font-weight: 800;
    color: #111b28;
}

.hero-content h1 span {
    color: var(--orange);
}

.hero-text {
    max-width: 790px;
    margin: 20px auto 40px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

.job-search {
    width: min(940px, 94%);
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 7px;
    background: #fff;
    border: 1px solid #e2e8ee;
    border-radius: 44px;
    box-shadow: 0 12px 30px rgba(20, 50, 70, 0.10);
    text-align: left;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 0 18px;
}

.what-field {
    flex: 1.05;
}

.experience-field {
    flex: .92;
}

.where-field {
    flex: 1;
}

.search-field > i:first-child {
    flex: 0 0 auto;
    color: #075e48;
    font-size: 17px;
}

.search-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.search-content label {
    margin-bottom: 2px;
    color: #8995a4;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .5px;
}

.search-content input,
.search-content select {
    width: 100%;
    min-width: 0;
    padding: 3px 0 0;
    border: 0;
    outline: 0;
    box-shadow: none !important;
    background: transparent;
    color: #526074;
    font-family: inherit;
    font-size: 13px;
}

.search-content input::placeholder {
    color: #66758a;
    opacity: 1;
}

.search-content select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-arrow {
    margin-left: auto;
    color: #526074 !important;
    font-size: 11px !important;
}

.search-divider {
    flex: 0 0 1px;
    width: 1px;
    height: 38px;
    background: #e0e5ea;
}

.find-btn {
    flex: 0 0 126px;
    height: 62px;
    border: 0;
    border-radius: 34px;
    background: #2dbd2d;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: .25s ease;
    box-shadow: 0 7px 18px rgba(45, 189, 45, .22);
}

.find-btn:hover {
    background: #20a920;
    color: #fff;
    transform: translateY(-1px);
}

.find-btn i {
    margin-right: 5px;
}

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.popular-searches strong {
    font-size: 13px;
    margin-right: 5px;
    color: #24334c;
}

.search-chip {
    border: 1px solid #dcebe4;
    background: var(--green-soft);
    color: var(--green);
    padding: 8px 17px;
    border-radius: 25px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    transition: .2s ease;
}

.search-chip:hover {
    background: var(--green);
    color: white;
}

.hero-note {
    position: absolute;
    right: 1%;
    bottom: -60px;
    max-width: 170px;
    color: var(--green);
    font-size: 18px;
    font-weight: 600;
    transform: rotate(-5deg);
}

.hero-note i {
    color: var(--orange);
    margin-right: 5px;
}

.shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-left {
    width: 420px;
    height: 420px;
    left: -250px;
    top: 70px;
    background: var(--green-soft);
    box-shadow: inset -1px 0 0 #d8eee4;
}

.shape-left::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid #b7ddce;
    border-radius: 50%;
    right: -45px;
    top: 80px;
}

.shape-right {
    width: 390px;
    height: 390px;
    right: -260px;
    bottom: -240px;
    background: var(--orange-soft);
}

.shape-right::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid #ffb46f;
    border-radius: 50%;
    left: -35px;
    top: -25px;
}

.site-header .navbar-toggler {
    border: 0;
    color: var(--green);
    font-size: 22px;
    padding: 4px 8px;
}

.site-header .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.jobs-search-wrap {
    padding: 28px 0 10px;
    background: #fff;
}

.jobs-search-wrap .job-search {
    width: min(940px, 100%);
}

.gt-results-wrap {
    background: #f7fbf8;
    padding: 1.75rem 0 3rem;
}

body.gt-jobs-page {
    height: 100vh;
    overflow: hidden;
}

body.gt-jobs-page .growthely-main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.gt-jobs-page .jobs-search-wrap {
    flex: 0 0 auto;
    padding-bottom: 12px;
}

body.gt-jobs-page .gt-results-wrap {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0 0.75rem;
    overflow: hidden;
}

body.gt-jobs-page .gt-results-inner {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.gt-results-heading {
    flex: 0 0 auto;
    margin-bottom: 0.85rem;
}

.gt-split {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.gt-split-list,
.gt-split-detail {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gt-split-list {
    flex: 0 0 380px;
    max-width: 42%;
    padding-right: 2px;
}

.gt-split-detail {
    flex: 1 1 auto;
    min-width: 0;
}

.gt-detail-panel[hidden] {
    display: none !important;
}

.gt-split-detail .gt-detail-card {
    min-height: 100%;
    margin-bottom: 0;
}

.gt-split-pagination {
    padding: 0.35rem 0 0.75rem;
}

.gt-split-pagination .pagination {
    margin-bottom: 0;
    flex-wrap: wrap;
}

.gt-job-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 0.85rem;
    display: block;
    color: inherit;
}

button.gt-job-card {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

button.gt-job-card:focus {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.gt-job-card:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-color: var(--green);
}

button.gt-job-card.is-selected,
button.gt-job-card.is-selected:hover {
    border-color: var(--green);
    background: #f4fbf6;
    box-shadow: inset 4px 0 0 var(--green);
}

.gt-job-card h3,
.gt-job-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.25rem;
}

.gt-job-meta {
    color: var(--text);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.gt-badge {
    display: inline-block;
    background: var(--green-soft);
    color: var(--green-dark);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    margin-left: 0.35rem;
}

.gt-badge-sponsored {
    background: #e8f8e8;
    color: #056044;
}

.gt-empty {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text);
}

.gt-detail {
    padding: 2rem 0 3rem;
}

.gt-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
}

.gt-detail-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.gt-description {
    white-space: pre-line;
    line-height: 1.7;
}

.gt-btn-primary {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.65rem 1.6rem;
}

.gt-btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.gt-btn-applied {
    background: var(--green-soft);
    border: 1px solid #b7ddce;
    color: var(--green-dark);
    font-weight: 700;
    border-radius: 8px;
    padding: 0.65rem 1.6rem;
    cursor: default;
}

.gt-apply-actions,
.gt-application-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gt-kicker {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.gt-flash {
    background: var(--green-soft);
    border: 1px solid #b7ddce;
    color: var(--green-dark);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.gt-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
}

.gt-page-head h1,
.gt-apply-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.gt-application-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.gt-application-card h3 {
    margin-top: 0;
}

.gt-application-card h3 a {
    color: var(--green-dark);
}

.gt-application-card h3 a:hover {
    color: var(--green);
    text-decoration: none;
}

.gt-badge-applied {
    background: #e8f8e8;
    color: #056044;
}

.gt-status {
    display: inline-block;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    margin-left: 6px;
    line-height: 1.4;
}

.gt-status-new {
    background: #e8f8e8;
    color: #056044;
}

.gt-status-reviewed {
    background: #eef3f8;
    color: #27425f;
}

.gt-status-contacted {
    background: #fff4e5;
    color: #8a5a00;
}

.gt-status-hired {
    background: #2dbd2d;
    color: #fff;
}

.gt-status-rejected {
    background: #fdecec;
    color: #9b2c2c;
}

.gt-status-withdrawn {
    background: #f1f3f5;
    color: #53627a;
}

.gt-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.gt-filter-tabs a {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #273854;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    text-decoration: none;
}

.gt-filter-tabs a:hover,
.gt-filter-tabs a.is-active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    text-decoration: none;
}

.gt-apply-card .form-control {
    border-radius: 8px;
}

.gt-apply-card label {
    font-weight: 600;
    font-size: 14px;
}

.gt-footer {
    background: #f3f7f5;
    border-top: 1px solid #edf1ef;
    padding: 1.75rem 0 1.25rem;
    flex-shrink: 0;
    font-size: 0.88rem;
}

.gt-footer a {
    color: var(--text);
    margin-right: 1rem;
}

.gt-footer a:hover {
    color: var(--green);
    text-decoration: underline;
}

.gt-copy {
    color: #767676;
    margin-top: 0.85rem;
}

@media (max-width: 1199px) {
    .nav-actions {
        gap: 14px;
    }

    .site-header .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 991px) {
    .site-header .navbar {
        padding: 15px 0;
    }

    .site-header .navbar-collapse {
        padding: 20px 0 5px;
    }

    .site-header .nav-link {
        padding: 11px 0 !important;
    }

    .site-header .nav-link.active::after {
        display: none;
    }

    .nav-actions {
        flex-wrap: wrap;
        margin-top: 12px;
    }

    .hero-section {
        padding-top: 55px;
    }
}

@media (max-width: 767px) {
    .site-logo {
        width: 155px;
    }

    .hero-section {
        min-height: auto;
        padding: 60px 0 90px;
    }

    .hero-content h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .job-search {
        width: 100%;
        display: block;
        padding: 10px;
        border-radius: 25px;
    }

    .search-field {
        min-height: 58px;
        padding: 0 12px;
    }

    .search-divider {
        width: calc(100% - 24px);
        height: 1px;
        margin: 0 auto;
    }

    .find-btn {
        width: 100%;
        height: 56px;
        margin-top: 8px;
    }

    .popular-searches {
        gap: 7px;
    }

    .popular-searches strong {
        width: 100%;
        margin-bottom: 2px;
    }

    .hero-note {
        display: none;
    }

    .shape-left {
        width: 250px;
        height: 250px;
        left: -190px;
    }

    .shape-right {
        width: 260px;
        height: 260px;
        right: -190px;
    }
}

@media (max-width: 991px) {
    .gt-split-list {
        flex-basis: 300px;
        max-width: 46%;
    }

    .gt-split-detail .gt-detail-card,
    .gt-detail-card {
        padding: 1.25rem;
    }

    .gt-detail-card h1 {
        font-size: 1.45rem;
    }
}

@media (max-width: 767px) {
    body.gt-jobs-page {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    body.gt-jobs-page .growthely-main,
    body.gt-jobs-page .gt-results-wrap,
    body.gt-jobs-page .gt-results-inner {
        display: block;
        overflow: visible;
        min-height: 0;
    }

    .gt-split {
        flex-direction: column;
        gap: 0.75rem;
        min-height: 0;
    }

    .gt-split-list,
    .gt-split-detail {
        width: 100%;
        max-width: none;
    }

    .gt-split-list {
        flex: none;
        height: 46vh;
        max-height: 420px;
    }

    .gt-split-detail {
        flex: none;
        max-height: none;
        overflow: visible;
    }

    button.gt-job-card {
        padding: 0.9rem 1rem;
    }

    button.gt-job-card .gt-job-title {
        font-size: 1rem;
    }

    .gt-page-head,
    .gt-application-card,
    .gt-apply-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gt-page-head .btn,
    .gt-application-actions .btn,
    .gt-application-actions form,
    .gt-apply-actions .btn,
    .gt-apply-actions .gt-btn-applied {
        width: 100%;
        text-align: center;
    }
}
