@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════
   CiroTechs Job Portal — Design Tokens
   Brand: Orange #E85D04 · Charcoal #1C2028
   ═══════════════════════════════════════════ */
:root {
    /* Brand Palette */
    --wpjp-primary:        #E85D04;
    --wpjp-primary-light:  #FF6B12;
    --wpjp-primary-hover:  #C94D00;
    --wpjp-primary-muted:  rgba(232, 93, 4, 0.10);
    --wpjp-primary-border: rgba(232, 93, 4, 0.25);

    /* Neutrals */
    --wpjp-dark:    #1C2028;
    --wpjp-charcoal:#2C333E;
    --wpjp-gray:    #64748b;
    --wpjp-light:   #f8fafc;
    --wpjp-white:   #ffffff;
    --wpjp-border:  #e2e8f0;
    --wpjp-bg:      #f4f6f9;

    /* Semantic */
    --wpjp-success: #059669;
    --wpjp-danger:  #dc2626;
    --wpjp-warning: #d97706;
    --wpjp-info:    #0284c7;

    /* Layout */
    --wpjp-radius:    10px;
    --wpjp-radius-lg: 16px;
    --wpjp-shadow:    0 1px 4px rgba(0,0,0,.08);
    --wpjp-shadow-md: 0 4px 16px rgba(0,0,0,.10);
    --wpjp-transition: all 0.2s ease;

    /* Typography */
    --wpjp-font-display: 'Rajdhani', sans-serif;
    --wpjp-font-body:    'Inter', sans-serif;
}

.wpjp-dashboard,
.wpjp-jobs-page,
.wpjp-employees-page,
.wpjp-single-job,
.wpjp-single-employee,
.wpjp-role-selector {
    font-family: var(--wpjp-font-body);
    color: var(--wpjp-dark);
    line-height: 1.6
}

.wpjp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s
}

.wpjp-btn-primary {
    background: var(--wpjp-primary) !important;
    color: #fff !important
}

.wpjp-btn-primary:hover {
    background: var(--wpjp-primary-hover) !important;
    color: #fff !important
}

.wpjp-btn-outline {
    background: transparent !important;
    border: 2px solid var(--wpjp-primary) !important;
    color: var(--wpjp-primary) !important
}

.wpjp-btn-outline:hover {
    background: var(--wpjp-primary) !important;
    color: #fff !important
}

.wpjp-btn-danger {
    background: var(--wpjp-danger);
    color: #fff
}

.wpjp-btn-sm {
    padding: 6px 14px;
    font-size: 13px
}

.wpjp-btn-lg {
    padding: 14px 28px;
    font-size: 16px
}

.wpjp-btn-block {
    display: block;
    width: 100%;
    text-align: center
}

.wpjp-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #fff7ed;
    color: var(--wpjp-primary);
    margin: 2px
}

.wpjp-tag-type {
    background: #ecfdf5;
    color: var(--wpjp-success)
}

.wpjp-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600
}

.wpjp-badge-pending {
    background: #fef3c7;
    color: #92400e
}

.wpjp-badge-publish,
.wpjp-badge-hired {
    background: #d1fae5;
    color: #065f46
}

.wpjp-badge-rejected {
    background: #fee2e2;
    color: #991b1b
}

.wpjp-badge-reviewed {
    background: #dbeafe;
    color: #1e40af
}

.wpjp-badge-shortlisted {
    background: #ede9fe;
    color: #5b21b6
}

.wpjp-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px
}

.wpjp-notice-success {
    background: #d1fae5;
    color: #065f46
}

.wpjp-notice-error {
    background: #fee2e2;
    color: #991b1b
}

.wpjp-notice-info {
    background: #dbeafe;
    color: #1e40af
}

.wpjp-dashboard {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    min-height: 600px
}

.wpjp-dashboard-sidebar {
    background: #fff;
    border-radius: var(--wpjp-radius);
    box-shadow: var(--wpjp-shadow);
    padding: 24px
}

.wpjp-dashboard-content {
    background: #fff;
    border-radius: var(--wpjp-radius);
    box-shadow: var(--wpjp-shadow);
    padding: 30px
}

.wpjp-user-card {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--wpjp-border);
    margin-bottom: 16px
}

.wpjp-user-card img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover
}

.wpjp-user-card h3 {
    margin: 10px 0 4px;
    font-size: 16px
}

.wpjp-role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    background: linear-gradient(135deg, var(--wpjp-primary), #fb923c);
    color: #fff;
    font-weight: 600
}

.wpjp-dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.wpjp-dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--wpjp-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s
}

.wpjp-dashboard-nav a:hover {
    background: var(--wpjp-light);
    color: var(--wpjp-dark)
}

.wpjp-dashboard-nav a.active {
    background: #fff7ed;
    color: var(--wpjp-primary);
    font-weight: 600
}

.wpjp-notif-badge {
    background: var(--wpjp-danger);
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto
}

.wpjp-role-selector {
    text-align: center;
    padding: 20px 10px
}

.wpjp-role-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 10px auto
}

.wpjp-role-card {
    background: #fff;
    border: 2px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 20px 24px;
    text-align: center;
    transition: all .3s;
    cursor: pointer
}

.wpjp-role-card:hover {
    border-color: var(--wpjp-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    transform: translateY(-4px)
}

.wpjp-role-icon {
    font-size: 36px;
    margin-bottom: 8px
}

.wpjp-role-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 12px 0
}

.wpjp-role-card li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--wpjp-gray)
}

.wpjp-overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin: 20px 0
}

.wpjp-overview-card {
    background: var(--wpjp-light);
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 20px;
    text-align: center
}

.wpjp-overview-icon {
    font-size: 28px
}

.wpjp-overview-num {
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0
}

.wpjp-overview-label {
    font-size: 13px;
    color: var(--wpjp-gray)
}

.wpjp-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px
}

.wpjp-form {
    max-width: 100%;
}

.wpjp-form-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--wpjp-border)
}

.wpjp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px
}

.wpjp-form-group {
    display: flex;
    flex-direction: column
}

.wpjp-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wpjp-gray);
    margin-bottom: 6px
}

.wpjp-form-group input,
.wpjp-form-group select,
.wpjp-form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s
}

.wpjp-form-group input:focus,
.wpjp-form-group select:focus,
.wpjp-form-group textarea:focus {
    outline: none;
    border-color: var(--wpjp-primary);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, .1)
}

.wpjp-form-full {
    grid-column: 1/-1
}

.wpjp-form-actions {
    margin-top: 20px
}

.wpjp-form-message {
    margin-top: 16px
}

.wpjp-search-form {
    margin-bottom: 24px
}

.wpjp-search-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.wpjp-search-row input,
.wpjp-search-row select {
    padding: 10px 14px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    font-size: 14px;
    flex: 1;
    min-width: 150px
}

.wpjp-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    margin-bottom: 12px;
    transition: all .2s;
    background: #fff
}

.wpjp-job-card:hover {
    border-color: var(--wpjp-primary);
    box-shadow: var(--wpjp-shadow)
}

.wpjp-job-card h3 {
    font-size: 16px;
    margin: 0 0 6px
}

.wpjp-job-card h3 a {
    color: var(--wpjp-dark);
    text-decoration: none
}

.wpjp-job-card h3 a:hover {
    color: var(--wpjp-primary)
}

.wpjp-job-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--wpjp-gray);
    margin-bottom: 8px
}

.wpjp-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px
}

.wpjp-job-listing-card {
    background: #fff;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 20px;
    transition: all .3s
}

.wpjp-job-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    border-color: var(--wpjp-primary)
}

.wpjp-jlc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px
}

.wpjp-jlc-header h3 {
    margin: 0;
    font-size: 16px
}

.wpjp-jlc-header h3 a {
    color: var(--wpjp-dark);
    text-decoration: none
}

.wpjp-jlc-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--wpjp-gray);
    margin-bottom: 10px
}

.wpjp-jlc-excerpt {
    font-size: 13px;
    color: var(--wpjp-gray);
    margin-bottom: 12px
}

.wpjp-jlc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.wpjp-jlc-date {
    font-size: 12px;
    color: var(--wpjp-gray)
}

.wpjp-page-header {
    text-align: center;
    margin-bottom: 36px;
    padding: 32px 20px 0;
}

