/* WP Job Portal - Public Styles */
/* Design reference: thedreamerdesigns.com */

/* Variables */
.wpjp-listings-wrapper,
.wpjp-single-job,
.wpjp-candidate-dashboard {
    --wpjp-primary: #f92155;
    --wpjp-primary-hover: #d91a48;
    --wpjp-primary-light: rgba(249, 33, 85, 0.08);
    --wpjp-secondary: #ff5481;
    --wpjp-accent: #066aab;
    --wpjp-success: #16a34a;
    --wpjp-warning: #ca8a04;
    --wpjp-danger: #dc2626;
    --wpjp-dark: #171717;
    --wpjp-dark-alt: #121212;
    --wpjp-text: #171717;
    --wpjp-text-light: #959595;
    --wpjp-text-muted: #c7c7c7;
    --wpjp-border: #e5e7eb;
    --wpjp-bg: #f5f5f5;
    --wpjp-bg-white: #ffffff;
    --wpjp-radius: 8px;
    --wpjp-radius-pill: 99px;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--wpjp-text);
    line-height: 1.6;
}

/* Search Form */
.wpjp-search-form {
    margin-bottom: 30px;
    padding: 24px;
    background: var(--wpjp-dark);
    border-radius: 12px;
}
.wpjp-search-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.wpjp-search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 1px solid #3f3f3f;
    border-radius: var(--wpjp-radius-pill);
    font-size: 15px;
    background: #333333;
    color: #ffffff;
    transition: border-color 0.2s;
}
.wpjp-search-input::placeholder {
    color: var(--wpjp-text-muted);
}
.wpjp-search-input:focus {
    outline: none;
    border-color: var(--wpjp-primary);
}
.wpjp-category-filter {
    padding: 12px 18px;
    border: 1px solid #3f3f3f;
    border-radius: var(--wpjp-radius-pill);
    font-size: 15px;
    min-width: 180px;
    background: #333333;
    color: #ffffff;
}
.wpjp-category-filter:focus {
    outline: none;
    border-color: var(--wpjp-primary);
}
.wpjp-search-btn {
    padding: 12px 32px;
    background: var(--wpjp-primary);
    color: #fff;
    border: none;
    border-radius: var(--wpjp-radius-pill);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.wpjp-search-btn:hover {
    background: var(--wpjp-primary-hover);
    transform: translateY(-1px);
}

/* Job Cards Grid */
.wpjp-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.wpjp-job-card {
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.wpjp-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wpjp-primary), var(--wpjp-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}
.wpjp-job-card:hover {
    box-shadow: 0 8px 30px rgba(249, 33, 85, 0.1);
    transform: translateY(-4px);
}
.wpjp-job-card:hover::before {
    opacity: 1;
}
.wpjp-job-title {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
}
.wpjp-job-title a {
    color: var(--wpjp-text);
    text-decoration: none;
    transition: color 0.2s;
}
.wpjp-job-title a:hover {
    color: var(--wpjp-primary);
}

/* Job Meta */
.wpjp-job-meta,
.wpjp-job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}
.wpjp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--wpjp-text-light);
}
.wpjp-meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--wpjp-primary);
}

/* Category Badges */
.wpjp-job-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.wpjp-category-badge {
    display: inline-block;
    padding: 3px 14px;
    background: var(--wpjp-primary-light);
    color: var(--wpjp-primary);
    border-radius: var(--wpjp-radius-pill);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.wpjp-job-deadline {
    font-size: 13px;
    color: var(--wpjp-text-light);
    margin-bottom: 10px;
}
.wpjp-job-excerpt {
    font-size: 14px;
    color: var(--wpjp-text-light);
    margin-bottom: 18px;
    line-height: 1.7;
}

.wpjp-view-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--wpjp-primary);
    color: #fff !important;
    border-radius: var(--wpjp-radius-pill);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}
.wpjp-view-btn:hover {
    background: var(--wpjp-primary-hover);
    transform: translateY(-1px);
}

/* Pagination */
.wpjp-pagination {
    margin-top: 36px;
    text-align: center;
}
.wpjp-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 3px;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius-pill);
    text-decoration: none;
    color: var(--wpjp-text);
    font-weight: 500;
    transition: all 0.2s;
}
.wpjp-pagination .page-numbers:hover {
    border-color: var(--wpjp-primary);
    color: var(--wpjp-primary);
}
.wpjp-pagination .page-numbers.current {
    background: var(--wpjp-primary);
    color: #fff;
    border-color: var(--wpjp-primary);
}

.wpjp-no-jobs {
    text-align: center;
    padding: 50px;
    color: var(--wpjp-text-light);
    background: var(--wpjp-bg);
    border-radius: 12px;
}

/* Single Job */
.wpjp-single-job {
    max-width: 960px;
}
.wpjp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    color: var(--wpjp-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.wpjp-back-link:hover {
    color: var(--wpjp-primary-hover);
}
.wpjp-job-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--wpjp-bg);
}
.wpjp-single-job .wpjp-job-title {
    font-size: 32px;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
.wpjp-job-description {
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Job Details Section */
.wpjp-custom-fields h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--wpjp-bg);
}

/* Detail Cards Grid */
.wpjp-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.wpjp-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 12px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.wpjp-detail-card:hover {
    border-color: var(--wpjp-primary);
    box-shadow: 0 4px 16px rgba(249, 33, 85, 0.08);
    transform: translateY(-2px);
}
.wpjp-detail-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wpjp-primary-light);
    border-radius: 10px;
}
.wpjp-detail-card-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: var(--wpjp-primary);
}
.wpjp-detail-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.wpjp-detail-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--wpjp-text-light);
}
.wpjp-detail-card-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--wpjp-text);
    word-break: break-word;
}

