/* ============================================
   Inner-page Styles from Laravel theme-meta.blade.php
   ============================================ */

/* --- Site Header Shell --- */
.site-header-shell {
    padding-top: 4px;
    position: relative;
    z-index: 100;
}

.site-header-shell .header {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    margin-left: 10%;
    margin-right: auto;
    max-width: 1200px;
    padding: 2px 0;
}

.site-header-shell .main-header {
    align-items: center;
    display: flex;
    gap: 0;
    min-height: 48px;
    padding: 0;
}

.site-header-shell .header-left,
.site-header-shell .header-right {
    position: relative;
    z-index: 2;
}

.site-header-shell .header-left {
    align-items: center;
    display: flex;
    justify-self: start;
}

.site-header-shell .header-nav {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: visible;
    position: static;
    transform: none;
    width: auto;
    z-index: 1;
}

.site-header-shell .header-logo img {
    max-height: 28px;
    width: auto;
}

.site-header-shell .nav-main-menu {
    display: flex;
    justify-content: center;
    width: 100%;
}

.site-header-shell .main-menu {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: center;
    margin: 0;
    white-space: nowrap;
}

.site-header-shell .main-menu > li > a {
    border-radius: 999px;
    color: var(--secondary-color);
    display: inline-flex;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.site-header-shell .main-menu > li > a:hover,
.site-header-shell .main-menu > li.current-menu-item > a,
.site-header-shell .main-menu > li.current-menu-parent > a {
    background: rgba(var(--primary-color-rgb), .08);
    color: var(--primary-color);
}

.site-header-shell .header-right {
    display: flex;
    justify-self: end;
    justify-content: flex-end;
}

.site-header-shell .block-signin {
    display: flex;
    gap: 10px;
}

.site-header-shell .block-signin .text-link-bd-btom {
    align-items: center;
    border-radius: 999px;
    color: var(--secondary-color);
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
}

.site-header-shell .block-signin .text-link-bd-btom:hover {
    background: rgba(var(--primary-color-rgb), .08);
    color: var(--primary-color);
}

.site-header-shell .btn-shadow {
    box-shadow: 0 18px 36px rgba(var(--primary-color-rgb), .28);
}

.site-header-shell .header-item {
    align-items: center;
    background: rgba(var(--primary-color-rgb), .06);
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 999px;
    padding: 8px 14px 8px 10px;
}

/* --- Inner Hero Shell (page breadcrumb/hero area) --- */
.inner-hero-shell {
    padding-top: 18px;
}

.inner-hero-shell .breadcrumb-cover,
.inner-hero-shell .banner-hero {
    background:
        radial-gradient(circle at top left, rgba(var(--primary-color-rgb), .16), transparent 30%),
        linear-gradient(135deg, #0b2b58, #143e74 58%, rgba(var(--primary-color-rgb), .96)) !important;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 34px;
    box-shadow: 0 28px 70px rgba(10, 40, 84, .22);
    overflow: hidden;
    position: relative;
}

.inner-hero-shell .breadcrumb-cover::after,
.inner-hero-shell .banner-hero::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 44%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.inner-hero-shell .breadcrumb-cover > .container,
.inner-hero-shell .banner-hero > .banner-inner {
    position: relative;
    z-index: 1;
}

.inner-hero-shell h1,
.inner-hero-shell h2,
.inner-hero-shell p,
.inner-hero-shell li,
.inner-hero-shell a,
.inner-hero-shell span {
    color: #fff !important;
}

.inner-hero-shell .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.inner-hero-shell .breadcrumbs li {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: 10px 14px;
}

/* --- Inner Page Content Shell --- */
.inner-page-section {
    padding-top: 20px;
}

.inner-page-panel,
.inner-page-sidebar,
.inner-page-profile,
.auth-shell .auth-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 255, .98));
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.inner-page-panel {
    padding: 28px;
}

.inner-page-sidebar {
    padding: 26px 24px;
}

