/* ============================================
   FILTER BAR - MOBILE TOGGLE
   ============================================ */

/* Mobile header wrapper - desktop pe invisible */
.hirezoot-filters-mobile-header {
    display: contents;
}

/* Filter toggle button - desktop pe chhupa rahe */
.hirezoot-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    background: #2eb87a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #2eb87a !important;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    line-height: 1;
    min-height: 50px;
    white-space: nowrap;
}

.hirezoot-filter-toggle:hover {
    background: #2eb87a;
}

/* Filter panel - desktop pe children parent flex mein participate karein */
.hirezoot-filters-panel {
    display: contents;
}

/* ============================================
   HIREZOOT ATS - PUBLIC STYLES
   ============================================ */

/* Basic */
.hirezoot-archive h1,
.hirezoot-archive h2,
.hirezoot-archive h3,
.hirezoot-archive h4,
.hirezoot-single h1,
.hirezoot-single h2,
.hirezoot-single h3,
.hirezoot-single h4 {
    font-family: 'Figtree', sans-serif;
}

/* ---- Base Container ---- */
.hirezoot-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 0;
}

@media (max-width: 767px) {
    .hirezoot-container {
        padding: 1.5rem 0;
    }
}

/* ============================================
   ARCHIVE / JOBS LISTING PAGE
   ============================================ */

.hirezoot-archive h1,
.hirezoot-single h1 {
    font-size: 54px;
    margin: 0 0 1rem;
    color: #0d1b4b;
    font-weight: 700;
    line-height: 65px;
}

/* ---- Filter Bar ---- */
.hirezoot-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    align-items: center;
}

.hirezoot-filter-group input,
.hirezoot-filter-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 16px;
    min-width: 180px;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    height: 50px;
}

.hirezoot-filter-group input:focus,
.hirezoot-filter-group select:focus {
    outline: none;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.hirezoot-filter-search input {
    min-width: 260px;
}

/* ---- 3-Column Job Grid ---- */
.hirezoot-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .hirezoot-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hirezoot-jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Job Card (Small Box) ---- */
.hirezoot-job-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    transition: all 0.25s ease;
    position: relative;
    height: 100%;
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.1);
}

.hirezoot-job-card:hover {
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* Card Header */
.hirezoot-card-header h2 {
    margin: 0 0 1rem;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.hirezoot-card-header h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.hirezoot-card-header h2 a:hover {
    color: #2eb87a;
}

/* Meta Tags */
.hirezoot-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.hirezoot-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
}

.hirezoot-meta-type {
    background: #dbeafe;
    color: #1e40af;
}

.hirezoot-meta-location {
    background: #d1fae5;
    color: #065f46;
}

/* Salary */
.hirezoot-salary {
    font-size: 1rem;
    color: #2eb87a;
    font-weight: 600;
}

/* Excerpt */
.hirezoot-card-excerpt {
    margin: 1rem 0;
}

/* Card Footer */
.hirezoot-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #d1d5db;
}

/* ---- Buttons ---- */
.hirezoot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #2563eb !important;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    line-height: 1;
    min-height: 50px;
}

.hirezoot-btn:hover {
    background: transparent;
    color: #2563eb;
    box-shadow: unset;
}

.hirezoot-btn-sm {
    width: 100%;
}

.hirezoot-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    line-height: 1;
    min-height: 50px;
}

.hirezoot-btn-secondary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    box-shadow: unset;
}

/* ---- No Jobs ---- */
.hirezoot-no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f9fafb;
    border-radius: 12px;
}

.hirezoot-no-jobs p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* ---- Pagination ---- */
.hirezoot-pagination {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}

.hirezoot-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s;
}

.hirezoot-pagination .page-numbers:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.hirezoot-pagination .page-numbers.current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.hirezoot-pagination .page-numbers.dots {
    border: none;
}

/* ============================================
   SINGLE JOB PAGE - 2 COLUMN LAYOUT
   ============================================ */

.hirezoot-single-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .hirezoot-single-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ---- Left Column: Job Details ---- */
.hirezoot-job-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #d1d5db;
}

.hirezoot-company-name {
    font-size: 1rem;
    color: #2eb87a;
    text-transform: uppercase;
    text-decoration: underline;
    letter-spacing: 0.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hirezoot-job-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hirezoot-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    line-height: 1.5;
    background: #0d1b4b;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 600;
}

.hirezoot-meta-pill img {
    margin: 0 !important;
}

.hirezoot-job-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #1a1a1a;
}