/* Application Section */
.wpjp-application-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid var(--wpjp-bg);
}
.wpjp-apply-btn {
    display: inline-block;
    padding: 16px 42px;
    background: var(--wpjp-primary);
    color: #fff;
    border: none;
    border-radius: var(--wpjp-radius-pill);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.wpjp-apply-btn:hover {
    background: var(--wpjp-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 33, 85, 0.3);
}

/* Notices */
.wpjp-notice {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}
.wpjp-notice-closed {
    background: #fef2f2;
    color: var(--wpjp-danger);
    border: 1px solid #fecaca;
}
.wpjp-notice-applied {
    background: var(--wpjp-primary-light);
    color: var(--wpjp-primary);
    border: 1px solid rgba(249, 33, 85, 0.2);
}

/* Application Form — Header */
.wpjp-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wpjp-border);
}
.wpjp-form-header-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wpjp-primary);
    border-radius: 12px;
}
.wpjp-form-header-icon .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
    color: #fff;
}
.wpjp-form-header-text h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    padding: 0;
}
.wpjp-form-header-text p {
    margin: 0;
    font-size: 14px;
    color: var(--wpjp-text-light);
}

/* Application Form — Fields Container */
.wpjp-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.wpjp-form-fields .wpjp-field-type-textarea,
.wpjp-form-fields .wpjp-field-type-file,
.wpjp-form-fields .wpjp-field-type-checkbox,
.wpjp-form-fields .wpjp-field-type-radio {
    grid-column: 1 / -1;
}

/* Form Footer */
.wpjp-form-footer {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 2px solid var(--wpjp-border);
}

/* Forms — Field Styles */
.wpjp-form-field {
    margin-bottom: 22px;
}
.wpjp-form-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--wpjp-text);
}
.wpjp-field-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--wpjp-primary);
    flex-shrink: 0;
}
.wpjp-form-field input[type="text"],
.wpjp-form-field input[type="email"],
.wpjp-form-field input[type="number"],
.wpjp-form-field input[type="date"],
.wpjp-form-field input[type="password"],
.wpjp-form-field textarea,
.wpjp-form-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--wpjp-bg-white);
}
.wpjp-form-field input::placeholder,
.wpjp-form-field textarea::placeholder {
    color: var(--wpjp-text-muted);
}
.wpjp-form-field textarea {
    resize: vertical;
}
.wpjp-form-field input:focus,
.wpjp-form-field textarea:focus,
.wpjp-form-field select:focus {
    outline: none;
    border-color: var(--wpjp-primary);
    box-shadow: 0 0 0 3px rgba(249, 33, 85, 0.1);
}
.wpjp-required {
    color: var(--wpjp-primary);
}
.wpjp-field-help {
    font-size: 12px;
    color: var(--wpjp-text-light);
    margin-top: 6px;
}

/* Radio & Checkbox Groups */
.wpjp-radio-group,
.wpjp-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wpjp-radio-label,
.wpjp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    transition: border-color 0.2s, background 0.2s;
}
.wpjp-radio-label:hover,
.wpjp-checkbox-label:hover {
    border-color: var(--wpjp-primary);
    background: var(--wpjp-primary-light);
}

/* File Upload Area */
.wpjp-file-upload-area {
    margin-top: 4px;
}
.wpjp-file-upload-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    border: 2px dashed var(--wpjp-border);
    border-radius: 12px;
    background: var(--wpjp-bg);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.wpjp-file-upload-inner:hover {
    border-color: var(--wpjp-primary);
    background: var(--wpjp-primary-light);
}
.wpjp-file-upload-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--wpjp-primary);
}
.wpjp-file-upload-text {
    font-size: 14px;
    color: var(--wpjp-text-light);
    font-weight: 500;
}
.wpjp-file-upload-inner input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Submit Button */
.wpjp-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--wpjp-primary);
    color: #fff;
    border: none;
    border-radius: var(--wpjp-radius-pill);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.wpjp-submit-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.wpjp-submit-btn:hover {
    background: var(--wpjp-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(249, 33, 85, 0.25);
}
.wpjp-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Messages */
.wpjp-form-message {
    margin-top: 14px;
    padding: 0;
    font-size: 14px;
}
.wpjp-form-message.success {
    color: var(--wpjp-success);
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: var(--wpjp-radius);
}
.wpjp-form-message.error {
    color: var(--wpjp-danger);
    padding: 12px 16px;
    background: #fef2f2;
    border-radius: var(--wpjp-radius);
}

/* Auth Tabs */
.wpjp-auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--wpjp-border);
}
.wpjp-auth-tab {
    padding: 12px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--wpjp-text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}
.wpjp-auth-tab.active {
    color: var(--wpjp-primary);
    border-bottom-color: var(--wpjp-primary);
}
.wpjp-auth-tab:hover {
    color: var(--wpjp-primary);
}

.wpjp-login-notice {
    margin-bottom: 20px;
}