.wpjp-page-header h1 {
    font-family: var(--wpjp-font-display);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--wpjp-primary), #FF8C40);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.wpjp-page-header p {
    font-size: 16px;
    color: var(--wpjp-gray);
    max-width: 500px;
    margin: 0 auto;
}

.wpjp-employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px
}

.wpjp-employee-card {
    background: #fff;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 24px;
    text-align: center;
    transition: all .3s
}

.wpjp-employee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1)
}

.wpjp-emp-photo {
    margin-bottom: 12px
}

.wpjp-emp-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--wpjp-border)
}

.wpjp-employee-card h3,
.wpjp-employee-card h4 {
    font-size: 16px;
    margin: 0 0 4px
}

.wpjp-emp-headline {
    font-size: 13px;
    color: var(--wpjp-primary);
    font-weight: 500;
    margin: 0 0 6px
}

.wpjp-single-job {
    max-width: 800px
}

.wpjp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--wpjp-primary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px
}

.wpjp-sj-header h1 {
    font-size: 28px;
    margin: 0 0 8px
}

.wpjp-sj-company {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--wpjp-gray);
    margin-bottom: 12px
}

.wpjp-sj-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 20px;
    background: var(--wpjp-light);
    border-radius: var(--wpjp-radius);
    margin-bottom: 24px
}

.wpjp-info-label {
    font-size: 12px;
    color: var(--wpjp-gray);
    text-transform: uppercase;
    font-weight: 600
}

.wpjp-info-value {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px
}

.wpjp-sj-apply {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--wpjp-border)
}

.wpjp-resume-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-radius: var(--wpjp-radius);
    margin-bottom: 24px;
    flex-wrap: wrap
}

.wpjp-resume-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--wpjp-shadow)
}

.wpjp-resume-title {
    flex: 1
}

.wpjp-resume-title h1 {
    font-size: 26px;
    margin: 0 0 4px
}

.wpjp-resume-headline {
    font-size: 16px;
    color: var(--wpjp-primary);
    margin: 0 0 8px;
    font-weight: 500
}

.wpjp-resume-body {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px
}

.wpjp-resume-section {
    margin-bottom: 24px
}

.wpjp-resume-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--wpjp-border)
}

.wpjp-resume-sidebar {
    background: transparent;
    border-radius: 0;
    padding: 0
}

.wpjp-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.wpjp-dynamic-attr-group {
    margin-bottom: 18px
}

.wpjp-dynamic-attr-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--wpjp-dark);
    margin-bottom: 8px
}

.wpjp-attr-checkbox-item {
    padding: 8px 12px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    background: #fff;
    transition: all .2s
}

.wpjp-attr-checkbox-item:hover {
    border-color: var(--wpjp-primary);
    background: #fff7ed
}

.wpjp-attr-checkbox-item.wpjp-attr-checked {
    border-color: var(--wpjp-primary);
    background: #fff7ed;
    color: var(--wpjp-primary)
}

.wpjp-attr-checkbox-item input[type="checkbox"] {
    accent-color: var(--wpjp-primary)
}

.wpjp-resume-sidebar .wpjp-resume-section {
    background: #fff;
    border: 1px solid var(--wpjp-border);
    padding: 18px;
    border-radius: var(--wpjp-radius);
    margin-bottom: 20px;
    box-shadow: var(--wpjp-shadow)
}

.wpjp-resume-sidebar .wpjp-resume-section:last-child {
    margin-bottom: 0
}

.wpjp-resume-sidebar .wpjp-resume-section h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--wpjp-border) !important;
    color: var(--wpjp-dark) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    text-transform: none !important;
    letter-spacing: normal !important
}

.wpjp-resume-sidebar .wpjp-skills-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important
}

.wpjp-resume-sidebar .wpjp-tag {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.2 !important
}

.wpjp-resume-sidebar table {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    border-collapse: collapse !important
}

.wpjp-resume-sidebar tr,
.wpjp-resume-sidebar td {
    border: none !important;
    background: transparent !important;
    padding: 6px 0 !important;
    line-height: 1.4 !important
}

.wpjp-resume-sidebar ul {
    margin: 6px 0 0 0 !important;
    padding-left: 18px !important
}

.wpjp-resume-sidebar li {
    font-size: 13px !important;
    margin-bottom: 4px !important;
    color: var(--wpjp-dark) !important;
    list-style-type: disc !important
}

.wpjp-contact-locked {
    text-align: center;
    padding: 20px;
    background: #fef2f2;
    border-radius: 8px
}

.wpjp-locked-icon {
    font-size: 36px;
    margin-bottom: 8px
}

.wpjp-my-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    margin-bottom: 10px
}

.wpjp-mj-main h4 {
    margin: 0 0 6px
}

.wpjp-mj-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--wpjp-gray);
    align-items: center
}

.wpjp-mj-actions {
    display: flex;
    gap: 8px
}

.wpjp-application-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    margin-bottom: 10px
}

.wpjp-app-main {
    display: flex;
    align-items: center;
    gap: 12px
}

.wpjp-app-main h4 {
    margin: 0
}

.wpjp-app-main h4 a {
    color: var(--wpjp-dark);
    text-decoration: none
}

.wpjp-applicant-card {
    padding: 16px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    margin-bottom: 12px
}

.wpjp-applicant-info {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px
}

.wpjp-applicant-info img {
    border-radius: 50%;
    width: 50px;
    height: 50px
}

.wpjp-applicant-info h4 {
    margin: 0
}

.wpjp-applicant-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px
}

.wpjp-applicant-actions select {
    padding: 6px 10px;
    border: 1px solid var(--wpjp-border);
    border-radius: 6px
}


.wpjp-plan-details {
    display: flex;
    gap: 20px;
    font-size: 14px;
    margin-top: 8px
}

.wpjp-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px
}

.wpjp-plan-card {
    background: #fff;
    border: 2px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 24px;
    text-align: center;
    transition: all .3s
}

.wpjp-plan-card:hover {
    border-color: var(--wpjp-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    transform: translateY(-4px)
}

.wpjp-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--wpjp-primary)
}

.wpjp-price-period {
    font-size: 13px;
    color: var(--wpjp-gray)
}

.wpjp-plan-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 12px 0
}

.wpjp-plan-features li {
    padding: 4px 0;
    font-size: 14px
}

.wpjp-notification-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    margin-bottom: 10px
}

.wpjp-notification-item.wpjp-unread {
    background: #fff7ed;
    border-color: var(--wpjp-primary)
}

.wpjp-notif-icon {
    font-size: 24px
}

.wpjp-notif-content {
    flex: 1
}

.wpjp-notif-content h4 {
    margin: 0 0 4px;
    font-size: 14px
}

.wpjp-notif-content p {
    margin: 0;
    font-size: 13px;
    color: var(--wpjp-gray)
}

.wpjp-notif-time {
    font-size: 12px;
    color: var(--wpjp-gray)
}

.wpjp-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--wpjp-gray)
}

.wpjp-empty-icon {
    font-size: 48px;
    margin-bottom: 12px
}

.wpjp-login-required {
    text-align: center;
    padding: 60px 20px
}

.wpjp-login-card {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1)
}

.wpjp-pagination {
    text-align: center;
    margin-top: 30px
}

.wpjp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 3px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--wpjp-border);
    text-decoration: none
}

.wpjp-pagination .page-numbers.current {
    background: var(--wpjp-primary);
    color: #fff
}

/* ═══ Role Selector Enhanced ═══ */
.wpjp-role-selector-inner {
    max-width: 820px;
    margin: 0 auto
}

.wpjp-role-header {
    margin-bottom: 12px
}

.wpjp-role-header-icon {
    font-size: 40px;
    margin-bottom: 8px
}

.wpjp-role-header h2 {
    font-size: 28px;
    margin: 0 0 8px;
    background: linear-gradient(135deg, var(--wpjp-primary), #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.wpjp-role-header p {
    font-size: 15px;
    color: var(--wpjp-gray);
    max-width: 500px;
    margin: 0 auto
}

.wpjp-role-card-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: linear-gradient(135deg, var(--wpjp-primary), #fb923c);
    color: #fff;
    margin-bottom: 12px
}

.wpjp-role-divider {
    display: flex;
    align-items: center;
    justify-content: center
}

.wpjp-role-divider span {
    background: var(--wpjp-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--wpjp-gray);
    font-size: 13px;
    border: 2px solid var(--wpjp-border)
}

.wpjp-role-note {
    font-size: 13px;
    color: var(--wpjp-gray);
    margin-top: 24px
}

.wpjp-role-cards {
    grid-template-columns: 1fr auto 1fr;
    max-width: 760px;
    gap: 16px;
}

/* ═══ My Jobs Hero ═══ */
.wpjp-myjobs-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--wpjp-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-radius: var(--wpjp-radius);
    margin-bottom: 20px
}