.inner-page-profile {
    margin-top: -38px;
    padding: 26px 28px;
    position: relative;
    z-index: 2;
}

/* --- Detail Cover Shell --- */
.detail-cover-shell .banner-hero {
    border-radius: 34px;
    overflow: hidden;
}

.detail-cover-shell .wrap-cover-image img {
    min-height: 240px;
    object-fit: cover;
}

.detail-cover-shell .image-company img,
.detail-cover-shell .image-candidate img {
    background: #fff;
    border: 8px solid rgba(255, 255, 255, .92);
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
}

/* --- Listing Shell --- */
.listing-shell .jobs-listing,
.listing-shell .filter-section,
.listing-shell .company-listing {
    margin-top: 0;
}

/* --- Jobs Page Shell --- */
.jobs-page-shell {
    position: relative;
}

.jobs-page-shell::before {
    background:
        radial-gradient(circle at top left, rgba(var(--primary-color-rgb), .08), transparent 26%),
        radial-gradient(circle at bottom right, rgba(10, 40, 84, .06), transparent 24%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.jobs-page-shell > .container {
    position: relative;
    z-index: 1;
}

.jobs-shell-grid {
    row-gap: 24px;
}

/* --- Pagination Override --- */
.inner-page-section .paginations {
    margin: 24px 0 40px;
    text-align: center;
    clear: both;
}

.inner-page-section .paginations .pager {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inner-page-section .paginations .pager li {
    display: inline-block;
}

.inner-page-section .paginations .pager li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    text-decoration: none;
    transition: all .2s ease;
}

.inner-page-section .paginations .pager li a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.inner-page-section .paginations .pager li a.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.inner-page-section .paginations .pager li a.pager-number {
    border-radius: 10px;
}

/* --- Company Grid Card --- */
.company-grid-card {
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .08);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.company-grid-card:hover {
    border-color: rgba(var(--primary-color-rgb), .15);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.company-grid-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.company-grid-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-grid-card-logo-fallback {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
}

.company-grid-card-name {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.company-grid-card-name a {
    color: var(--secondary-color);
    text-decoration: none;
}

.company-grid-card-name a:hover {
    color: var(--primary-color);
}

.company-grid-card-location {
    font-size: 13px;
    color: #94a3b8;
}

.company-grid-card-location i {
    font-size: 12px;
    margin-right: 2px;
}

.company-grid-card-btn {
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 20px;
    margin-top: 4px;
}

/* --- Jobs Hero Strip --- */
.jobs-hero-strip {
    background: linear-gradient(135deg, #f0f4ff, #e8eeff);
    border-bottom: 1px solid rgba(var(--primary-color-rgb), .08);
    padding: 18px 0;
}

.jobs-hero-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.jobs-hero-strip-copy h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
}

.jobs-hero-strip-copy p {
    font-size: 14px;
    color: #94a3b8;
    margin: 4px 0 0;
}

.jobs-hero-strip-copy p strong {
    color: var(--primary-color);
    font-weight: 800;
}

.jobs-hero-strip-stats {
    display: flex;
    gap: 16px;
}

.jobs-hero-stat {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

.jobs-hero-stat-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.jobs-hero-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* --- Job Row Card --- */
.job-row-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .08);
    border-radius: 14px;
    padding: 16px 20px;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.job-row-card:hover {
    border-color: rgba(var(--primary-color-rgb), .15);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.job-row-card-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.job-row-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-row-card-logo-fallback {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.job-row-card-body {
    flex: 1;
    min-width: 0;
}

.job-row-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.job-row-card-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.job-row-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.job-row-card-title a:hover {
    color: var(--primary-color);
}

.job-row-card-salary {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 8px;
}

.job-row-card-salary .text-muted {
    color: #94a3b8;
    font-weight: 600;
}

.job-row-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.job-row-card-company {
    color: #475569;
    font-weight: 600;
    text-decoration: none;
}

.job-row-card-company:hover {
    color: var(--primary-color);
}

.job-row-card-sep {
    color: #cbd5e1;
}

.job-row-card-location i {
    font-size: 12px;
    margin-right: 2px;
}

.job-row-card-type {
    font-weight: 600;
    color: #475569;
}

.job-row-card-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 6px 0 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-row-card-actions {
    flex-shrink: 0;
}

.job-row-card-btn {
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    white-space: nowrap;
}

/* --- Jobs Search Bar --- */
.jobs-search-bar {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .98));
    border: 1px solid rgba(var(--primary-color-rgb), .08);
    border-radius: 28px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .08);
    margin-bottom: 24px;
    padding: 20px;
}

.jobs-search-form {
    width: 100%;
}

.jobs-search-fields {
    display: flex;
    gap: 12px;
    align-items: center;
}

.jobs-search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 16px;
    padding: 0 16px;
    min-height: 56px;
}

.jobs-search-input-group i {
    color: #94a3b8;
    font-size: 18px;
}

.jobs-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: transparent;
    min-height: 56px;
}

.jobs-search-input::placeholder {
    color: #94a3b8;
}

.jobs-search-btn {
    min-height: 56px;
    padding: 0 28px;
    border-radius: 16px;
    white-space: nowrap;
    font-weight: 700;
}

/* --- Jobs Results Header --- */
.jobs-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.jobs-results-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.jobs-results-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
}

