input#loan-salary-slider {
    padding: 0px !important;
    min-height: 10px !important
}

body {
    background: #f7f7f8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #374151;
}

/* Wrapper */
.loan-dashboard-wrapper {
    max-width: 1320px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Topbar */
.loan-dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.loan-dashboard-topbar h1,
.loan-dashboard-topbar h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

body .loan-dashboard-topbar p {
    margin: 0;
    color: #6b7280;
    font-size: 13px !important;
    font-weight: 400;
    font-family: 'Inter', sans-serif !important;
}

/* Main Layout */
.loan-dashboard {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* Sidebar */
.loan-dashboard-sidebar {
    width: 290px;
    background: #ffffff;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 30px;
}

.loan-sidebar-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eceff3;
}

.loan-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8dbf42;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.loan-sidebar-user strong {
    display: block;
    font-size: 16px;
    color: #111827;
}

.loan-sidebar-user span {
    font-size: 13px;
    color: #6b7280;
}

.loan-sidebar-group {
    margin-bottom: 24px;
}

.loan-sidebar-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 700;
}

.loan-dashboard-sidebar a {
    display: block;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: #f8fafc;
    border-radius: 14px;
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.loan-dashboard-sidebar a:hover {
    transform: translateY(-1px);
    border-color: #e5e7eb;
}

.loan-dashboard-sidebar a:hover {
    background: #f8fafc;
    color: #8dbf42;
}

.loan-badge-count {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: auto;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.loan-dashboard-sidebar a.active {
    background: #8dbf42 !important;
    color: #fff !important;
}

/* Content */
.loan-dashboard-content {
    flex: 1;
    background: #fff;
    padding: 34px;
    border-radius: 22px;
    border: 1px solid #e5e7eb;
    min-height: 620px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

body .loan-dashboard-content h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.loan-dashboard-content p {
    color: #6b7280;
    font-size: 13px !important;
    margin-top: -3px;
}

/* Buttons */
body .loan-dashboard-wrapper .loan-btn:not(.loan-btn-outline):not(.loan-btn-danger) {
    display: inline-block;
    background: #8dbf42 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

body .loan-dashboard-wrapper .loan-btn:not(.loan-btn-small):not(.loan-btn-outline):not(.loan-btn-danger) {
    padding: 12px 22px;
    font-size: 14px;
}

body .loan-dashboard-wrapper .loan-btn:not(.loan-btn-outline):not(.loan-btn-danger):hover {
    background: #7eac38 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 191, 66, 0.15);
}

.loan-btn-outline {
    background: transparent;
    color: #8dbf42;
    border: 2px solid #8dbf42;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.loan-btn-outline:hover {
    background: #8dbf42;
    color: #fff !important;
    transform: translateY(-1px);
}

.loan-btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.loan-btn-secondary:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.loan-badge-count {
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    position: absolute;
    top: -6px;
    right: -6px;
    border: 2px solid #fff;
    z-index: 10;
}

.loan-view-pdf {
    background: #8dbf42;
    /* Use theme primary green */
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(141, 191, 66, 0.1);
}

.loan-view-pdf:hover {
    background: #7eac38;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(141, 191, 66, 0.2);
}

/* Spinner for buttons */
.loan-btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.loan-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: loan-spin 0.6s linear infinite;
}

@keyframes loan-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Alerts */
.loan-success {
    padding: 14px 18px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    margin-bottom: 24px;
}

.loan-error {
    padding: 14px 18px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 12px;
    margin-bottom: 24px;
}

/* Forms */
.loan-form-group {
    margin-bottom: 18px;
}

.loan-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111827;
    margin-top: 20px;
}

.loan-form-group input,
.loan-form-group textarea,
.loan-form-group select {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border: 1px solid #d7dce2;
    border-radius: 12px;
    background: #ffffff;
    font-size: 15px;
    color: #111827;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    box-shadow: none;
}

.loan-form-group input:focus,
.loan-form-group textarea:focus,
.loan-form-group select:focus {
    outline: none;
    border-color: #8dbf42;
    box-shadow: 0 0 0 4px rgba(141, 191, 66, 0.10);
}

.loan-disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(1);
    cursor: not-allowed;
}

/* Welcome Banner */
.loan-welcome-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.loan-welcome-banner h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.loan-welcome-banner p {
    margin: 0;
    font-size: 16px;
    color: #4b5563;
    max-width: 700px;
}

.loan-welcome-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Cards */
.loan-overview-cards {
    display: grid;
    gap: 18px;
    margin-top: 26px;
    margin-bottom: 30px;
}

.loan-overview-cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.loan-overview-cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.loan-card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #e5e7eb;
}

.loan-card span {
    display: block;
    color: #6b7280;
    margin-bottom: 10px;
    font-size: 14px;
}