.wpjp-myjobs-hero-emp {
    border-top: 4px solid var(--wpjp-primary);
}

.wpjp-myjobs-hero-content h2 {
    margin: 0 0 4px;
    font-size: 22px
}

.wpjp-myjobs-hero-content p {
    margin: 0;
    font-size: 14px;
    color: var(--wpjp-gray)
}

.wpjp-myjobs-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

/* ═══ Resume Status Card ═══ */
.wpjp-resume-status-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px
}

.wpjp-rsc-complete {
    background: #ecfdf5;
    border: 1px solid #a7f3d0
}

.wpjp-rsc-incomplete {
    background: #fef3c7;
    border: 1px solid #fde68a
}

.wpjp-rsc-icon {
    font-size: 24px
}

.wpjp-rsc-info {
    flex: 1
}

.wpjp-rsc-text-ok {
    color: #065f46;
    font-weight: 600
}

.wpjp-rsc-text-warn {
    color: #92400e;
    font-weight: 600
}

.wpjp-rsc-link {
    color: var(--wpjp-primary);
    text-decoration: none;
    font-weight: 500
}

.wpjp-rsc-link:hover {
    text-decoration: underline
}

/* ═══ Section Headers ═══ */
.wpjp-section {
    margin-top: 24px
}

.wpjp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px
}

.wpjp-section-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px
}

.wpjp-section-header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--wpjp-gray)
}

.wpjp-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    background: var(--wpjp-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

/* ═══ Applied Jobs Cards (Seeker) ═══ */
.wpjp-applied-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid var(--wpjp-border);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all .2s;
    background: #fff
}

.wpjp-applied-job-card:hover {
    border-color: var(--wpjp-primary);
    box-shadow: 0 4px 12px rgba(245, 130, 32, .08)
}

.wpjp-ajc-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0
}

.wpjp-ajc-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0
}

.wpjp-dot-pending {
    background: #f59e0b
}

.wpjp-dot-reviewed {
    background: #3b82f6
}

.wpjp-dot-shortlisted {
    background: #8b5cf6
}

.wpjp-dot-hired {
    background: #10b981
}

.wpjp-dot-rejected {
    background: #ef4444
}

.wpjp-ajc-info h4 {
    margin: 0 0 2px;
    font-size: 15px
}

.wpjp-ajc-info h4 a {
    color: var(--wpjp-dark);
    text-decoration: none
}

.wpjp-ajc-info h4 a:hover {
    color: var(--wpjp-primary)
}

.wpjp-ajc-company,
.wpjp-ajc-date {
    font-size: 12px;
    color: var(--wpjp-gray);
    margin-right: 12px
}

/* ═══ Employer Stats Row ═══ */
.wpjp-emp-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px
}

.wpjp-emp-stat {
    background: var(--wpjp-light);
    border: 1px solid var(--wpjp-border);
    border-radius: 10px;
    padding: 16px;
    text-align: center
}

.wpjp-emp-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--wpjp-dark)
}

.wpjp-emp-stat-label {
    font-size: 12px;
    color: var(--wpjp-gray);
    margin-top: 2px
}

/* ═══ Active Plan Inline (Employer My Jobs) ═══ */
.wpjp-plan-active-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--wpjp-border);
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.wpjp-pai-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.wpjp-pai-icon {
    font-size: 24px
}

.wpjp-pai-usage {
    display: block;
    font-size: 12px;
    color: var(--wpjp-gray)
}

/* ═══ Posted Job Cards (Employer) ═══ */
.wpjp-posted-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--wpjp-border);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all .2s;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    flex-wrap: wrap
}

.wpjp-posted-job-card:hover {
    border-color: var(--wpjp-primary);
    box-shadow: 0 4px 12px rgba(245, 130, 32, .08)
}

.wpjp-pjc-main {
    flex: 1;
    min-width: 0
}

.wpjp-pjc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px
}

.wpjp-pjc-header h4 {
    margin: 0;
    font-size: 15px
}

.wpjp-pjc-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--wpjp-gray);
    margin-bottom: 6px
}

.wpjp-pjc-applicants-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px
}

.wpjp-pjc-app-count strong {
    color: var(--wpjp-primary)
}

.wpjp-pjc-expired {
    color: var(--wpjp-danger);
    font-weight: 600;
    font-size: 12px
}

.wpjp-pjc-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0
}

/* ═══ Plan Promo Card ═══ */
.wpjp-plan-promo-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--wpjp-primary-muted) 0%, rgba(232, 93, 4, 0.03) 100%);
    border: 1px solid var(--wpjp-primary-border);
    border-radius: var(--wpjp-radius-lg);
    margin-top: 24px;
    margin-bottom: 0;
    flex-wrap: wrap;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.wpjp-ppc-icon {
    flex-shrink: 0;
    color: var(--wpjp-primary);
    background: #ffffff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.15);
}
.wpjp-ppc-icon span.dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.wpjp-ppc-content {
    flex: 1;
    min-width: 200px
}

.wpjp-ppc-content h4 {
    margin: 0 0 4px;
    font-size: 16px
}

.wpjp-ppc-content p {
    margin: 0;
    font-size: 13px;
    color: var(--wpjp-gray)
}

/* ═══ Plan Notice (Applicants page) ═══ */
.wpjp-plan-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.wpjp-pn-icon {
    font-size: 28px;
    flex-shrink: 0
}

.wpjp-pn-content {
    flex: 1;
    min-width: 200px
}

.wpjp-pn-content strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px
}

.wpjp-pn-content p {
    margin: 0;
    font-size: 13px;
    color: #92400e
}

/* ═══ Enhanced Applicant Cards ═══ */
.wpjp-applicant-card-enhanced {
    padding: 20px;
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    margin-bottom: 14px;
    background: #fff;
    transition: all .2s
}

.wpjp-applicant-card-enhanced:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06)
}

.wpjp-apc-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px
}

.wpjp-apc-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--wpjp-border)
}

.wpjp-apc-info {
    flex: 1
}

.wpjp-apc-info h4 {
    margin: 0 0 2px;
    font-size: 16px
}

.wpjp-apc-headline {
    margin: 0 0 4px;
    font-size: 13px;
    color: var(--wpjp-primary);
    font-weight: 500
}

.wpjp-apc-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px
}

.wpjp-apc-date {
    color: var(--wpjp-gray)
}

.wpjp-apc-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px
}

.wpjp-apc-cover {
    padding: 10px 14px;
    background: var(--wpjp-light);
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px
}

.wpjp-apc-cover strong {
    font-size: 12px;
    color: var(--wpjp-gray)
}

.wpjp-apc-cover p {
    margin: 4px 0 0
}

.wpjp-apc-contact-section {
    margin-bottom: 12px
}

.wpjp-apc-contact-unlocked {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: #ecfdf5;
    border-radius: 8px;
    font-size: 13px
}

.wpjp-apc-contact-locked {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 13px
}

.wpjp-apc-locked-label {
    color: #92400e;
    font-weight: 600
}

.wpjp-apc-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--wpjp-border)
}

.wpjp-apc-actions select {
    padding: 6px 10px;
    border: 1px solid var(--wpjp-border);
    border-radius: 6px;
    font-size: 13px
}

/* ═══ Applicant Job Rows ═══ */
.wpjp-applicant-job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid var(--wpjp-border);
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
    transition: all .2s
}

.wpjp-applicant-job-row:hover {
    border-color: var(--wpjp-primary);
    box-shadow: 0 4px 12px rgba(245, 130, 32, .08)
}

.wpjp-ajr-info h4 {
    margin: 0 0 4px;
    font-size: 15px
}

.wpjp-ajr-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: var(--wpjp-gray)
}

/* ═══ Plans Page Enhanced ═══ */
.wpjp-plans-page-header {
    margin-bottom: 24px
}

.wpjp-plans-page-header h2 {
    margin: 0 0 6px;
    font-size: 22px
}