.jobs-results-count {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    background: rgba(var(--primary-color-rgb), .06);
    border-radius: 999px;
    padding: 4px 12px;
}

.jobs-results-actions {
    display: flex;
    gap: 8px;
}

.jobs-clear-btn {
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
}

/* --- Filter Block Title --- */
.filter-block-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* --- Jobs Explorer Hero (listing page dark hero) --- */
.jobs-explorer-hero {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .16), transparent 28%),
        linear-gradient(135deg, #09244f, #123c73 54%, #2d4eb4);
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(9, 36, 79, .22);
    color: #fff;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
    margin-bottom: 24px;
    overflow: hidden;
    padding: 30px;
    position: relative;
}

.jobs-explorer-hero::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 40%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.jobs-explorer-copy,
.jobs-explorer-note {
    position: relative;
    z-index: 1;
}

.jobs-explorer-kicker {
    color: rgba(255, 255, 255, .78);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.jobs-explorer-hero h2 {
    color: #fff;
    font-size: clamp(32px, 3.4vw, 52px);
    line-height: 1.02;
    margin-bottom: 12px;
    max-width: 10ch;
}

.jobs-explorer-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 58ch;
}

.jobs-explorer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.jobs-explorer-pill {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
}

.jobs-explorer-pill strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.jobs-explorer-note {
    display: flex;
    justify-content: flex-end;
}

.jobs-explorer-note-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    max-width: 320px;
    padding: 22px;
    width: 100%;
}

.jobs-explorer-note-label {
    color: rgba(255, 255, 255, .74);
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.jobs-explorer-note-card strong {
    color: #fff;
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.jobs-explorer-note-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* --- Jobs Toolbar (sorting/filter controls) --- */
.jobs-toolbar-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .98));
    border: 1px solid rgba(var(--primary-color-rgb), .08);
    border-radius: 28px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
    margin-bottom: 22px;
    padding: 18px 20px;
}

