/* ==================== TUITION SEARCH & LISTING SECTION STYLING ==================== */
.tuition-search-section {
    background-color: #f8fafc;
    padding: 50px 20px 80px;
}

.tuition-search-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Top Results Bar */
.results-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: #ffffff;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.results-count {
    font-size: 14.5px;
    color: #475569;
}

.results-count strong {
    color: #0f172a;
}

.top-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed 0%, #a21caf 100%);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.show-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
}

.show-per-page select {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    background: #ffffff;
    font-size: 13.5px;
    color: #0f172a;
    cursor: pointer;
}

/* Main Grid Layout */
.jobs-layout-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

/* Left Sidebar (Sticky & Independent Scrolling) */
.filter-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.sidebar-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sidebar-header-mobile h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.close-filter-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
}

.filter-title-area {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.filter-main-heading {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.reset-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #db2777;
    text-decoration: none;
}

.reset-link:hover {
    text-decoration: underline;
}

.filter-sub-desc {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 16px;
}

.filter-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

/* Filter Card Box Style */
.filter-card-box {
    border: 1px solid #fbcfe8;
    background: #fffdfd;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.filter-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.filter-box-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #831843;
}

.box-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}

.filter-input-wrap input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
    color: #0f172a;
}

.date-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.date-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
    color: #475569;
    background: #ffffff;
}

/* Custom Radio List */
.custom-radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-item input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-item input[type="radio"]:checked ~ .custom-radio {
    background-color: #7c3aed;
    border-color: #7c3aed;
}

.radio-item input[type="radio"]:checked ~ .custom-radio::after {
    content: '✓';
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.radio-item.active, .radio-item:hover {
    border-color: #c084fc;
    background: #fdf8ff;
}

.radio-label-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
}

.radio-icon {
    margin-left: auto;
    font-size: 14px;
    color: #7c3aed;
    background: #f3e8ff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-select-wrap select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
}

.filter-footer-note {
    background: #fdf8ff;
    border: 1px dashed #f472b6;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.filter-footer-note p {
    font-size: 12px;
    color: #831843;
    font-weight: 500;
}

/* Right Content Area */
.jobs-content-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Job Card Styling */
.job-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.job-location {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-location i {
    color: #1d4ed8;
}

.job-id-badge {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.job-main-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.job-tags-row {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.job-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
}

.home-pill {
    background: #faf5ff;
    color: #7c3aed;
    border: 1px solid #e9d5ff;
}

.online-pill {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.time-pill {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.job-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 24px;
    background: #f8fafc;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.detail-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-label i {
    color: #94a3b8;
}

.detail-val {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.subject-badge {
    display: inline-block;
    background: #22c55e;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.math-badge { background: #0ea5e9; }
.physics-badge { background: #8b5cf6; }

.salary-text {
    color: #2563eb;
    font-size: 16px;
}

.salary-sub {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
}

.posted-date-text {
    font-size: 13px;
    color: #64748b;
}

.view-details-action-btn {
    background: linear-gradient(135deg, #a21caf 0%, #7c3aed 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(162, 28, 175, 0.25);
    transition: all 0.3s ease;
}

.view-details-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(162, 28, 175, 0.35);
}

/* Pagination Style */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    background: #ffffff;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.page-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-btn:hover:not(:disabled) {
    background: #f1f5f9;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.num-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.num-btn.active, .num-btn:hover {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
}

.dots {
    color: #64748b;
    padding: 0 4px;
}