/* Application Form */
.wpjp-application-form {
    margin-top: 24px;
    padding: 32px;
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* ================================================
   CANDIDATE DASHBOARD
   ================================================ */
.wpjp-candidate-dashboard {
    max-width: 960px;
}

/* Header */
.wpjp-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wpjp-bg);
}
.wpjp-dash-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.wpjp-dash-avatar img {
    border-radius: 50%;
    border: 3px solid var(--wpjp-primary);
}
.wpjp-dash-header-info h2 {
    margin: 0 0 2px;
    font-size: 24px;
    font-weight: 700;
}
.wpjp-dash-email {
    font-size: 14px;
    color: var(--wpjp-text-light);
}
.wpjp-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--wpjp-text-light);
    font-size: 14px;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius-pill);
    transition: all 0.2s;
}
.wpjp-logout-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.wpjp-logout-link:hover {
    border-color: var(--wpjp-primary);
    color: var(--wpjp-primary);
}

/* Stats Grid */
.wpjp-dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}
.wpjp-dash-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 12px;
    padding: 18px 16px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.wpjp-dash-stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.wpjp-dash-stat-card > .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--wpjp-primary);
}
.wpjp-stat-active > .dashicons { color: #3b82f6; }
.wpjp-stat-shortlisted > .dashicons { color: var(--wpjp-warning); }
.wpjp-stat-interviewed > .dashicons { color: #7c3aed; }
.wpjp-stat-offered > .dashicons { color: var(--wpjp-success); }
.wpjp-stat-rejected > .dashicons { color: var(--wpjp-danger); }
.wpjp-dash-stat-number {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--wpjp-text);
    line-height: 1;
}
.wpjp-dash-stat-label {
    font-size: 12px;
    color: var(--wpjp-text-light);
    font-weight: 500;
}

/* Section Titles */
.wpjp-dash-section {
    margin-bottom: 32px;
}
.wpjp-dash-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}
.wpjp-dash-section-title .dashicons {
    color: var(--wpjp-primary);
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Upcoming Interviews */
.wpjp-dash-interviews {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wpjp-dash-interview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 12px;
    border-left: 4px solid var(--wpjp-primary);
    transition: box-shadow 0.2s;
}
.wpjp-dash-interview-card:hover {
    box-shadow: 0 4px 16px rgba(249, 33, 85, 0.08);
}
.wpjp-dash-interview-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    padding: 8px;
    background: var(--wpjp-dark);
    border-radius: 10px;
    color: #fff;
}
.wpjp-intv-day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}
.wpjp-intv-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wpjp-dash-interview-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.wpjp-dash-interview-details strong {
    font-size: 15px;
    margin-right: 4px;
}
.wpjp-intv-time {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: var(--wpjp-text-light);
}
.wpjp-intv-time .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
.wpjp-intv-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--wpjp-radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: var(--wpjp-bg);
    color: var(--wpjp-text);
}
.wpjp-intv-type-zoom { background: #e0f2fe; color: #0369a1; }
.wpjp-intv-type-google_meet { background: #dcfce7; color: #15803d; }
.wpjp-intv-type-in-person { background: #fef3c7; color: #92400e; }
.wpjp-intv-type-phone { background: #f3e8ff; color: #6b21a8; }
.wpjp-intv-location {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: var(--wpjp-text-light);
}
.wpjp-intv-location .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
.wpjp-intv-location a {
    color: var(--wpjp-primary);
    text-decoration: none;
    font-weight: 600;
}
.wpjp-intv-location a:hover {
    text-decoration: underline;
}

/* Filter Bar */
.wpjp-dash-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.wpjp-dash-filters {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.wpjp-dash-filter-tab {
    padding: 6px 16px;
    border-radius: var(--wpjp-radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--wpjp-text-light);
    text-decoration: none;
    transition: all 0.2s;
}
.wpjp-dash-filter-tab:hover {
    color: var(--wpjp-primary);
    background: var(--wpjp-primary-light);
}
.wpjp-dash-filter-tab.active {
    background: var(--wpjp-primary);
    color: #fff;
}

/* Application Cards */
.wpjp-dash-app-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wpjp-dash-app-card {
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.2s;
}
.wpjp-dash-app-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(249, 33, 85, 0.2);
}
.wpjp-dash-app-main {
    padding: 20px 24px;
}
.wpjp-dash-app-top {
    margin-bottom: 14px;
}
.wpjp-dash-app-title-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.wpjp-dash-app-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}
.wpjp-dash-app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--wpjp-text-light);
}
.wpjp-dash-app-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wpjp-dash-app-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--wpjp-text-muted);
}

/* Status Timeline */
.wpjp-dash-timeline {
    display: flex;
    align-items: flex-start;
    margin: 16px 0;
    padding: 0 4px;
}
.wpjp-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}
.wpjp-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--wpjp-border);
    border: 3px solid var(--wpjp-bg-white);
    box-shadow: 0 0 0 2px var(--wpjp-border);
    z-index: 1;
    transition: all 0.3s;
}
.wpjp-timeline-step.completed .wpjp-timeline-dot {
    background: var(--wpjp-primary);
    box-shadow: 0 0 0 2px var(--wpjp-primary);
}
.wpjp-timeline-step.current .wpjp-timeline-dot {
    background: var(--wpjp-primary);
    box-shadow: 0 0 0 2px var(--wpjp-primary), 0 0 0 6px rgba(249, 33, 85, 0.15);
}
.wpjp-timeline-line {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--wpjp-border);
    z-index: 0;
}
.wpjp-timeline-line.completed {
    background: var(--wpjp-primary);
}
.wpjp-timeline-label {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--wpjp-text-muted);
    text-align: center;
    white-space: nowrap;
}
.wpjp-timeline-step.completed .wpjp-timeline-label,
.wpjp-timeline-step.current .wpjp-timeline-label {
    color: var(--wpjp-text);
}