.jobs-toolbar-summary {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.jobs-toolbar-kicker,
.filter-panel-kicker {
    color: var(--primary-color);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.jobs-toolbar-count {
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 700;
}

.jobs-toolbar-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.jobs-toolbar-button,
.jobs-toolbar-select {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    display: inline-flex;
    min-height: 52px;
    padding: 8px 14px;
}

.jobs-toolbar-button {
    color: var(--secondary-color);
    gap: 10px;
    font-weight: 700;
}

.jobs-filter-count {
    align-items: center;
    background: rgba(var(--primary-color-rgb), .12);
    border-radius: 999px;
    color: var(--primary-color);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    min-width: 24px;
    padding: 0 8px;
}

.jobs-toolbar-select .btn {
    align-items: center;
    color: var(--secondary-color);
    display: inline-flex;
    gap: 8px;
    padding: 0;
}

.jobs-toolbar-select .text-sort_by {
    color: #607086;
    font-size: 12px;
    font-weight: 700;
    margin-right: 10px;
    text-transform: uppercase;
}

.jobs-view-switcher {
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    display: inline-flex;
    gap: 6px;
    padding: 6px;
}

.jobs-view-switcher .view-type {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.jobs-view-switcher .view-type.active,
.jobs-view-switcher .view-type:hover {
    background: rgba(var(--primary-color-rgb), .10);
}

.jobs-results-grid {
    row-gap: 18px;
}

.jobs-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.jobs-active-chip {
    background: rgba(var(--primary-color-rgb), .08);
    border: 1px solid rgba(var(--primary-color-rgb), .08);
    border-radius: 999px;
    color: var(--secondary-color);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    padding: 0 14px;
}

/* --- Modern Filter Panel (sidebar) --- */
.modern-filter-panel .sidebar-shadow {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 255, .98));
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 28px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .08);
    padding: 18px;
    position: sticky;
    top: 120px;
}

.modern-filter-panel .filter-block {
    background: rgba(var(--primary-color-rgb), .03);
    border: 1px solid rgba(var(--primary-color-rgb), .06);
    border-radius: 22px;
    padding: 18px;
}

.modern-filter-panel .filter-block.head-border {
    background: transparent;
    border: 0;
    padding: 0 0 10px;
}

.filter-panel-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.filter-panel-header h5 {
    margin-bottom: 0;
}

.modern-filter-panel .filter-block + .filter-block {
    margin-top: 16px;
}

.modern-filter-panel .link-reset {
    align-items: center;
    background: rgba(var(--primary-color-rgb), .08);
    border-radius: 999px;
    color: var(--primary-color);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    min-height: 34px;
    padding: 0 14px;
    text-transform: uppercase;
}

.modern-filter-panel .medium-heading {
    font-size: 15px;
    line-height: 1.3;
}

/* --- Modern Job Card (listing cards) --- */
.modern-job-card,
.modern-job-card.card-grid-2 {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid rgba(var(--primary-color-rgb), .10);
    border-radius: 26px;
    box-shadow: 0 20px 52px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.modern-job-card .card-grid-2-image-left {
    align-items: center;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgb), .05), rgba(255, 255, 255, .98));
    border-bottom: 1px solid rgba(var(--primary-color-rgb), .08);
    display: flex;
    gap: 14px;
    padding: 20px 22px;
}

.modern-job-card .card-block-info {
    padding: 22px;
}

.modern-job-card .image-box {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .08);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    display: inline-flex;
    height: 72px;
    justify-content: center;
    min-width: 72px;
    padding: 12px;
}

.modern-job-card .image-box img {
    max-height: 46px;
    object-fit: contain;
}

.modern-job-card .name-job,
.modern-job-card h4 a,
.modern-job-card h6 a {
    color: var(--secondary-color);
}

.modern-job-card .name-job,
.modern-job-card h4,
.modern-job-card h6 {
    font-weight: 800;
}

.modern-job-card h4,
.modern-job-card h6 {
    line-height: 1.35;
    margin-bottom: 10px;
    min-height: auto;
}

.modern-job-card .location-small {
    color: #94a3b8;
    display: block;
    margin-top: 4px;
}

