/*
Theme Name: JobBox Portal
Theme URI: https://jobnewspost.com/
Description: Complete Job Board and Career Portal WordPress Theme with official JobNewsPost.com Orange and Navy branding, live search, filtering, employer & candidate workflows, custom application funnel, and company directory.
Author: Antigravity
Author URI: https://antigravity.google/
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jobbox
Tags: job-board, career, bootstrap5, grid-layout, custom-post-types
*/

/* Import Google Font - Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #FD6D00;
    --primary-color-hover: #E05E00;
    --primary-color-rgb: 253, 109, 0;
    --secondary-color: #001F4E;
    --secondary-color-hover: #012b6b;
    --secondary-color-rgb: 0, 31, 78;
    --border-color-2: #E0E6F7;
    --primary-font: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #4f5e64;
}

a {
    color: #001F4E;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, .hover-orange:hover, .jnp-job-link:hover {
    color: #FD6D00 !important;
}

/* Navy Hero Banner with Orange accents (Matches JobNewsPost logo) */
.banner-hero.hero-3 {
    background-color: #001F4E !important;
    background: #001F4E !important;
    border-radius: 16px;
    padding-bottom: 40px;
}

.color-green, .color-orange {
    color: #FD6D00 !important;
}

.btn-find {
    background-color: #FD6D00 !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 700;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-find:hover {
    background-color: #E05E00 !important;
    color: #fff !important;
}

/* Header Sign In Button */
.btn-signin-green {
    background-color: #FD6D00 !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-signin-green:hover {
    background-color: #E05E00 !important;
    color: #fff !important;
}

/* Active Category Pill Tab in Navy */
.category-item.active {
    background-color: #001F4E !important;
    color: #fff !important;
    border-color: #001F4E !important;
}

.category-item.active img {
    filter: brightness(0) invert(1);
}

/* Hero Category Cards in Hero Banner */
.hero-cat-box {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.hero-cat-box .image-left img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.hero-cat-box h5 {
    font-size: 14px;
    font-weight: 700;
    color: #001F4E;
    margin: 0;
}

.hero-cat-box p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
}

/* Pagination Dots under Hero Categories */
.hero-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    margin: 0 4px;
    cursor: pointer;
}

.hero-dot.active {
    background: #FD6D00;
    width: 18px;
    border-radius: 4px;
}

/* Job Cards Layout - Modern, Flex-based, No overlapping */
.card-grid-2 {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    position: relative;
    transition: all 0.25s ease;
}

.card-grid-2:hover {
    border-color: #FD6D00 !important;
    box-shadow: 0 8px 24px rgba(253, 109, 0, 0.12) !important;
}

.card-grid-2 .card-2-bottom .btn-apply-now {
    display: block;
    width: auto;
    text-align: center;
    background-color: #f8fafc;
    color: #001F4E;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-grid-2:hover .btn-apply-now,
.card-grid-2 .card-2-bottom .btn-apply-now:hover {
    background-color: #FD6D00 !important;
    border-color: #FD6D00 !important;
    color: #fff !important;
}

.card-text-price {
    color: #FD6D00;
    font-weight: 700;
    font-size: 16px;
}

/* Reset broken background image rules and prevent ANY icon overlay */
.card-briefcase, .card-time {
    background: none !important;
    padding: 0 !important;
}

.card-grid-2 i,
.card-grid-2 svg,
.job-tags-row i,
.job-tags-row svg,
.job-badge-tag i,
.job-badge-tag svg,
.badge i,
.badge svg,
.single-job i,
.single-job svg,
.job-header-content i,
.job-header-content svg {
    position: static !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    transform: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    font-size: inherit !important;
    margin-left: 0 !important;
}

.job-tags-row {
    position: static !important;
}

.job-tags-row .job-badge-tag {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Recruiter Company Card (Top Recruiters 5-column grid) */
.recruiter-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.recruiter-card:hover {
    border-color: #FD6D00;
    box-shadow: 0 6px 18px rgba(253, 109, 0, 0.1);
    transform: translateY(-2px);
}

.recruiter-card .logo-wrap {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.recruiter-card .logo-wrap img {
    max-height: 44px;
    max-width: 120px;
    object-fit: contain;
}

.recruiter-card h6 {
    font-size: 14px;
    font-weight: 700;
    color: #001F4E;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.recruiter-card .stars {
    color: #f59e0b;
    font-size: 11px;
    margin-bottom: 8px;
}

.recruiter-card .open-badge {
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #edf2f7;
}

/* Advertisement banner styling */
.ad-slot-strip {
    text-align: center;
    padding: 16px 0;
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* Auth Input Wrapper & Form Elements */
.auth-input-wrapper {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}
.auth-input-wrapper .auth-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 18px !important;
    z-index: 5 !important;
    pointer-events: none !important;
    line-height: 1 !important;
}
.auth-input-wrapper .auth-input {
    width: 100% !important;
    height: 52px !important;
    line-height: 52px !important;
    padding-left: 50px !important;
    padding-right: 48px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    color: #1e293b !important;
}
.auth-input-wrapper .auth-input:focus {
    border-color: #FD6D00 !important;
    box-shadow: 0 0 0 3px rgba(253, 109, 0, 0.15) !important;
    outline: none !important;
}
.auth-input-wrapper .auth-eye-toggle {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 18px !important;
    z-index: 6 !important;
    cursor: pointer !important;
    line-height: 1 !important;
}
.auth-input-wrapper .auth-eye-toggle:hover {
    color: #FD6D00 !important;
}
.login-register input[type="checkbox"],
.login-register input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    line-height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    accent-color: #FD6D00 !important;
    box-shadow: none !important;
}