.loan-card strong {
    font-size: 20px;
    color: #111827;
    display: block;
}

/* Grid Boxes */
.loan-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 10px;
}

.loan-overview-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
}

.loan-box-header {
    margin-bottom: 18px;
}

.loan-box-header h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.loan-box-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* Quick Actions */
.loan-action-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loan-action-list a {
    display: block;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    transition: 0.2s ease;
}

.loan-action-list a:hover {
    transform: translateY(-1px);
}

/* Recent Jobs */
.loan-recent-jobs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.loan-recent-job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    flex-wrap: wrap;
}

.loan-recent-job-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.loan-recent-job-item span {
    color: #6b7280;
    font-size: 14px;
}

.loan-recent-job-item small {
    color: #374151;
    font-weight: 600;
}

.loan-empty-mini {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    padding: 20px;
    color: #6b7280;
}

/* Summary */
.loan-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.loan-summary-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
}

.loan-summary-item span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
}

.loan-summary-item strong {
    font-size: 20px;
    color: #111827;
}

/* Empty State */
.loan-empty-box {
    margin-top: 20px;
    padding: 28px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
}

.loan-empty-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 24px;
}

.loan-empty-box p {
    margin-bottom: 18px;
}

/* Section Header */
.loan-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
    flex-wrap: wrap;
}

.loan-section-header h2 {
    margin: 0 0 8px;
}

body .loan-section-header p {
    margin: 0;
    font-size: 13px !important;
    color: #6b7280;
    font-weight: 400;
    font-family: 'Inter', sans-serif !important;
}

/* Table */
.loan-table-wrap {
    overflow-x: auto;
}

.loan-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.loan-table th,
.loan-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 14px;
    text-align: left;
    vertical-align: top;
}

body .loan-table th {
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280 !important;
    background: #fafafa !important;
    border-bottom: 2px solid #f3f4f6;
    font-weight: 700;
    font-family: 'Inter', sans-serif !important;
}

body .loan-table td {
    color: #374151 !important;
    font-size: 13px !important;
    padding: 20px 14px;
    font-family: 'Inter', sans-serif !important;
}

body .loan-table td strong {
    font-size: 13px !important;
    color: #111827 !important;
    font-weight: 600;
}

/* Specific column widths to prevent overlap */
.loan-table th:nth-child(3),
.loan-table td:nth-child(3) {
    min-width: 110px;
    padding-right: 25px !important;
    white-space: nowrap;
}

.loan-table th:nth-child(4),
.loan-table td:nth-child(4) {
    min-width: 140px;
}