.modern-job-card .job-card-topline {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.modern-job-card .job-card-posted {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.modern-job-card .job-card-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.modern-job-card .card-briefcase,
.modern-job-card .card-time {
    align-items: center;
    background: rgba(var(--primary-color-rgb), .05);
    border-radius: 999px;
    color: #5a6b82;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    padding: 0 12px;
}

.modern-job-card .job-card-description {
    font-size: 15px !important;
    line-height: 1.7 !important;
    min-height: 76px;
}

.modern-job-card .job-card-tags {
    min-height: 42px;
}

.modern-job-card .btn-grey-small {
    background: rgba(var(--primary-color-rgb), .08);
    border-radius: 999px;
    color: var(--secondary-color) !important;
    font-weight: 700;
    padding: 7px 12px;
}

.modern-job-card .job-card-footer {
    align-items: end;
    border-top: 1px solid rgba(var(--primary-color-rgb), .08);
    margin-top: 22px !important;
    padding-top: 18px;
}

.modern-job-card .salary-information .card-text-price,
.modern-job-card .salary-information .job-hidden-job-for-guest-text {
    font-weight: 800;
}

.modern-job-card .btn-apply-now {
    border-radius: 12px;
    min-width: 112px;
}

.modern-job-card .job-card-apply-btn {
    align-items: center;
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(var(--primary-color-rgb), .22);
    display: inline-flex;
    justify-content: center;
    min-height: 48px;
    min-width: 132px;
    padding: 0 22px;
}

.modern-job-card.job-grid {
    height: 100%;
}

.job-grid .modern-job-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-grid .modern-job-card .card-block-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.job-grid .modern-job-card .job-card-footer {
    margin-top: auto !important;
}

/* --- Job Empty State --- */
.job-empty .text-center {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 255, .98));
    border: 1px dashed rgba(var(--primary-color-rgb), .18);
    border-radius: 28px;
    padding: 42px 24px;
}

/* --- Display Flex Utility --- */
.display-flex2 {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

/* --- Filter by word (character filter) --- */
.box-list-character ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-by-word {
    align-items: center;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 10px;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.filter-by-word:hover {
    background: rgba(255, 255, 255, .28);
    transform: scale(1.04);
}

/* --- Auth Shell (login/register pages) --- */
.auth-shell {
    padding: 80px 0 100px;
    position: relative;
    background-color: #f8fafc;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.auth-shell::before {
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.08), transparent 40%),
        radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.08), transparent 40%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.auth-shell .container {
    position: relative;
    z-index: 1;
}

.auth-shell .auth-card {
    padding: 45px 40px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.auth-shell .auth-card h2.section-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin-bottom: 12px;
}

.auth-shell .auth-card .text-brand-2 {
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 30px;
}

.auth-shell .auth-form .form-group {
    margin-bottom: 20px;
}

.auth-shell .auth-form .form-control,
.auth-shell .auth-form .form-select {
    border-radius: 14px;
    min-height: 56px;
    border: 1px solid #e2e8f0;
    padding: 0 20px;
    font-size: 15px;
    background-color: #fcfcfd;
    transition: all 0.3s ease;
}

.auth-shell .auth-form .form-control:focus,
.auth-shell .auth-form .form-select:focus {
    border-color: #5558e8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background-color: #ffffff;
}

.auth-shell .btn-primary {
    background: linear-gradient(135deg, #5558e8 0%, #8b5cf6 100%);
    border: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.auth-shell .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.3);
}

.auth-shell .img-1 img,
.auth-shell .img-2 img {
    filter: drop-shadow(0 30px 60px rgba(15, 23, 42, 0.12));
    transition: all 0.5s ease;
}

.auth-shell .img-1:hover img,
.auth-shell .img-2:hover img {
    transform: translateY(-10px);
}