.wpjp-plans-page-header p {
    margin: 0;
    font-size: 14px;
    color: var(--wpjp-gray)
}

/* Compact Active Plan Card */
.wpjp-plan-active-compact {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid var(--wpjp-success);
    border-radius: var(--wpjp-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.wpjp-pac-header-compact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 250px;
}

.wpjp-pac-icon-compact {
    font-size: 32px;
    color: var(--wpjp-success);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
}

.wpjp-pac-icon-compact .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.wpjp-pac-title-compact h3 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
}

.wpjp-pac-badge-compact {
    padding: 2px 8px;
    border-radius: 12px;
    background: var(--wpjp-success);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.wpjp-pac-title-compact small {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
}

.wpjp-pac-stats-compact {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.wpjp-pac-stat-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpjp-stat-divider {
    border-left: 1px solid #e2e8f0;
    padding-left: 24px;
}

@media (max-width: 768px) {
    .wpjp-stat-divider {
        border-left: none;
        padding-left: 0;
    }
}

.wpjp-pac-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wpjp-pac-value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpjp-pac-value.wpjp-text-success {
    color: #065f46;
    flex-direction: row;
    align-items: center;
}
.wpjp-pac-value .dashicons-calendar {
    color: #64748b;
}
.wpjp-pac-value > span:not(.dashicons) {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wpjp-pac-value .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.wpjp-progress-bar-compact {
    width: 120px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.wpjp-progress-fill-compact {
    height: 100%;
    background: var(--wpjp-success);
    border-radius: 2px;
    transition: width 0.3s;
}

.wpjp-plan-card-current {
    border-color: var(--wpjp-success);
    position: relative
}

.wpjp-plan-card-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 10px;
    border-radius: 12px;
    background: var(--wpjp-success);
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.wpjp-plan-desc {
    font-size: 13px;
    color: var(--wpjp-gray);
    margin: 8px 0
}

.wpjp-plan-limit {
    font-size: 13px;
    color: var(--wpjp-dark);
    margin: 4px 0 12px;
    font-weight: 500
}

/* ═══ Table ═══ */
.wpjp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px
}

.wpjp-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--wpjp-light);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--wpjp-gray);
    font-weight: 600;
    border-bottom: 2px solid var(--wpjp-border)
}

.wpjp-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--wpjp-border)
}

.wpjp-table tr:hover {
    background: var(--wpjp-light)
}

.wpjp-row-active {
    background: #ecfdf5 !important
}

/* ═══ Empty State Enhanced ═══ */
.wpjp-empty-state h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--wpjp-dark)
}

.wpjp-empty-state p {
    margin: 0 0 16px;
    font-size: 14px
}

/* ═══ Applicants Header ═══ */
.wpjp-applicants-header {
    margin-bottom: 16px
}

.wpjp-applicants-header h2 {
    margin: 0 0 4px
}

.wpjp-applicants-count {
    margin: 0;
    font-size: 14px;
    color: var(--wpjp-gray)
}

/* Free plan badges & buttons */
.wpjp-plan-card-badge-free {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 2px 10px;
    border-radius: 12px;
    background: var(--wpjp-success);
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.wpjp-btn-success {
    background: var(--wpjp-success);
    color: #fff
}

.wpjp-btn-success:hover {
    background: #059669;
    color: #fff
}

@media(max-width:768px) {
    .wpjp-dashboard {
        grid-template-columns: 1fr
    }

    .wpjp-form-row {
        grid-template-columns: 1fr
    }

    .wpjp-resume-body {
        grid-template-columns: 1fr
    }

    .wpjp-search-row {
        flex-direction: column
    }

    .wpjp-jobs-grid {
        grid-template-columns: 1fr
    }

    .wpjp-job-card,
    .wpjp-my-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }

    .wpjp-myjobs-hero {
        flex-direction: column;
        text-align: center
    }

    .wpjp-myjobs-hero-actions {
        justify-content: center
    }

    .wpjp-emp-stats-row {
        grid-template-columns: 1fr
    }

    .wpjp-role-cards {
        grid-template-columns: 1fr !important
    }

    .wpjp-role-divider {
        margin: 12px 0
    }

    .wpjp-posted-job-card,
    .wpjp-applied-job-card {
        flex-direction: column;
        align-items: flex-start
    }

    .wpjp-plan-promo-card,
    .wpjp-plan-notice,
    .wpjp-plan-active-inline {
        flex-direction: column;
        text-align: center
    }

    .wpjp-apc-contact-unlocked,
    .wpjp-apc-contact-locked {
        flex-direction: column;
        text-align: center
    }

    .wpjp-applicant-job-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .wpjp-table {
        font-size: 12px
    }

    .wpjp-table th,
    .wpjp-table td {
        padding: 6px 8px
    }
}

/* ═══ Resume Repeaters, Tag Managers, Previews Grid ═══ */
.wpjp-repeater-list {
    margin-bottom: 15px;
}

.wpjp-repeater-item {
    transition: background-color 0.2s, border-color 0.2s;
}

.wpjp-repeater-item:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.wpjp-tag-manager-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.wpjp-choice-item {
    transition: background-color 0.2s;
}

.wpjp-choice-item:hover {
    background: #f8fafc;
}

.wpjp-project-preview-card {
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wpjp-btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
}
.wpjp-btn-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    line-height: 1;
    border: 2px solid #ffffff;
    pointer-events: none;
}

.wpjp-project-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.wpjp-skills-checkboxes-grid label {
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s;
}

.wpjp-skills-checkboxes-grid label:hover {
    background: #f1f5f9;
    border-color: var(--wpjp-primary);
}

.wpjp-skills-checkboxes-grid input[type="checkbox"] {
    margin: 0;
}

.wpjp-project-rich-desc ul,
.wpjp-project-rich-desc ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════════
   JOB POSTING FORM — Tabbed Layout
   ═══════════════════════════════════════════ */

/* Tab Navigation */
.wpjp-job-tabs {
    display: flex;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--wpjp-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wpjp-job-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 14px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-family: var(--wpjp-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--wpjp-gray);
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.wpjp-job-tab:hover {
    color: var(--wpjp-primary);
    background: #fff8f0;
}

.wpjp-job-tab.active {
    color: var(--wpjp-primary);
    border-bottom-color: var(--wpjp-primary);
    background: #fff8f0;
}

.wpjp-job-tab.completed::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 10px;
    color: var(--wpjp-success);
    font-weight: 700;
}

.wpjp-tab-icon {
    font-size: 16px;
}

.wpjp-tab-label {
    font-size: 13px;
}

/* Tab Content */
.wpjp-job-tab-content {
    display: none;
    animation: wpjpSlideIn 0.3s ease;
}

.wpjp-job-tab-content.active {
    display: block;
}

@keyframes wpjpSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Section Cards */
.wpjp-jf-section {
    background: #fff;
    padding: 16px 32px 32px;
}

.wpjp-jf-section-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wpjp-border);
}

.wpjp-jf-section-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--wpjp-dark);
}

.wpjp-jf-section-header p {
    font-size: 13px;
    color: var(--wpjp-gray);
    margin: 0;
}

/* Attribute Group Cards */
.wpjp-jf-attr-group {
    background: var(--wpjp-light);
    border: 1px solid var(--wpjp-border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.wpjp-jf-attr-group-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--wpjp-dark);
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--wpjp-border);
}

/* Attribute checkbox grid */
.wpjp-attr-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.wpjp-attr-checkbox-item {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 10px 18px;
    background: #fff;
    border: 1.5px solid var(--wpjp-border);
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--wpjp-gray);
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.wpjp-attr-checkbox-item:hover {
    border-color: var(--wpjp-primary);
    background: #fff8f0;
}

.wpjp-attr-checkbox-item.wpjp-attr-checked,
.wpjp-attr-checkbox-item:has(input:checked) {
    border-color: var(--wpjp-primary);
    background: var(--wpjp-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(245, 130, 32, 0.2);
}

.wpjp-attr-checkbox-item.wpjp-attr-checked .wpjp-attr-checkbox-text,
.wpjp-attr-checkbox-item:has(input:checked) .wpjp-attr-checkbox-text {
    color: #fff;
}

.wpjp-attr-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.wpjp-attr-checkbox-text {
    font-size: 13px;
    color: var(--wpjp-dark);
}

/* Dynamic Attribute Labels */
.wpjp-dynamic-field > label,
.wpjp-dynamic-attr-label {
    font-weight: 600;
    color: var(--wpjp-dark);
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Navigation Buttons */
.wpjp-jf-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--wpjp-border);
}