/* Bottom Row */
.wpjp-dash-app-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--wpjp-bg);
}
.wpjp-dash-app-dates {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.wpjp-dash-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--wpjp-text-light);
}
.wpjp-dash-date .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
.wpjp-dash-app-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wpjp-dash-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius-pill);
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--wpjp-text-light);
    cursor: pointer;
    transition: all 0.2s;
}
.wpjp-dash-toggle-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}
.wpjp-dash-toggle-btn:hover {
    border-color: var(--wpjp-primary);
    color: var(--wpjp-primary);
}
.wpjp-dash-withdraw-btn {
    padding: 6px 14px;
    border: 1px solid var(--wpjp-danger);
    border-radius: var(--wpjp-radius-pill);
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--wpjp-danger);
    cursor: pointer;
    transition: all 0.2s;
}
.wpjp-dash-withdraw-btn:hover {
    background: var(--wpjp-danger);
    color: #fff;
}
.wpjp-withdrawn-label {
    font-size: 13px;
    color: var(--wpjp-text-muted);
    font-style: italic;
}

/* Expandable Details */
.wpjp-dash-app-details {
    padding: 16px 24px 20px;
    background: var(--wpjp-bg);
    border-top: 1px solid var(--wpjp-border);
}
.wpjp-dash-detail-section {
    margin-bottom: 16px;
}
.wpjp-dash-detail-section:last-child {
    margin-bottom: 0;
}
.wpjp-dash-detail-section h5 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wpjp-text-light);
}
.wpjp-dash-detail-interview {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
    background: var(--wpjp-bg-white);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 14px;
}
.wpjp-dash-detail-interview.past {
    opacity: 0.6;
}
.wpjp-detail-intv-date {
    font-weight: 600;
}
.wpjp-meeting-link {
    color: var(--wpjp-primary);
    font-weight: 600;
    text-decoration: none;
}
.wpjp-meeting-link:hover {
    text-decoration: underline;
}
.wpjp-intv-location-text {
    font-size: 13px;
    color: var(--wpjp-text-light);
}
.wpjp-intv-past-label {
    font-size: 12px;
    color: var(--wpjp-text-muted);
    font-style: italic;
}
.wpjp-dash-files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wpjp-dash-file-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--wpjp-bg-white);
    border-radius: 8px;
    font-size: 13px;
    color: var(--wpjp-text-light);
}
.wpjp-dash-file-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--wpjp-primary);
}

/* Empty State */
.wpjp-no-applications {
    text-align: center;
    padding: 50px;
    color: var(--wpjp-text-light);
    background: var(--wpjp-bg);
    border-radius: 12px;
}
.wpjp-no-applications h3 {
    margin: 12px 0 8px;
    color: var(--wpjp-text);
}
.wpjp-empty-icon {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--wpjp-text-muted);
}

/* Withdrawn status badge */
.wpjp-status-withdrawn {
    background: #f5f5f5;
    color: #737373;
}