/* Job Actions */
.loan-job-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.loan-btn-small {
    padding: 9px 16px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.loan-btn-danger {
    background: #dc2626;
    color: #fff;
    border: none;
}

.loan-btn-danger:hover {
    opacity: 0.92;
    color: #fff;
}

/* Auth */
.loan-auth-wrapper {
    max-width: 520px;
    margin: 60px auto;
    padding: 0 20px;
}

.loan-auth-box {
    background: #fff;
    padding: 34px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.loan-auth-box h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 34px;
}

/* Responsive */
@media (max-width: 1100px) {

    .loan-overview-cards-3,
    .loan-overview-cards-4,
    .loan-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .loan-overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .loan-dashboard {
        flex-direction: column;
    }

    .loan-dashboard-sidebar {
        width: 100%;
        position: static;
    }

    .loan-dashboard-topbar h1 {
        font-size: 42px;
    }

    .loan-welcome-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {

    .loan-overview-cards-3,
    .loan-overview-cards-4,
    .loan-summary-grid {
        grid-template-columns: 1fr;
    }

    .loan-dashboard-content {
        padding: 24px;
    }

    .loan-dashboard-topbar h1 {
        font-size: 34px;
    }

    .loan-welcome-banner h2 {
        font-size: 28px;
    }
}

/* =========================
   AUTH PAGE FINAL CLEAN UI
========================= */

.loan-auth-page {
    width: 100%;
    padding: 50px 20px 70px;
    background: #f7f7f7;
}

.loan-auth-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.loan-auth-card {
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    padding: 34px 34px 28px;
}

.loan-auth-panel {
    display: none;
}

.loan-auth-panel.active {
    display: block;
}

.loan-auth-panel h3 {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 24px;
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
}

.loan-auth-form {
    margin-top: 10px;
}

.loan-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.loan-form-group {
    margin-bottom: 18px;
    position: relative;
}

.loan-form-group-parallel {
    display: flex;
    gap: 16px;
    width: 100%;
}

.loan-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
}

.loan-password-wrap {
    position: relative;
}

.loan-password-wrap input {
    padding-right: 78px;
}

.loan-toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.loan-toggle-password:hover {
    color: #111827;
}

body .loan-btn-primary {
    background: #8dbf42 !important;
    color: #ffffff !important;
    border: none !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

body .loan-btn-primary:hover {
    background: #7eac38 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 191, 66, 0.1) !important;
}

.loan-btn-full {
    width: 100%;
    margin-top: 10px;
}

.loan-auth-footer-text {
    margin-top: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}

.loan-auth-footer-text a {
    color: #8dbf42;
    font-weight: 700;
    text-decoration: none;
}

.loan-auth-footer-text a:hover {
    text-decoration: underline;
}

.loan-auth-note {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
    line-height: 1.7;
}

.loan-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.loan-field-error {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #dc2626;
    line-height: 1.4;
    min-height: 18px;
}

.loan-form-group.has-error input,
.loan-form-group.has-error textarea,
.loan-form-group.has-error select {
    border-color: #ef4444;
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.06);
}

.loan-captcha-wrap {
    overflow: hidden;
    margin-top: 8px;
}

.loan-captcha-wrap .g-recaptcha {
    transform-origin: left top;
}

.page-template-default .entry-title,
.page-template-default .fusion-page-title-bar,
.page-template-default .page-title,
.page .entry-title {
    display: none;
}

@media (max-width: 767px) {
    .loan-auth-page {
        padding: 30px 14px 50px;
    }

    .loan-auth-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .loan-auth-panel h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .loan-auth-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .loan-captcha-wrap .g-recaptcha {
        transform: scale(0.92);
    }
}

/* Parallel Fields Row */
.loan-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.loan-form-row .loan-form-group {
    flex: 1;
    min-width: 200px;
}

/* Custom Salary Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    /* Thicker line for better visibility */
    background: #e5e7eb;
    border-radius: 12px;
    outline: none;
    margin: 30px 0;
    /* More space around the slider */
    cursor: pointer;
    display: block;
    position: relative;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    /* Slightly larger thumb */
    height: 28px;
    background: #8dbf42;
    border-radius: 50%;
    border: 5px solid #fff;
    /* Thicker white ring as in the reference */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: -9px;
    /* Centered perfectly on the 10px track */
    position: relative;
    z-index: 2;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(141, 191, 66, 0.1);
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    border-radius: 10px;
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #8dbf42;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #e5e7eb;
    border-radius: 10px;
}

#salary-value {
    font-weight: 700;
    color: #8dbf42;
    margin-left: 8px;
    font-size: 16px;
}

/* Ensure datetime-local looks consistent */
input[type="datetime-local"] {
    font-family: inherit;
    color: #111827;
}

/* =========================
   ADDITIONAL DASHBOARD UI
========================= */