/* Submit Area */
.wpjp-jf-submit-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid var(--wpjp-border);
}

.wpjp-jf-submit-info p {
    margin: 0;
    font-size: 13px;
    color: var(--wpjp-gray);
}

.wpjp-jf-submit-btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Required asterisk */
.wpjp-req {
    color: var(--wpjp-danger);
    font-weight: 700;
}

/* Optional badge */
.wpjp-optional-badge {
    font-size: 11px;
    font-weight: 500;
    color: var(--wpjp-gray);
    background: var(--wpjp-light);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid var(--wpjp-border);
    vertical-align: middle;
    margin-left: 8px;
}

/* Outline button */
.wpjp-btn-outline {
    background: transparent !important;
    color: var(--wpjp-dark) !important;
    border: 1.5px solid var(--wpjp-border) !important;
}

.wpjp-btn-outline:hover {
    background: var(--wpjp-light) !important;
    border-color: var(--wpjp-gray) !important;
    color: var(--wpjp-dark) !important;
}

/* Salary Row */
.wpjp-salary-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wpjp-salary-field {
    display: flex;
    align-items: center;
    flex: 1;
    background: #fff;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    overflow: hidden;
}

.wpjp-salary-prefix {
    padding: 10px 12px;
    background: var(--wpjp-light);
    color: var(--wpjp-gray);
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid var(--wpjp-border);
}

.wpjp-salary-field input {
    border: none !important;
    flex: 1;
    padding: 10px !important;
    box-shadow: none !important;
}

.wpjp-salary-sep {
    color: var(--wpjp-gray);
    font-weight: 500;
    font-size: 13px;
}

/* Logo Upload */
.wpjp-logo-upload-area {
    border: 2px dashed var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

.wpjp-logo-upload-area:hover {
    border-color: var(--wpjp-primary);
    background: #fff8f0;
}

.wpjp-logo-upload-area.wpjp-drag-over {
    border-color: var(--wpjp-primary);
    background: #fef3e2;
}

.wpjp-logo-preview {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpjp-logo-placeholder {
    text-align: center;
    padding: 20px;
    color: var(--wpjp-gray);
}

.wpjp-logo-placeholder span {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}

.wpjp-logo-placeholder p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.wpjp-logo-placeholder small {
    font-size: 11px;
    color: #94a3b8;
}

.wpjp-logo-preview img {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

/* Project Images */
.wpjp-project-images-area {
    border: 2px dashed var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 16px;
    transition: all 0.25s ease;
}

.wpjp-project-images-area:hover {
    border-color: var(--wpjp-primary);
}

.wpjp-project-images-area.wpjp-drag-over {
    border-color: var(--wpjp-primary);
    background: #fef3e2;
}

.wpjp-project-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.wpjp-project-add-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: var(--wpjp-light);
    border: 1.5px dashed var(--wpjp-border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--wpjp-gray);
    transition: all 0.25s ease;
}

.wpjp-project-add-card:hover {
    border-color: var(--wpjp-primary);
    color: var(--wpjp-primary);
    background: #fff8f0;
}

.wpjp-project-add-card span {
    font-size: 24px;
    margin-bottom: 4px;
}

.wpjp-project-add-card p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.wpjp-project-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.wpjp-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpjp-project-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--wpjp-danger);
    color: #fff;
    font-size: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.wpjp-project-thumb:hover .wpjp-project-thumb-remove {
    opacity: 1;
}

/* Auto-save bar */
.wpjp-autosave-bar {
    font-size: 12px;
    color: var(--wpjp-success);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wpjp-autosave-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wpjp-success);
    display: inline-block;
    margin-right: 4px;
    animation: wpjpPulse 2s infinite;
}

@keyframes wpjpPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.wpjp-autosave-hint {
    font-size: 12px !important;
    color: var(--wpjp-gray) !important;
    font-style: italic;
}

/* Toast Notifications */
#wpjp-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.wpjp-toast {
    min-width: 300px;
    max-width: 420px;
    padding: 14px 20px;
    border-radius: 10px;
    font-family: var(--wpjp-font-body);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    pointer-events: auto;
    animation: wpjpToastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top right;
}

.wpjp-toast.wpjp-toast-out {
    animation: wpjpToastOut 0.3s ease forwards;
}

.wpjp-toast-success { background: linear-gradient(135deg, #10b981, #059669); }
.wpjp-toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.wpjp-toast-info { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.wpjp-toast-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }

@keyframes wpjpToastIn {
    from { opacity: 0; transform: translateX(60px) scale(0.95); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes wpjpToastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(80px); }
}

/* Validation */
.wpjp-field-error {
    display: none;
    font-size: 12px;
    color: var(--wpjp-danger);
    margin-top: 4px;
    font-weight: 500;
}

.wpjp-field-error.visible {
    display: block;
}

.wpjp-validate.error {
    border-color: var(--wpjp-danger) !important;
    box-shadow: 0 0 0 2px rgba(239,68,68,0.1) !important;
}

/* Repeater Cards */
.wpjp-jf-project-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.wpjp-jf-project-card:hover {
    border-color: var(--wpjp-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.wpjp-jf-project-info h5 {
    margin: 0 0 2px;
    font-size: 14px;
    color: var(--wpjp-dark);
}

.wpjp-jf-project-info p {
    margin: 0;
    font-size: 12px;
    color: var(--wpjp-gray);
}

.wpjp-jf-project-remove {
    background: none;
    border: none;
    color: var(--wpjp-danger);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.wpjp-jf-project-remove:hover {
    opacity: 1;
}

/* Form field overrides inside job poster */
.wpjp-job-poster .wpjp-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-family: var(--wpjp-font-body);
    color: var(--wpjp-dark);
    appearance: auto;
}

.wpjp-job-poster .wpjp-form-group select:focus {
    border-color: var(--wpjp-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.1);
}

/* WP Editor inside form */
.wpjp-job-poster .wp-editor-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--wpjp-border);
}

.wpjp-job-poster .wp-editor-tabs {
    background: var(--wpjp-light);
}

.wpjp-job-poster .mce-tinymce {
    border: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .wpjp-job-tabs {
        border-radius: 10px 10px 0 0;
    }
    .wpjp-job-tab {
        padding: 12px 8px;
        flex-direction: column;
        gap: 2px;
    }
    .wpjp-tab-label {
        font-size: 10px;
    }
    .wpjp-tab-icon {
        font-size: 18px;
    }
    .wpjp-jf-section {
        padding: 16px;
    }
    .wpjp-jf-submit-area {
        flex-direction: column;
    }
    .wpjp-jf-submit-btns {
        flex-direction: column;
        width: 100%;
    }
    .wpjp-jf-submit-btns .wpjp-btn {
        width: 100%;
        justify-content: center;
    }
    .wpjp-attr-checkbox-grid {
        grid-template-columns: 1fr;
    }
    .wpjp-salary-row {
        flex-direction: column;
    }
}


/* ═══════════════════════════════════════════
   Single Job Modern Template Redesign
   ═══════════════════════════════════════════ */
.ctjp-main-wrap {
    max-width: 72rem; /* 1152px */
    margin: 0 auto;
    padding: 0 1rem 3rem;
    font-family: var(--wpjp-font-body);
    color: #1e293b;
}
.ctjp-main-wrap * {
    box-sizing: border-box;
}

/* 1. Hero Card */
.ctjp-hero-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .ctjp-hero-card {
        flex-direction: row;
        align-items: center;
    }
}
.ctjp-hero-left {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}
.ctjp-hero-icon-box {
    height: 4rem;
    width: 4rem;
    background: linear-gradient(to bottom right, #fef3c7, #ffedd5);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea580c;
    flex-shrink: 0;
    border: 1px solid rgba(253, 186, 116, 0.4);
    font-size: 1.5rem;
}
.ctjp-hero-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 0.375rem 0 !important;
}
@media (min-width: 768px) {
    .ctjp-hero-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}
.ctjp-hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.25rem;
    column-gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}