/* Status Badges */
.wpjp-status-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--wpjp-radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.wpjp-status-applied { background: var(--wpjp-primary-light); color: var(--wpjp-primary); }
.wpjp-status-under-review { background: #fffbeb; color: #ca8a04; }
.wpjp-status-shortlisted { background: #f0fdf4; color: #16a34a; }
.wpjp-status-interviewed { background: #f5f3ff; color: #7c3aed; }
.wpjp-status-offered { background: #ecfdf5; color: #059669; }
.wpjp-status-rejected { background: #fef2f2; color: #dc2626; }

.wpjp-no-applications {
    text-align: center;
    padding: 50px;
    color: var(--wpjp-text-light);
    background: var(--wpjp-bg);
    border-radius: 12px;
}

/* Error State */
.wpjp-error {
    padding: 16px 20px;
    background: #fef2f2;
    color: var(--wpjp-danger);
    border: 1px solid #fecaca;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 640px) {
    .wpjp-jobs-grid {
        grid-template-columns: 1fr;
    }
    .wpjp-search-form {
        padding: 16px;
    }
    .wpjp-search-row {
        flex-direction: column;
    }
    .wpjp-search-input,
    .wpjp-category-filter {
        min-width: auto;
    }
    .wpjp-job-meta-row {
        flex-direction: column;
        gap: 6px;
    }
    .wpjp-dash-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .wpjp-dash-header-left {
        flex-direction: column;
    }
    .wpjp-dash-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wpjp-dash-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .wpjp-dash-app-title-area {
        flex-direction: column;
        align-items: flex-start;
    }
    .wpjp-dash-timeline {
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .wpjp-timeline-label {
        font-size: 10px;
    }
    .wpjp-dash-app-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .wpjp-dash-interview-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .wpjp-single-job .wpjp-job-title {
        font-size: 24px;
    }
    .wpjp-details-grid {
        grid-template-columns: 1fr;
    }
    .wpjp-form-fields {
        grid-template-columns: 1fr;
    }
    .wpjp-application-form {
        padding: 20px;
    }
    .wpjp-form-header {
        flex-direction: column;
        text-align: center;
    }
    .wpjp-social-share {
        flex-wrap: wrap;
    }
    .wpjp-job-alerts-bar .wpjp-alerts-form {
        flex-wrap: wrap;
    }
}

/* Closing Soon Badge (#5) */
.wpjp-closing-soon-badge {
    display: inline-block;
    background: #ff5481;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    animation: wpjp-pulse 2s infinite;
}
@keyframes wpjp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Location & Type Filters (#7) */
.wpjp-location-filter,
.wpjp-type-filter {
    padding: 12px 16px;
    border-radius: 99px;
    border: 1px solid var(--wpjp-border, #333);
    background: var(--wpjp-dark, #171717);
    color: #fff;
    font-size: 14px;
    min-width: 140px;
}

/* Application Count on Cards (#8) */
.wpjp-app-count {
    color: var(--wpjp-primary);
    font-weight: 600;
}

/* GDPR Consent (#9) */
.wpjp-gdpr-consent {
    grid-column: 1 / -1;
    padding: 16px;
    background: var(--wpjp-primary-light, rgba(249, 33, 85, 0.08));
    border-radius: 10px;
    margin-top: 4px;
}
.wpjp-gdpr-consent label {
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}
.wpjp-gdpr-consent input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--wpjp-primary);
}

/* Job Alerts Bar (#12) */
.wpjp-job-alerts-bar {
    margin: 16px 0 24px;
    padding: 16px 20px;
    background: var(--wpjp-dark, #171717);
    border-radius: 12px;
}
.wpjp-alerts-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wpjp-alerts-icon {
    color: var(--wpjp-primary);
    font-size: 20px;
}
.wpjp-alerts-form input[type="email"] {
    flex: 2;
    min-width: 0;
    padding: 10px 16px;
    border-radius: 99px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 14px;
}
.wpjp-alerts-form select {
    flex: 1;
    min-width: 0;
    max-width: 200px;
    padding: 10px 16px;
    border-radius: 99px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 14px;
}
.wpjp-alerts-btn {
    padding: 10px 24px;
    border-radius: 99px;
    background: var(--wpjp-primary);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.wpjp-alerts-btn:hover {
    background: var(--wpjp-primary-hover);
}
.wpjp-alerts-msg {
    padding: 6px 0 0;
    font-size: 13px;
    text-align: center;
    color: #fff;
}

/* Social Sharing Buttons (#13) */
.wpjp-social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 28px;
    padding: 16px 20px;
    background: var(--wpjp-light-bg, #f5f5f5);
    border-radius: 12px;
}
.wpjp-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--wpjp-text, #171717);
    margin-right: 4px;
}
.wpjp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.wpjp-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #fff;
}
.wpjp-share-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.wpjp-share-linkedin { background: #0077b5; color: #fff; }
.wpjp-share-twitter { background: #1da1f2; color: #fff; }
.wpjp-share-facebook { background: #1877f2; color: #fff; }
.wpjp-share-email { background: var(--wpjp-primary, #f92155); color: #fff; }

/* ================================================
   VIEW SWITCHER
   ================================================ */
.wpjp-view-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 8px 12px;
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 12px;
}
.wpjp-view-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--wpjp-radius-pill);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--wpjp-text-light);
    transition: all 0.2s;
}
.wpjp-view-switch-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.wpjp-view-switch-btn:hover {
    color: var(--wpjp-primary);
    background: var(--wpjp-primary-light);
}
.wpjp-view-switch-btn.active {
    background: var(--wpjp-primary);
    color: #fff;
}
.wpjp-view-switch-label {
    display: none;
}
@media (min-width: 768px) {
    .wpjp-view-switch-label {
        display: inline;
    }
}
.wpjp-results-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--wpjp-text-light);
    font-weight: 500;
}

/* ================================================
   LIST VIEW
   ================================================ */
.wpjp-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wpjp-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 12px;
    transition: box-shadow 0.3s, transform 0.2s, border-color 0.2s;
}
.wpjp-list-item:hover {
    box-shadow: 0 4px 20px rgba(249, 33, 85, 0.08);
    transform: translateX(4px);
    border-color: var(--wpjp-primary);
}
.wpjp-list-main {
    flex: 1;
    min-width: 0;
}
.wpjp-list-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.wpjp-list-item .wpjp-job-title {
    margin: 0;
    font-size: 17px;
}
.wpjp-list-item .wpjp-job-meta {
    margin-bottom: 6px;
}
.wpjp-list-item .wpjp-job-categories {
    margin-bottom: 0;
}
.wpjp-list-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}
.wpjp-type-pill {
    display: inline-block;
    padding: 4px 14px;
    background: var(--wpjp-dark);
    color: #fff;
    border-radius: var(--wpjp-radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
@media (max-width: 640px) {
    .wpjp-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .wpjp-list-action {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
}

/* ================================================
   CARDS VIEW (detailed)
   ================================================ */
.wpjp-jobs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
}
.wpjp-detail-card-item {
    background: var(--wpjp-bg-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.wpjp-detail-card-item:hover {
    box-shadow: 0 12px 40px rgba(249, 33, 85, 0.1);
    transform: translateY(-4px);
}
.wpjp-detail-card-item .wpjp-closing-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
}
.wpjp-detail-card-item {
    position: relative;
}
.wpjp-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 24px 0;
}
.wpjp-card-header .wpjp-job-title {
    margin: 0;
    font-size: 20px;
}
.wpjp-card-body {
    padding: 16px 24px;
    flex: 1;
}
.wpjp-card-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.wpjp-card-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.wpjp-card-info .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--wpjp-primary);
    margin-top: 2px;
}
.wpjp-card-info-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wpjp-text-light);
}
.wpjp-card-info-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--wpjp-text);
}
.wpjp-card-body .wpjp-job-excerpt {
    margin-bottom: 0;
}
.wpjp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--wpjp-border);
    background: var(--wpjp-bg);
}
.wpjp-card-date {
    font-size: 13px;
    color: var(--wpjp-text-light);
}
@media (max-width: 640px) {
    .wpjp-jobs-cards {
        grid-template-columns: 1fr;
    }
    .wpjp-card-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   COMPACT VIEW
   ================================================ */
.wpjp-jobs-compact {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--wpjp-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--wpjp-bg-white);
}
.wpjp-compact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--wpjp-text);
    border-bottom: 1px solid var(--wpjp-border);
    transition: background 0.2s;
}
.wpjp-compact-item:last-child {
    border-bottom: none;
}
.wpjp-compact-item:hover {
    background: var(--wpjp-primary-light);
}
.wpjp-compact-title {
    flex: 1;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wpjp-closing-soon-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--wpjp-primary);
    border-radius: 50%;
    flex-shrink: 0;
    animation: wpjp-pulse 2s infinite;
}
.wpjp-compact-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--wpjp-text-light);
    flex-shrink: 0;
}
.wpjp-compact-type {
    padding: 2px 10px;
    background: var(--wpjp-dark);
    color: #fff;
    border-radius: var(--wpjp-radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.wpjp-compact-location,
.wpjp-compact-salary {
    white-space: nowrap;
}
.wpjp-compact-date {
    font-size: 13px;
    color: var(--wpjp-text-muted);
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}
.wpjp-compact-arrow {
    flex-shrink: 0;
    color: var(--wpjp-text-muted);
    transition: color 0.2s, transform 0.2s;
}
.wpjp-compact-arrow .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.wpjp-compact-item:hover .wpjp-compact-arrow {
    color: var(--wpjp-primary);
    transform: translateX(3px);
}
@media (max-width: 640px) {
    .wpjp-compact-item {
        flex-wrap: wrap;
        gap: 6px;
    }
    .wpjp-compact-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    .wpjp-compact-date {
        display: none;
    }
}

/* ================================================
   TABLE VIEW
   ================================================ */
.wpjp-jobs-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--wpjp-border);
}
.wpjp-jobs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--wpjp-bg-white);
}
.wpjp-jobs-table thead {
    background: var(--wpjp-dark);
}
.wpjp-jobs-table th {
    padding: 14px 18px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--wpjp-text-muted);
    white-space: nowrap;
}
.wpjp-jobs-table td {
    padding: 14px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--wpjp-border);
    vertical-align: middle;
}
.wpjp-jobs-table tbody tr:last-child td {
    border-bottom: none;
}
.wpjp-jobs-table tbody tr:hover td {
    background: var(--wpjp-primary-light);
}
.wpjp-table-title a {
    font-weight: 700;
    color: var(--wpjp-text);
    text-decoration: none;
    transition: color 0.2s;
}
.wpjp-table-title a:hover {
    color: var(--wpjp-primary);
}
.wpjp-table-title .wpjp-closing-soon-badge {
    margin-left: 8px;
    font-size: 10px;
    padding: 2px 8px;
    vertical-align: middle;
}
.wpjp-table-na {
    color: var(--wpjp-text-muted);
}
.wpjp-table-closing-soon {
    border-left: 3px solid var(--wpjp-primary);
}
.wpjp-table-apply-btn {
    display: inline-block;
    padding: 6px 18px;
    background: var(--wpjp-primary);
    color: #fff !important;
    border-radius: var(--wpjp-radius-pill);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.wpjp-table-apply-btn:hover {
    background: var(--wpjp-primary-hover);
    transform: translateY(-1px);
}
@media (max-width: 640px) {
    .wpjp-jobs-table th,
    .wpjp-jobs-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ================================================
   DARK MODE
   ================================================ */
body.wpjp-dark-mode .wpjp-listings-wrapper,
body.wpjp-dark-mode .wpjp-single-job,
body.wpjp-dark-mode .wpjp-candidate-dashboard {
    --wpjp-text: #e5e5e5;
    --wpjp-text-light: #a3a3a3;
    --wpjp-text-muted: #737373;
    --wpjp-border: #333333;
    --wpjp-bg: #1a1a1a;
    --wpjp-bg-white: #242424;
    --wpjp-primary-light: rgba(249, 33, 85, 0.15);
}

/* Job Cards */
body.wpjp-dark-mode .wpjp-job-card {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
body.wpjp-dark-mode .wpjp-job-card:hover {
    box-shadow: 0 8px 30px rgba(249, 33, 85, 0.12);
}

/* Job Meta & Tags */
body.wpjp-dark-mode .wpjp-job-type {
    background: rgba(249, 33, 85, 0.15);
}
body.wpjp-dark-mode .wpjp-job-tag {
    background: #2a2a2a;
    color: #a3a3a3;
}

/* Single Job Page */
body.wpjp-dark-mode .wpjp-single-job {
    color: #e5e5e5;
}
body.wpjp-dark-mode .wpjp-single-job h1,
body.wpjp-dark-mode .wpjp-single-job h2,
body.wpjp-dark-mode .wpjp-single-job h3,
body.wpjp-dark-mode .wpjp-single-job h4,
body.wpjp-dark-mode .wpjp-single-job h5,
body.wpjp-dark-mode .wpjp-single-job h6 {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-single-job .wpjp-job-title,
body.wpjp-dark-mode .wpjp-single-job .wpjp-job-title a {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-job-description {
    color: #d4d4d4;
}
body.wpjp-dark-mode .wpjp-job-description p,
body.wpjp-dark-mode .wpjp-job-description li,
body.wpjp-dark-mode .wpjp-job-description span,
body.wpjp-dark-mode .wpjp-job-description td,
body.wpjp-dark-mode .wpjp-job-description th,
body.wpjp-dark-mode .wpjp-job-description div {
    color: #d4d4d4;
}
body.wpjp-dark-mode .wpjp-job-description h1,
body.wpjp-dark-mode .wpjp-job-description h2,
body.wpjp-dark-mode .wpjp-job-description h3,
body.wpjp-dark-mode .wpjp-job-description h4,
body.wpjp-dark-mode .wpjp-job-description h5,
body.wpjp-dark-mode .wpjp-job-description h6,
body.wpjp-dark-mode .wpjp-job-description strong,
body.wpjp-dark-mode .wpjp-job-description b {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-job-description a {
    color: var(--wpjp-primary);
}
body.wpjp-dark-mode .wpjp-meta-item {
    color: #a3a3a3;
}
body.wpjp-dark-mode .wpjp-meta-item strong {
    color: #d4d4d4;
}
body.wpjp-dark-mode .wpjp-custom-fields h3 {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-detail-card {
    background: #242424;
    border-color: #333333;
}
body.wpjp-dark-mode .wpjp-detail-card-value {
    color: #e5e5e5;
}
body.wpjp-dark-mode .wpjp-sidebar-box {
    background: #242424;
    border-color: #333333;
}

/* Apply Now Button - Dark Mode */
body.wpjp-dark-mode .wpjp-apply-btn {
    background: #FF4778;
    color: #fff;
}
body.wpjp-dark-mode .wpjp-apply-btn:hover {
    background: #f92155;
}

/* Notices - Dark Mode */
body.wpjp-dark-mode .wpjp-notice-closed {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}
body.wpjp-dark-mode .wpjp-notice-applied {
    background: rgba(249, 33, 85, 0.15);
    color: #ff5481;
    border-color: rgba(249, 33, 85, 0.3);
}

/* Social Share - Dark Mode */
body.wpjp-dark-mode .wpjp-social-share {
    background: #1a1a1a;
}
body.wpjp-dark-mode .wpjp-share-label {
    color: #d4d4d4;
}
body.wpjp-dark-mode .wpjp-share-btn {
    background: transparent;
    color: #fff;
}
body.wpjp-dark-mode .wpjp-share-btn:hover {
    background: #FF4778;
    color: #fff;
}

/* Application Form - Dark Mode */
body.wpjp-dark-mode .wpjp-application-form {
    background: #242424;
    border-color: #333333;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
body.wpjp-dark-mode .wpjp-form-header {
    border-bottom-color: #333333;
}
body.wpjp-dark-mode .wpjp-form-header-text h3 {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-form-header-text p {
    color: #a3a3a3;
}
body.wpjp-dark-mode .wpjp-form-footer {
    border-top-color: #333333;
}
body.wpjp-dark-mode .wpjp-form-field label {
    color: #d4d4d4;
}
body.wpjp-dark-mode .wpjp-form-field input[type="text"],
body.wpjp-dark-mode .wpjp-form-field input[type="email"],
body.wpjp-dark-mode .wpjp-form-field input[type="number"],
body.wpjp-dark-mode .wpjp-form-field input[type="date"],
body.wpjp-dark-mode .wpjp-form-field input[type="password"],
body.wpjp-dark-mode .wpjp-form-field textarea,
body.wpjp-dark-mode .wpjp-form-field select {
    background: #1a1a1a;
    border-color: #404040;
    color: #e5e5e5;
}
body.wpjp-dark-mode .wpjp-form-field input::placeholder,
body.wpjp-dark-mode .wpjp-form-field textarea::placeholder {
    color: #666666;
}
body.wpjp-dark-mode .wpjp-form-field input:focus,
body.wpjp-dark-mode .wpjp-form-field textarea:focus,
body.wpjp-dark-mode .wpjp-form-field select:focus {
    border-color: var(--wpjp-primary);
    background: #222222;
}
body.wpjp-dark-mode .wpjp-radio-label,
body.wpjp-dark-mode .wpjp-checkbox-label {
    border-color: #404040;
    color: #d4d4d4;
}
body.wpjp-dark-mode .wpjp-file-upload-inner {
    border-color: #404040;
    background: #1a1a1a;
}
body.wpjp-dark-mode .wpjp-file-upload-text {
    color: #a3a3a3;
}

/* Form Messages - Dark Mode */
body.wpjp-dark-mode .wpjp-form-message.success {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
}
body.wpjp-dark-mode .wpjp-form-message.error {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
}

/* Auth Tabs - Dark Mode */
body.wpjp-dark-mode .wpjp-auth-tabs {
    border-bottom-color: #333333;
}
body.wpjp-dark-mode .wpjp-auth-tab {
    color: #a3a3a3;
}
body.wpjp-dark-mode .wpjp-auth-tab.active {
    color: var(--wpjp-primary);
}
body.wpjp-dark-mode .wpjp-login-notice p {
    color: #d4d4d4;
}

/* GDPR Consent - Dark Mode */
body.wpjp-dark-mode .wpjp-gdpr-consent {
    background: rgba(249, 33, 85, 0.1);
}
body.wpjp-dark-mode .wpjp-gdpr-consent label {
    color: #d4d4d4;
}

/* Error State - Dark Mode */
body.wpjp-dark-mode .wpjp-error {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}

/* Status Badges - Dark Mode */
body.wpjp-dark-mode .wpjp-status-applied {
    background: rgba(249, 33, 85, 0.15);
    color: #ff5481;
}
body.wpjp-dark-mode .wpjp-status-under-review {
    background: rgba(202, 138, 4, 0.15);
    color: #eab308;
}
body.wpjp-dark-mode .wpjp-status-shortlisted {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
}
body.wpjp-dark-mode .wpjp-status-interviewed {
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
}
body.wpjp-dark-mode .wpjp-status-offered {
    background: rgba(5, 150, 105, 0.15);
    color: #34d399;
}
body.wpjp-dark-mode .wpjp-status-rejected {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
}
body.wpjp-dark-mode .wpjp-status-withdrawn {
    background: #2a2a2a;
    color: #737373;
}

/* Interview Type Badges - Dark Mode */
body.wpjp-dark-mode .wpjp-intv-type-zoom {
    background: rgba(3, 105, 161, 0.2);
    color: #38bdf8;
}
body.wpjp-dark-mode .wpjp-intv-type-google_meet {
    background: rgba(21, 128, 61, 0.2);
    color: #4ade80;
}
body.wpjp-dark-mode .wpjp-intv-type-in-person {
    background: rgba(146, 64, 14, 0.2);
    color: #fbbf24;
}
body.wpjp-dark-mode .wpjp-intv-type-phone {
    background: rgba(107, 33, 168, 0.2);
    color: #c084fc;
}

/* Dashboard Header - Dark Mode */
body.wpjp-dark-mode .wpjp-dash-header-info h2 {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-dash-section-title {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-dash-app-title {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-dash-interview-details strong {
    color: #e5e5e5;
}

/* Dashboard Stat Cards - Dark Mode */
body.wpjp-dark-mode .wpjp-dash-stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Dashboard App Card Hover */
body.wpjp-dark-mode .wpjp-dash-app-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Interview Cards */
body.wpjp-dark-mode .wpjp-dash-interview-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Expandable Details */
body.wpjp-dark-mode .wpjp-dash-app-details {
    background: #1a1a1a;
}

/* Detail Interview Items */
body.wpjp-dark-mode .wpjp-dash-detail-interview {
    background: #2a2a2a;
}

/* File Items */
body.wpjp-dark-mode .wpjp-dash-file-item {
    background: #2a2a2a;
}

/* Empty State */
body.wpjp-dark-mode .wpjp-no-applications {
    background: #1a1a1a;
}
body.wpjp-dark-mode .wpjp-no-applications h3 {
    color: #e5e5e5;
}

/* List View */
body.wpjp-dark-mode .wpjp-list-item {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
body.wpjp-dark-mode .wpjp-list-item:hover {
    box-shadow: 0 4px 20px rgba(249, 33, 85, 0.1);
}

/* Compact View */
body.wpjp-dark-mode .wpjp-compact-item {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Table View */
body.wpjp-dark-mode .wpjp-jobs-table {
    background: #242424;
}
body.wpjp-dark-mode .wpjp-jobs-table thead th {
    background: #1a1a1a;
    color: #a3a3a3;
}
body.wpjp-dark-mode .wpjp-jobs-table tbody tr:hover {
    background: #2a2a2a;
}
body.wpjp-dark-mode .wpjp-jobs-table tbody td {
    border-color: #333333;
}

/* View Switcher */
body.wpjp-dark-mode .wpjp-view-switcher {
    background: #242424;
    border-color: #333333;
}

/* Share Buttons */
body.wpjp-dark-mode .wpjp-share-section {
    background: #242424;
    border-color: #333333;
}

/* Links */
body.wpjp-dark-mode .wpjp-job-title a {
    color: #f5f5f5;
}
body.wpjp-dark-mode .wpjp-job-title a:hover {
    color: var(--wpjp-primary);
}

/* Pagination */
body.wpjp-dark-mode .wpjp-pagination a {
    background: #242424;
    border-color: #333333;
    color: #a3a3a3;
}
body.wpjp-dark-mode .wpjp-pagination a:hover {
    border-color: var(--wpjp-primary);
    color: var(--wpjp-primary);
}
body.wpjp-dark-mode .wpjp-pagination .current {
    background: var(--wpjp-primary);
    color: #fff;
}

/* Alert/Success/Error Messages */
body.wpjp-dark-mode .wpjp-alert-success {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
    border-color: rgba(22, 163, 74, 0.3);
}
body.wpjp-dark-mode .wpjp-alert-error {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}

/* Search Form - Dark Mode */
body.wpjp-dark-mode .wpjp-search-form {
    background: #1a1a1a;
}
body.wpjp-dark-mode .wpjp-search-input {
    background: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}
body.wpjp-dark-mode .wpjp-search-input::placeholder {
    color: #666666;
}
body.wpjp-dark-mode .wpjp-search-input:focus {
    border-color: var(--wpjp-primary);
    background: #333333;
}
body.wpjp-dark-mode .wpjp-category-filter {
    background: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}
body.wpjp-dark-mode .wpjp-category-filter:focus {
    border-color: var(--wpjp-primary);
}
body.wpjp-dark-mode .wpjp-location-filter,
body.wpjp-dark-mode .wpjp-type-filter {
    background: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}

/* Job Alerts Bar - Dark Mode */
body.wpjp-dark-mode .wpjp-job-alerts-bar {
    background: #1a1a1a;
}
body.wpjp-dark-mode .wpjp-alerts-form input[type="email"] {
    background: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}
body.wpjp-dark-mode .wpjp-alerts-form select {
    background: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}
body.wpjp-dark-mode .wpjp-alerts-msg {
    color: #d4d4d4;
}