/* Filtration Grid */
.loan-filter-grid {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.loan-filter-form {
    display: flex;
    gap: 30px !important;
    align-items: flex-end;
    flex-wrap: wrap;
}

.loan-filter-item {
    flex: 1 1 200px !important;
    min-width: 180px !important;
}

body .loan-filter-item label {
    display: block;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 8px;
    text-transform: capitalize;
    font-family: 'Inter', sans-serif !important;
}

.loan-filter-item input,
.loan-filter-item select {
    width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 7px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    font-size: 14px !important;
}

.loan-filter-actions {
    display: flex;
    gap: 10px;
}

/* Status Badges */
.loan-status-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

.loan-status-published {
    background: #ecfdf5 !important;
    color: #10b981 !important;
}

.loan-status-draft {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
}

/* Slider is now full width */
.loan-form-group-slider {
    margin-bottom: 25px;
}

/* Company Logo Preview */
.loan-logo-upload-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.loan-logo-preview-wrap {
    width: 120px;
    height: 120px;
    border: 2px dashed #e5e7eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    overflow: hidden;
}

.loan-logo-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.loan-logo-upload-group small {
    display: block;
    margin-top: -6px;
    font-size: 11px !important;
    color: #6b7280 !important;
    line-height: 1.4;
    font-weight: 500;
}

/* =========================
   JOB BOARD FILTER BAR
========================= */
.loanofficer-job-board__filterBar {
    background: #fff;
    padding: 28px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #f1f5f9;
    margin-bottom: 40px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.5fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.filter-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.filter-actions-row__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-dash-btn {
    background: #fff !important;
    color: #1e293b !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 52px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    gap: 8px;
}

.filter-dash-btn:hover {
    background: #f8fafc !important;
    border-color: #8dbf42 !important;
    color: #8dbf42 !important;
}

@media (max-width: 1100px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

.filter-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-item__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    padding-left: 2px;
}

.filter-item__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 14px;
    height: 52px;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
    /* Prevent inner input borders from showing */
}

.filter-item__input-wrap:focus-within {
    border-color: #8dbf42;
    box-shadow: 0 0 0 4px rgba(141, 191, 66, 0.08);
    background: #fff;
}

.filter-item__input-wrap svg {
    width: 17px;
    height: 17px;
    color: #94a3b8;
    flex-shrink: 0;
    margin-right: 10px;
}

/* Strong specificity to override theme input styles */
.loanofficer-job-board__filterBar .filter-item input[type="text"],
.loanofficer-job-board__filterBar .filter-item input[type="search"],
.loanofficer-job-board__filterBar .filter-item input {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    width: 100% !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    min-height: unset !important;
    color: #1e293b !important;
    -webkit-box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.loanofficer-job-board__filterBar .filter-item input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* Strong specificity to override theme select styles & fix truncation */
.loanofficer-job-board__filterBar .filter-item select {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    width: 100% !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    min-height: unset !important;
    color: #1e293b !important;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    /* Fix truncation — let text flow naturally */
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.filter-select-arrow {
    pointer-events: none;
    flex-shrink: 0;
    margin-left: 6px;
    color: #94a3b8;
}

.filter-find-btn {
    background: #8dbf42 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    height: 52px !important;
    padding: 0 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-find-btn:hover {
    background: #7eac38 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(141, 191, 66, 0.25) !important;
}

.filter-find-btn svg {
    width: 16px;
    height: 16px;
}

.filter-reset-btn {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 52px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

.filter-reset-btn:hover {
    background: #e2e8f0 !important;
    color: #334155 !important;
}

.filter-active-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8dbf42;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    width: 18px;
    height: 18px;
    margin-left: 6px;
}


.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.job-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    border-color: #8BC34A;
    box-shadow: 0 10px 30px rgba(139, 195, 74, 0.1);
    transform: translateY(-5px);
}

.job-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #8BC34A;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.job-type,
.work-mode {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.job-type {
    background: rgba(139, 195, 74, 0.1);
    color: #8BC34A;
}

.work-mode {
    background: #f1f5f9;
    color: #64748b;
}

.job-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1e293b;
}

.job-card__company {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 auto 0;
}

.job-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.job-card__footer .location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.job-card__footer .location svg {
    width: 16px;
    height: 16px;
}

.job-card__footer .salary {
    font-weight: 700;
    color: #1e293b;
    font-size: 15px;
}

.loanofficer-pagination {
    margin-top: 40px;
    text-align: center;
}

.loanofficer-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
}

.loanofficer-pagination .current {
    background: #8BC34A;
    border-color: #8BC34A;
    color: #fff;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
}

.no-results svg {
    width: 48px;
    height: 48px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.no-results p {
    color: #64748b;
    margin-bottom: 24px;
}

/* Featured Listing Styling */
.job-card--featured {
    border: 1px solid #8BC34A !important;
    background: linear-gradient(to bottom right, #fff, #f8fff0) !important;
    position: relative;
    overflow: hidden;
}

.job-card--featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #8BC34A;
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #8BC34A;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px 4px 10px;
    border-radius: 0 0 0 12px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.05em;
    box-shadow: -2px 2px 8px rgba(139, 195, 74, 0.2);
    z-index: 10;
}

.featured-badge svg {
    margin-right: 2px;
}

.job-card--featured:hover {
    box-shadow: 0 12px 40px rgba(139, 195, 74, 0.15) !important;
    border-color: #8BC34A !important;
}
/* =========================
   EXTERNAL JOB FEED
========================= */

.loanofficer-external-feed {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed #e2e8f0;
}

.external-feed-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.external-feed-header__title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.02em;
}

.external-feed-header__subtitle {
    color: #64748b !important;
    font-size: 16px !important;
    margin: 0 !important;
}

.job-card--external {
    border-color: #f1f5f9 !important;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.job-card--external:hover {
    border-color: #6366f1 !important;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.12) !important;
    transform: translateY(-4px);
}

.external-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #4338ca, #3730a3); /* Deeper Indigo */
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 0 0 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 10;
    box-shadow: -2px 2px 10px rgba(55, 48, 163, 0.25);
}

.external-badge svg {
    width: 12px !important;
    height: 12px !important;
}

.job-card--external .source-tag {
    font-size: 13px;
    color: #4f46e5; /* Professional Blue/Indigo */
    font-weight: 700;
    transition: color 0.2s ease;
}

.job-card--external:hover .source-tag {
    color: #8dbf42; /* Changes to theme green on hover */
}

/* =========================
   PAGINATION
========================= */

.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    border-color: #8dbf42;
    color: #8dbf42;
    background: #f8fff0;
}

.pagination .page-numbers.current {
    background: #8dbf42;
    border-color: #8dbf42;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(141, 191, 66, 0.3);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-weight: 700;
}

@media (max-width: 768px) {
    .loanofficer-external-feed {
        margin-top: 40px;
    }
    .external-feed-header__title {
        font-size: 24px !important;
    }
}