/* --- Responsive: 991.98px --- */
@media (max-width: 991.98px) {
    .jobs-explorer-hero {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .jobs-explorer-note {
        justify-content: flex-start;
    }

    .jobs-toolbar-shell {
        padding: 16px;
    }

    .jobs-toolbar-controls {
        justify-content: flex-start;
    }

    .jobs-hero-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-row-card {
        flex-wrap: wrap;
    }

    .job-row-card-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .job-row-card-btn {
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        line-height: 1 !important;
        padding-top: 14px !important;
        padding-bottom: 8px !important;
        display: inline-flex !important;
    }

    .jobs-search-fields {
        flex-direction: column;
    }

    .jobs-search-input-group {
        width: 100%;
    }

    .jobs-search-btn {
        width: 100%;
    }

    .jobs-results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modern-filter-panel .sidebar-shadow {
        position: static;
        top: auto;
    }

    .site-header-shell {
        padding-top: 2px;
    }

    .site-header-shell .header,
    .site-footer-shell .footer {
        border-radius: 12px;
        margin-right: 10px;
    }

    .site-header-shell .main-header {
        display: flex !important;
        min-height: 44px;
    }

    .site-header-shell .header-left,
    .site-header-shell .header-right {
        width: auto;
    }

    .site-header-shell .header-nav {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: auto;
    }

    .inner-page-profile {
        margin-top: -18px;
        padding: 22px 18px;
    }

    .inner-page-panel,
    .inner-page-sidebar,
    .auth-shell .auth-card {
        border-radius: 24px;
        padding: 22px 18px;
    }

    .inner-hero-shell .breadcrumbs {
        justify-content: flex-start;
        margin-top: 18px !important;
    }
}

/* --- Responsive: 767.98px --- */
@media (max-width: 767.98px) {
    .jobs-explorer-hero {
        border-radius: 24px;
        padding: 22px 18px;
    }

    .jobs-explorer-hero h2 {
        max-width: none;
    }

    .jobs-toolbar-shell,
    .modern-filter-panel .sidebar-shadow,
    .modern-job-card,
    .modern-job-card.card-grid-2 {
        border-radius: 22px;
    }

    .jobs-toolbar-button,
    .jobs-toolbar-select {
        width: 100%;
    }

    .jobs-view-switcher {
        width: 100%;
    }

    .jobs-view-switcher .view-type {
        flex: 1 1 auto;
    }

    .filter-panel-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .modern-job-card .job-card-topline {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================
   Grid/List View Toggle
   ============================================ */
.jobs-view-toggle {
    display: inline-flex;
    border: 1px solid rgba(var(--primary-color-rgb), .15);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.jobs-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 34px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.jobs-view-btn:hover {
    background: rgba(var(--primary-color-rgb), .06);
    color: #475569;
}
.jobs-view-btn.active {
    background: var(--primary-color, #3355ff);
    color: #fff;
}
.jobs-view-btn + .jobs-view-btn {
    border-left: 1px solid rgba(var(--primary-color-rgb), .10);
}
.jobs-results-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid Cards */
.jobs-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 0 20px;
}
.job-grid-card {
    background: #fff;
    border: 1px solid rgba(var(--primary-color-rgb), .08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, border-color .2s ease;
    text-align: center;
}
.job-grid-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    transform: translateY(-3px);
}
.job-grid-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: center;
}
.job-grid-card-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.job-grid-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.job-grid-card-company-info {
    min-width: 0;
}
.job-grid-card-company {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.job-grid-card-company:hover {
    color: var(--primary-color, #3355ff);
}
.job-grid-card-location {
    font-size: 12px;
    color: #94a3b8;
}
.job-grid-card-location i {
    font-size: 10px;
    margin-right: 2px;
}
.job-grid-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}
.job-grid-card-title a {
    color: var(--secondary-color, #0f172a);
    text-decoration: none;
}
.job-grid-card-title a:hover {
    color: var(--primary-color, #3355ff);
}
.job-grid-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    justify-content: center;
}
.job-grid-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}
.job-grid-tag-type {
    background: rgba(var(--primary-color-rgb), .08);
    color: var(--primary-color, #3355ff);
}
.job-grid-tag-salary {
    background: #ecfdf5;
    color: #059669;
}
.job-grid-card-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 auto 14px;
    flex-grow: 1;
}
.job-grid-card-btn {
    align-self: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 18px;
}

@media (max-width: 767.98px) {
    .jobs-grid-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .job-grid-card-btn {
        width: 100%;
        justify-content: center;
        align-items: center;
        line-height: 1;
        padding-top: 12px;
        padding-bottom: 10px;
    }
}