.hirezoot-job-content h2,
.hirezoot-job-content h3,
.hirezoot-job-content h4 {
    color: #1a1a1a;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.hirezoot-job-content p {
    margin-bottom: 1rem;
}

.hirezoot-job-content ul,
.hirezoot-job-content ol {
    margin: 0 0 1rem;
    padding-left: 2rem;
}

.hirezoot-job-content li {
    margin-bottom: 0.4rem;
}

.hirezoot-job-content li:last-child {
    margin-bottom: 0;
}

.hirezoot-deadline-box {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    font-size: 0.95rem;
}

/* ---- Right Column: Sticky Apply Form ---- */
.hirezoot-apply-card {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.hirezoot-apply-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.hirezoot-apply-subtitle {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    color: #6b7280;
}

/* ============================================
   APPLY FORM STYLES
   ============================================ */

.hirezoot-apply-form {
    display: grid;
    gap: 0.75rem;
}

.hirezoot-form-row {
    display: grid;
    gap: 0.25rem;
}

.hirezoot-form-row label {
    font-weight: 500;
    font-size: 0.875rem;
}

.hirezoot-form-row input[type="text"],
.hirezoot-form-row input[type="email"],
.hirezoot-form-row input[type="tel"],
.hirezoot-form-row input[type="url"],
.hirezoot-form-row input[type="date"],
.hirezoot-form-row input[type="file"],
.hirezoot-form-row input[type="number"],
.hirezoot-form-row select,
.hirezoot-form-row textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    height: 50px;
    width: 100%;
}

.hirezoot-form-row input:focus,
.hirezoot-form-row select:focus,
.hirezoot-form-row textarea:focus {
    outline: none;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.hirezoot-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
    font-size: 0.875rem;
    color: #1a1a1a;
}

.hirezoot-checkbox input {
    appearance: none;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #2eb87a !important;
    border-radius: 4px !important;
    cursor: pointer;
    position: relative;
}

.hirezoot-checkbox input:focus {
    outline: none;
    border-color: #2eb87a !important;
    box-shadow: unset !important;
}

.hirezoot-checkbox input:checked {
    background-color: #2eb87a !important;
    border-color: #2eb87a !important;
    box-shadow: unset !important;
}

.hirezoot-checkbox input:checked::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hirezoot-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    background: #2eb87a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #2eb87a !important;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    line-height: 1;
    min-height: 50px;
}

.hirezoot-submit-btn:hover {
    background: transparent;
    color: #2eb87a;
}

.hirezoot-form-message {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.hirezoot-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.hirezoot-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Salary Range */
.hirezoot-salary-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hirezoot-salary-range input[type="number"] {
    flex: 1;
    min-width: 0;
}

.hirezoot-salary-separator {
    color: #d1d5db;
    font-weight: 500;
    font-size: 0.875rem;
}

.hirezoot-salary-range select {
    width: auto;
    min-width: 100px;
}

/* Hint text */
.hirezoot-hint {
    color: #d1d5db;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

/* ============================================
   FEATURED JOBS SHORTCODE
   ============================================ */

.hirezoot-featured-jobs {
    margin: 2rem 0;
}

.hirezoot-featured-jobs h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

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

@media (max-width: 767px) {
    .hirezoot-filters {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1.5rem;
        padding: 1rem;
    }

    /* Mobile header row: search + toggle side by side */
    .hirezoot-filters-mobile-header {
        display: flex;
        gap: 0.75rem;
        width: 100%;
        align-items: center;
    }

    .hirezoot-filter-search {
        flex: 1;
        min-width: 0;
    }

    .hirezoot-filter-search input {
        width: 100%;
        min-width: 0;
    }

    /* Toggle button dikhaye mobile pe */
    .hirezoot-filter-toggle {
        display: inline-flex;
    }

    /* Panel collapsible banaye */
    .hirezoot-filters-panel {
        display: none;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #d1d5db;
    }

    .hirezoot-filters-panel.is-open {
        display: flex;
    }

    .hirezoot-filter-group {
        width: 100%;
    }

    .hirezoot-filter-group input,
    .hirezoot-filter-group select {
        width: 100%;
    }
	
	  .hirezoot-archive h1,
    .hirezoot-single h1 {
        font-size: 30px;
        line-height: 36px;
    }
 
    .hirezoot-apply-sticky {
        position: relative;
        top: 0;
    }

    .hirezoot-salary-range {
        flex-direction: column;
        align-items: stretch;
    }

    .hirezoot-salary-separator {
        text-align: center;
    }
}