.ctjp-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.ctjp-hero-meta-item i {
    color: #94a3b8;
}
.ctjp-btn-apply {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff !important;
    background-color: #ea580c;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 #ffedd5;
    text-align: center;
    transition: background-color 0.2s;
    text-decoration: none !important;
    display: inline-block;
}
.ctjp-btn-apply:hover {
    background-color: #c2410c;
    color: #ffffff !important;
}

/* 2. Meta Data Cards Grid */
.ctjp-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
@media (min-width: 1024px) {
    .ctjp-meta-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.ctjp-meta-card {
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
}
.ctjp-meta-icon {
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctjp-meta-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}
.ctjp-meta-val {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

/* Meta Card Themes */
.ctjp-meta-amber { background-color: rgba(255, 251, 235, 0.5); border-color: #fef3c7; }
.ctjp-meta-amber .ctjp-meta-icon { background-color: #fef3c7; color: #b45309; }
.ctjp-meta-amber .ctjp-meta-label { color: #d97706; }

.ctjp-meta-purple { background-color: rgba(250, 245, 255, 0.5); border-color: #f3e8ff; }
.ctjp-meta-purple .ctjp-meta-icon { background-color: #f3e8ff; color: #7e22ce; }
.ctjp-meta-purple .ctjp-meta-label { color: #9333ea; }

.ctjp-meta-blue { background-color: rgba(239, 246, 255, 0.5); border-color: #dbeafe; }
.ctjp-meta-blue .ctjp-meta-icon { background-color: #dbeafe; color: #1d4ed8; }
.ctjp-meta-blue .ctjp-meta-label { color: #2563eb; }

.ctjp-meta-emerald { background-color: rgba(236, 253, 245, 0.5); border-color: #d1fae5; }
.ctjp-meta-emerald .ctjp-meta-icon { background-color: #d1fae5; color: #047857; }
.ctjp-meta-emerald .ctjp-meta-label { color: #059669; }

/* 3. Main Two-Column Layout */
.ctjp-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .ctjp-layout-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.ctjp-left-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 1024px) {
    .ctjp-left-col {
        grid-column: span 2 / span 2;
    }
}
.ctjp-right-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Content Boxes */
.ctjp-content-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.ctjp-box-title {
    font-size: 0.9375rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
    margin: 0 0 0.75rem 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}
.ctjp-text {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.625;
}
.ctjp-text p { margin-bottom: 0.75rem; }

/* Bullet Lists */
.ctjp-list ul, .ctjp-list ol {
    margin: 0; padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
}
.ctjp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}
.ctjp-list li::before {
    content: '\f058'; /* fa-circle-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f97316;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Skills Matrix */
.ctjp-matrix-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ctjp-matrix-group {
    padding-bottom: 0;
}
.ctjp-matrix-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #64748b, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}
.ctjp-matrix-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ctjp-matrix-tag {
    font-size: 0.8125rem;
    padding: 0.4375rem 0.875rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.ctjp-matrix-tag:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Projects */
.ctjp-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .ctjp-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.ctjp-project-card {
    padding: 1rem;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    background-color: rgba(248, 250, 252, 0.6);
}
.ctjp-project-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}
.ctjp-project-client {
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
}
.ctjp-project-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}
.ctjp-project-gallery {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
.ctjp-gallery-item {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.375rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.ctjp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Boxes */
.ctjp-sidebar-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.ctjp-sidebar-title {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    margin: 0 0 0.75rem 0 !important;
}
.ctjp-sidebar-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ctjp-spec-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.ctjp-spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ctjp-spec-item:first-child {
    padding-top: 0;
}
.ctjp-spec-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    background: linear-gradient(135deg, #64748b, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.ctjp-spec-val {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

/* Apply Box */
.ctjp-apply-box {
    background-color: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(255, 237, 213, 0.5);
    position: relative;
    overflow: hidden;
}
.ctjp-apply-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background-color: #ea580c;
}
.ctjp-apply-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f172a;
    margin: 0 0 0.25rem 0 !important;
}
.ctjp-apply-desc {
    font-size: 0.6875rem;
    color: #94a3b8;
    margin: 0 0 1rem 0;
}
.ctjp-apply-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.ctjp-apply-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.ctjp-apply-input {
    width: 100%;
    font-size: 0.75rem;
    padding: 0.75rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    color: #1e293b;
    box-sizing: border-box;
    transition: all 0.2s;
    resize: none;
    font-family: inherit;
}
.ctjp-apply-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}
.ctjp-apply-input::placeholder {
    color: #94a3b8;
}
.ctjp-btn-submit {
    width: 100%;
    padding: 0.625rem;
    background-color: #ea580c;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 1px 2px 0 #ffedd5;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
    text-decoration: none !important;
}
.ctjp-btn-submit:hover {
    background-color: #c2410c;
    color: #ffffff !important;
}


/* ═══════════════════════════════════════════
   CT Job Portal — Supplemental & Brand Styles
   Added: Jobs listing improvements + Dashboard Overview
   ═══════════════════════════════════════════ */

/* Results count */
.wpjp-results-count {
    font-size: 14px;
    color: var(--wpjp-gray);
    margin: 0 0 20px;
}
.wpjp-results-count strong { color: var(--wpjp-dark); }

/* Job listing card — logo */
.wpjp-jlc-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--wpjp-border);
    background: var(--wpjp-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wpjp-jlc-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wpjp-jlc-logo-placeholder {
    font-family: var(--wpjp-font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--wpjp-primary);
    background: var(--wpjp-primary-muted);
    border-color: var(--wpjp-primary-border);
}
.wpjp-jlc-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.wpjp-jlc-title-wrap { flex: 1; min-width: 0; }
.wpjp-jlc-tags-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

/* Job listing card — CTA button */
.wpjp-jlc-action {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--wpjp-border);
    display: flex;
    justify-content: flex-end;
}

/* Urgent tag */
.wpjp-tag-urgent {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Clear filter button */
.wpjp-btn-outline-sm {
    padding: 8px 14px;
    font-size: 13px;
    border: 1.5px solid var(--wpjp-border);
    color: var(--wpjp-gray);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--wpjp-transition);
}
.wpjp-btn-outline-sm:hover {
    border-color: var(--wpjp-primary);
    color: var(--wpjp-primary);
}

/* ── Dashboard Overview ── */
.wpjp-overview-wrap { padding: 4px 0; }

.wpjp-welcome-banner {
    background: linear-gradient(135deg, var(--wpjp-dark) 0%, var(--wpjp-charcoal) 100%);
    border-radius: var(--wpjp-radius-lg);
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.wpjp-welcome-text h2 {
    font-family: var(--wpjp-font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--wpjp-white);
    margin: 0 0 4px;
    letter-spacing: 0.5px;
}
.wpjp-welcome-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

.wpjp-overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.wpjp-overview-card {
    background: var(--wpjp-white);
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 18px 20px;
    text-align: center;
    transition: var(--wpjp-transition);
    box-shadow: var(--wpjp-shadow);
}
.wpjp-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--wpjp-shadow-md);
}
.wpjp-overview-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}
.wpjp-overview-num {
    font-family: var(--wpjp-font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--wpjp-dark);
    line-height: 1;
    margin-bottom: 4px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wpjp-overview-label {
    font-size: 12px;
    color: var(--wpjp-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wpjp-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wpjp-primary);
    display: inline-block;
    animation: wpjp-pulse 1.5s ease-in-out infinite;
}
@keyframes wpjp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

.wpjp-quick-actions-block {
    background: var(--wpjp-white);
    border: 1px solid var(--wpjp-border);
    border-radius: var(--wpjp-radius);
    padding: 20px 24px;
    box-shadow: var(--wpjp-shadow);
}
.wpjp-qa-title {
    font-family: var(--wpjp-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--wpjp-dark);
    margin: 0 0 14px;
    letter-spacing: 0.4px;
}
.wpjp-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ═══════════════════════════════════════════
   Icon Sprites (emoji fallbacks — no icon font needed)
   ═══════════════════════════════════════════ */
.wpjp-icon { 
    display: inline-block; 
    font-family: dashicons; 
    font-size: inherit; 
    line-height: 1; 
    font-weight: normal; 
    font-style: normal; 
    text-decoration: none; 
    text-transform: none; 
    vertical-align: middle; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}
.wpjp-icon::before { display: inline; }

.wpjp-icon-search::before       { content: '\f179'; } /* search */
.wpjp-icon-company::before      { content: '\f512'; } /* building */
.wpjp-icon-location::before     { content: '\f230'; } /* location-alt */
.wpjp-icon-salary::before       { content: '\f526'; } /* money-alt */
.wpjp-icon-time::before         { content: '\f469'; } /* clock */
.wpjp-icon-description::before  { content: '\f498'; } /* media-document */
.wpjp-icon-check::before        { content: '\f147'; } /* yes */
.wpjp-icon-plus::before         { content: '\f132'; } /* plus */
.wpjp-icon-vacancies::before    { content: '\f307'; } /* groups */
.wpjp-icon-gear::before         { content: '\f111'; } /* admin-settings */
.wpjp-icon-notification::before { content: '\f453'; } /* bell */
.wpjp-icon-edit::before         { content: '\f464'; } /* edit */
.wpjp-icon-delete::before       { content: '\f182'; } /* trash */
.wpjp-icon-download::before     { content: '\f316'; } /* download */
.wpjp-icon-upload::before       { content: '\f317'; } /* upload */
.wpjp-icon-eye::before          { content: '\f177'; } /* visibility */
.wpjp-icon-lock::before         { content: '\f160'; } /* lock */
.wpjp-icon-unlock::before       { content: '\f528'; } /* unlock */
.wpjp-icon-star::before         { content: '\f155'; } /* star-filled */
.wpjp-icon-resume::before       { content: '\f481'; } /* clipboard */
.wpjp-icon-job::before          { content: '\f322'; } /* portfolio */
.wpjp-icon-calendar::before     { content: '\f145'; } /* calendar-alt */
.wpjp-icon-phone::before        { content: '\f525'; } /* phone */
.wpjp-icon-email::before        { content: '\f466'; } /* email-alt */
.wpjp-icon-address::before      { content: '\f102'; } /* admin-home */


/* ═══════════════════════════════════════════
   Employee Card Redesign — .epc
   CiroTechs Brand · Professional Grid
   ═══════════════════════════════════════════ */

/* ── Search Bar ── */
.wpjp-emp-searchbar {
    margin-bottom: 24px;
}
.wpjp-emp-search-wrap {
    display: flex;
    align-items: center;
    background: var(--wpjp-white);
    border: 1.5px solid var(--wpjp-border);
    border-radius: 12px;
    padding: 6px 16px;
    gap: 10px;
    box-shadow: var(--wpjp-shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wpjp-emp-search-wrap:focus-within {
    border-color: var(--wpjp-primary);
    box-shadow: 0 0 0 3px var(--wpjp-primary-muted);
}
.wpjp-emp-search-icon { color: var(--wpjp-gray); flex-shrink: 0; }
.wpjp-emp-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 14px;
    padding: 6px 0;
    background: transparent;
    font-family: var(--wpjp-font-body);
    color: var(--wpjp-dark);
    box-shadow: none !important;
}
.wpjp-emp-search-input::placeholder { color: #adb5bd; }
.wpjp-emp-search-clear {
    color: var(--wpjp-gray);
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.15s;
}
.wpjp-emp-search-clear:hover { color: var(--wpjp-danger); }
.wpjp-emp-search-btn {
    background: var(--wpjp-primary);
    color: var(--wpjp-white);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--wpjp-font-body);
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.wpjp-emp-search-btn:hover { background: var(--wpjp-primary-hover); }

/* Results count */
.wpjp-emp-count {
    font-size: 14px;
    color: var(--wpjp-gray);
    margin: 0 0 20px;
}
.wpjp-emp-count strong { color: var(--wpjp-dark); }

/* ── Grid ── */
.wpjp-emp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* ── Card Shell ── */
.epc {
    background: var(--wpjp-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: var(--wpjp-font-body);
    box-shadow: var(--wpjp-shadow);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    padding: 20px 20px 0;
}
.epc:hover {
    box-shadow: var(--wpjp-shadow-md);
    transform: translateY(-3px);
    border-color: var(--wpjp-primary-border);
}

/* ── Header: avatar + identity ── */
.epc-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

/* Avatar */
.epc-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.epc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wpjp-primary-muted), var(--wpjp-primary-border));
    border: 2.5px solid var(--wpjp-primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.epc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.epc-initials {
    font-family: var(--wpjp-font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--wpjp-primary);
    line-height: 1;
}

/* Availability dot on avatar */
.epc-avail-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid var(--wpjp-white);
}
.epc-avail-dot.epc-avail-green  { background: #10b981; }
.epc-avail-dot.epc-avail-amber  { background: #f59e0b; }
.epc-avail-dot.epc-avail-gray   { background: #94a3b8; }

/* Identity */
.epc-ident { flex: 1; min-width: 0; }
.epc-name {
    font-family: var(--wpjp-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--wpjp-dark);
    margin: 0 0 2px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.epc-designation {
    font-size: 12px;
    color: var(--wpjp-gray);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.epc-spec-badge {
    display: inline-block;
    background: var(--wpjp-primary-muted);
    color: var(--wpjp-primary);
    border: 1px solid var(--wpjp-primary-border);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

/* ── Info Pills (location / exp / type) ── */
.epc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.epc-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--wpjp-bg);
    border: 1px solid var(--wpjp-border);
    color: var(--wpjp-gray);
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 20px;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.epc-pill svg { color: var(--wpjp-primary); flex-shrink: 0; }
.epc-pill-type {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

/* ── Availability + Salary row ── */
.epc-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.epc-avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}
.epc-avail-badge.epc-avail-green {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.epc-avail-badge.epc-avail-amber {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
.epc-avail-badge.epc-avail-gray {
    background: var(--wpjp-bg);
    color: var(--wpjp-gray);
    border: 1px solid var(--wpjp-border);
}
.epc-avail-dot-inline {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.epc-avail-green .epc-avail-dot-inline { background: #10b981; }
.epc-avail-amber .epc-avail-dot-inline { background: #f59e0b; }
.epc-avail-gray  .epc-avail-dot-inline { background: #94a3b8; }

.epc-salary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 700;
    color: #059669;
    margin-left: auto;
}
.epc-salary svg { color: #059669; }
.epc-salary-period {
    font-size: 11px;
    font-weight: 500;
    color: var(--wpjp-gray);
}

/* ── About Snippet ── */
.epc-about {
    font-size: 12px;
    color: var(--wpjp-gray);
    line-height: 1.4;
    margin: 0 0 6px;
}

/* ── Skills ── */
.epc-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.epc-skill {
    background: var(--wpjp-bg);
    border: 1px solid var(--wpjp-border);
    color: #374151;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}
.epc:hover .epc-skill {
    background: var(--wpjp-primary-muted);
    border-color: var(--wpjp-primary-border);
    color: var(--wpjp-primary);
}
.epc-skill-more {
    background: transparent;
    border: 1px dashed #cbd5e1;
    color: #94a3b8;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-style: italic;
}

/* ── Stats Row: companies / quals / projects / CV ── */
.epc-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--wpjp-border);
    border-bottom: 1px solid var(--wpjp-border);
    margin: 0 -20px 0;
    padding: 0;
}
.epc-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 2px;
    gap: 1px;
    border-right: 1px solid var(--wpjp-border);
}
.epc-stat:last-child { border-right: none; }
.epc-stat-num {
    font-family: var(--wpjp-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--wpjp-dark);
    line-height: 1;
}
.epc-stat-lbl {
    font-size: 10px;
    font-weight: 600;
    color: var(--wpjp-gray);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: center;
}

/* ── Footer ── */
.epc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 10px;
    margin-top: auto;
    gap: 10px;
}
.epc-last-active {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #94a3b8;
}
.epc-last-active svg { color: #10b981; }
.epc-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Buttons */
.epc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: var(--wpjp-font-body);
    transition: var(--wpjp-transition);
    white-space: nowrap;
}
.epc-btn-ghost {
    background: var(--wpjp-bg);
    color: var(--wpjp-dark);
    border: 1px solid var(--wpjp-border);
}
.epc-btn-ghost:hover {
    background: var(--wpjp-border);
    color: var(--wpjp-dark);
}
.epc-btn-primary {
    background: var(--wpjp-primary);
    color: var(--wpjp-white) !important;
}
.epc-btn-primary:hover {
    background: var(--wpjp-primary-hover);
    color: var(--wpjp-white) !important;
}
.epc-btn-full { width: 100%; }

/* ── Empty State ── */
.epc-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--wpjp-gray);
}
.epc-empty-icon { font-size: 48px; margin-bottom: 12px; }
.epc-empty h3 { color: var(--wpjp-dark); margin-bottom: 8px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .wpjp-emp-grid { grid-template-columns: 1fr; }
    .wpjp-emp-search-btn { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
    .epc-name { font-size: 16px; }
    .epc-footer { flex-direction: column; align-items: stretch; }
    .epc-last-active { justify-content: center; }
    .epc-actions { justify-content: stretch; }
    .epc-btn { flex: 1; justify-content: center; }
}


/* ═══════════════════════════════════════════
   Resume Form — Updated Styles
   New: section highlight, field hints, tag chips, repeater items
   ═══════════════════════════════════════════ */

/* Required asterisk */
.wpjp-req { color: var(--wpjp-danger); font-weight: 700; }

/* Field hint text */
.wpjp-field-hint {
    display: block;
    font-size: 12px;
    color: var(--wpjp-gray);
    margin-top: 5px;
    line-height: 1.4;
}

/* Section title with badge */
.wpjp-form-section-title {
    font-family: var(--wpjp-font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--wpjp-dark);
    letter-spacing: 0.4px;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wpjp-section-badge {
    font-family: var(--wpjp-font-body);
    font-size: 11px;
    font-weight: 600;
    background: var(--wpjp-primary-muted);
    color: var(--wpjp-primary);
    border: 1px solid var(--wpjp-primary-border);
    padding: 2px 9px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.wpjp-section-desc {
    font-size: 13px;
    color: var(--wpjp-gray);
    margin: -10px 0 16px;
    line-height: 1.5;
}

/* Highlighted section (Job Preferences) */
.wpjp-form-section-highlight {
    border-left: 3px solid var(--wpjp-primary) !important;
    padding-left: 20px !important;
    background: var(--wpjp-primary-muted) !important;
}

/* Repeater inline form */
.wpjp-repeater-inline-form {
    background: var(--wpjp-light);
    padding: 16px;
    border-radius: 10px;
    border: 1px dashed var(--wpjp-border);
    margin-bottom: 16px;
}
.wpjp-repeater-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--wpjp-dark);
    margin: 0 0 12px;
}
.wpjp-repeater-grid {
    display: grid;
    gap: 10px;
    align-items: end;
    margin-bottom: 12px;
}
.wpjp-repeater-grid input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}
.wpjp-repeater-grid input:focus {
    outline: none;
    border-color: var(--wpjp-primary);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, .1);
}
.wpjp-mini-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--wpjp-gray);
    display: block;
    margin-bottom: 4px;
}
.wpjp-btn-add {
    border-color: var(--wpjp-success) !important;
    color: var(--wpjp-success) !important;
}
.wpjp-btn-add:hover {
    background: var(--wpjp-success) !important;
    color: var(--wpjp-white) !important;
}

/* Repeater displayed items */
.wpjp-repeater-list { margin-bottom: 12px; }
.wpjp-repeater-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--wpjp-white);
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    gap: 12px;
}
.wpjp-ri-text { flex: 1; min-width: 0; }
.wpjp-ri-text strong {
    display: block;
    font-size: 14px;
    color: var(--wpjp-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wpjp-ri-text span {
    display: block;
    font-size: 12.5px;
    color: var(--wpjp-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wpjp-ri-del {
    background: transparent;
    border: 1px solid var(--wpjp-border);
    color: var(--wpjp-danger);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--wpjp-font-body);
    transition: var(--wpjp-transition);
    flex-shrink: 0;
}
.wpjp-ri-del:hover {
    background: var(--wpjp-danger);
    border-color: var(--wpjp-danger);
    color: var(--wpjp-white);
}
.wpjp-repeater-empty {
    font-size: 13px;
    color: var(--wpjp-gray);
    font-style: italic;
    margin: 0 0 8px;
}

/* Tag chips */
.wpjp-tag-manager-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
    margin-bottom: 8px;
}
.wpjp-tag-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.wpjp-tag-input-row input { flex: 1; }
.wpjp-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}
.wpjp-tag-blue {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.wpjp-tag-green {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.wpjp-del-tag {
    cursor: pointer;
    font-weight: 700;
    opacity: 0.6;
    transition: opacity 0.15s;
    line-height: 1;
}
.wpjp-del-tag:hover { opacity: 1; color: var(--wpjp-danger); }
.wpjp-tag-empty {
    font-size: 12px;
    color: var(--wpjp-gray);
    font-style: italic;
}

/* Project pictures grid */
.wpjp-project-previews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.wpjp-project-preview-card {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid var(--wpjp-border);
    border-radius: 8px;
    overflow: hidden;
}
.wpjp-project-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wpjp-pic-delete {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(220, 38, 38, 0.88);
    color: #fff;
    text-align: center;
    font-size: 10px;
    padding: 3px 0;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.wpjp-pic-delete input { margin: 0; vertical-align: middle; }

/* Responsive repeater grids */
@media (max-width: 640px) {
    .wpjp-repeater-grid { grid-template-columns: 1fr !important; }
    .wpjp-form-section-highlight { padding-left: 14px !important; }
}

/* ═══════════════════════════════════════════
   WOOCOMMERCE MENU OVERRIDES
   ═══════════════════════════════════════════ */
.woocommerce-MyAccount-navigation-link--my-jobs a::before {
    content: "" !important;
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 12px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%222%22%20y%3D%227%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%20ry%3D%222%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M16%2021V5a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center;
    mask: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%222%22%20y%3D%227%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%20ry%3D%222%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M16%2021V5a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center;
}

.woocommerce-MyAccount-navigation-link--my-jobs a svg,
.woocommerce-MyAccount-navigation-link--my-jobs a i {
    display: none !important;
}

/* --- Tabs for Resume Form --- */
.wpjp-tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--wpjp-border);
    padding-bottom: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}
.wpjp-tabs-nav::-webkit-scrollbar {
    height: 4px;
}
.wpjp-tabs-nav::-webkit-scrollbar-thumb {
    background-color: var(--wpjp-border);
    border-radius: 4px;
}
.wpjp-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wpjp-gray);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    margin-bottom: -2px; /* overlap the border */
}
.wpjp-tab-btn:hover {
    color: var(--wpjp-dark);
}
.wpjp-tab-btn.active {
    color: var(--wpjp-primary);
    border-bottom-color: var(--wpjp-primary);
}
.wpjp-tab-pane {
    display: none;
    animation: wpjpFadeIn 0.3s ease;
}
.wpjp-tab-pane.active {
    display: block;
}
@keyframes wpjpFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Autosave Bar --- */
.wpjp-autosave-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-right: 5px;
}
.wpjp-autosave-status {
    font-size: 13px;
    color: var(--wpjp-green);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    opacity: 1; /* By default let's make it visible, JS can hide/show it, but wait, JS might rely on this */
    visibility: visible;
    transform: translateY(-5px);
}
.wpjp-autosave-status.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wpjp-autosave-status.saving {
    color: var(--wpjp-orange);
    background: #fffbeb;
    border-color: #fde68a;
}
.wpjp-autosave-status.error {
    color: #ef4444;
    background: #fef2f2;
    border-color: #fecaca;
}

/* CSS for toggle switch */
.wpjp-toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.wpjp-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.wpjp-toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}
.wpjp-toggle-switch label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
.wpjp-toggle-switch input:checked + label {
    background-color: #10b981; /* green */
}
.wpjp-toggle-switch input:focus + label {
    box-shadow: 0 0 1px #10b981;
}
.wpjp-toggle-switch input:checked + label:before {
    transform: translateX(20px);
}

a.wpjp-tab-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Custom Dropdown Filters (Jobs & Employees) */
.wpjp-dd-check {
    position: relative;
    width: 100%;
}
.wpjp-dd-check-header {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    color: #475569;
    font-size: 14px;
    transition: all 0.3s ease;
}
.wpjp-dd-check-header:hover {
    border-color: #cbd5e1;
}
.wpjp-dd-check-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #fff;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border-radius: 0 0 16px 16px;
    margin-top: -10px;
    padding: 12px 0 8px 0;
}
.wpjp-dd-check-content.open {
    display: block;
}
.wpjp-dd-check-content label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    margin: 0;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s;
}
.wpjp-dd-check-content label:hover {
    background-color: #f8fafc;
}
.wpjp-dd-check-content input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}
