/**
 * Frontend styles for Job Subscription Hoy
 * Matching The House of Yaya design
 */

.jsh-candidates-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.jsh-header {
    margin-bottom: 40px;
}

.jsh-title {
    margin: 20px 0 20px 0;
    font-size: 24px;
}

.jsh-search-filters-wrapper {
    margin-bottom: 40px;
}

.jsh-search-filters {
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0px 1px 7px 10px rgb(67 5 8 / 5%);
}

.jsh-search-form {
    max-width: 100%;
}

.jsh-search-filters-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.jsh-search-bar {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.jsh-candidate-actions a.jsh-btn.jsh-btn-secondary.jsh-btn-message-inline {
    background: #078f6f;
}
.jsh-filter-buttons.scheme_default .select_container:focus:before, .scheme_default .select_container:hover:before {
    color: #000000;
    background-color: #fff !important;
}


.jsh-search-input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background: #ffffff;
    transition: border-color 0.3s;
}

.jsh-search-input:focus {
    outline: none;
    border-color: #0073aa;
}

.jsh-filter-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.jsh-filter-buttons select {
    border: 1px solid #ccc !important;
}
.jsh-filter-select {
    padding: 14px 35px 14px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    transition: border-color 0.3s;
    min-width: 140px;
}

.jsh-filter-select:hover {
    border-color: #0073aa;
}

.jsh-filter-select:focus {
    outline: none;
    border-color: #0073aa;
}

.jsh-subscription-banner {
    background: linear-gradient(90deg, #EAF4FF 0%, #F3FAF7 100%);
    padding: 35px 40px;
    border-radius: 8px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.jsh-banner-content {
    flex: 1;
    min-width: 300px;
}

.jsh-banner-content h2 {
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-size: 1.8em;
    font-weight: 600;
}

.jsh-banner-action {
    flex-shrink: 0;
}

.jsh-btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    line-height: 1.4;
}

.jsh-btn-primary {
    background: #0073aa;
    color: #fff !important;
}

.jsh-btn-primary:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,115,170,0.3);
}

.jsh-btn-secondary {
    background: #e5e7eb;
    color: #000 !important;
}

button.jsh-btn.jsh-btn-primary.jsh-show-login-modal{
    background: #6c757d;
    color: #fff !important;    
}

.jsh-btn-secondary:hover {
    background: #5a6268;
    color: #fff !important;
}

/* button.jsh-btn.jsh-btn-secondary.jsh-btn-save-profile:hover {
    background: #5a6268 !important;
    color: #fff !important;
} */

.jsh-banner-action .jsh-btn-primary {
    background: #057a55;
    color: #fff !important;
}

.jsh-candidates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.jsh-candidate-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.jsh-candidate-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.jsh-candidate-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.jsh-candidate-image-link:hover {
    text-decoration: none;
}

.jsh-candidate-card.jsh-card-clickable {
    cursor: pointer;
}

.jsh-candidate-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: #aeaeae;
    overflow: hidden;
}

.jsh-candidate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blurred photo behind lock when not subscribed */
.jsh-candidate-image-blurred {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px);
    transform: scale(1.08);
}

.jsh-image-placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

.jsh-image-placeholder-overlay .dashicons {
    color: #fff;
}

.jsh-image-placeholder-overlay p {
    position: relative;
    bottom: auto;
}

.jsh-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    position: relative;
    pointer-events: none;
}

.jsh-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.jsh-image-placeholder .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    color: #777;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.jsh-image-placeholder p {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: 0;
    font-size: 18px;
    padding: 0 20px;
    color: white;
}

.jsh-experience-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e3a008;
    color:#fff;
    padding: 0px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.jsh-candidate-info {
    padding: 20px;
}

.jsh-candidate-id {
    font-size: 18px;
    font-weight: 700;
}

.jsh-candidate-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.jsh-candidate-rating .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #ffc107;
}

.jsh-candidate-rating span:last-child {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.jsh-candidate-role {
    font-size: 15px;
    margin: 0 0 15px 0;
    font-weight: 200 !important;
}

.jsh-candidate-role-link {
    color: #078f6f !important;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 20px !important;
    font-weight: 700;
}

.jsh-candidate-role-link:hover {
    color: #0073aa;
    text-decoration: none;
}

.jsh-candidate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.jsh-skill-tag {
    background: #e1effe;
    color: #1e429f;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.jsh-candidate-description {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    min-height: 60px;
}

.jsh-candidate-card .jsh-candidate-summary {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    min-height: 60px;
}

.jsh-subscribe-text {
    color: #28a745;
    font-weight: 600;
}

.jsh-candidate-availability {
    font-size: 14px;
    color: #28a745;
    margin-bottom: 18px;
    font-weight: 600;
}

.jsh-candidate-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

a.jsh-btn.jsh-btn-secondary.jsh-view-profile-btn {
    color: #fff !important;
    background: #bbc1c6;
}


li.jsh-account-nav-active a {
    background: #cfe6e1;
    border-radius: 5px;
    font-weight: 700;
    color: #00736a !important;
}

.jsh-candidate-actions .jsh-btn {
    padding: 12px 20px;
    width: 100%;
    color: #fff !important;
    background: #bbc1c6;
}

.jsh-load-more-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.jsh-load-more {
    background: #fff !important;
    color: #000 !important;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #d2d6dc !important;
}

select.jsh-filter-select {
    border: 1px solid #ccc !important;
}
input.jsh-search-input
{
    border: 1px solid #ccc !important;
}
.jsh-filter-buttons .select_container {
    border-color: #ccc !important;
    border: 1px solid #ccc !important;
    border-radius: 8px;
}
.jsh-load-more:hover {
    color: #000 !important;
    border: 1px solid #ccc !important;
}

.jsh-no-results {
    text-align: center;
    padding: 60px 40px;
    color: #666;
    font-size: 18px;
    grid-column: 1 / -1;
}

/* Subscription Plans - legacy wrapper (kept for compatibility) */
.jsh-subscription-plans {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.jsh-subscription-plans h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
    font-weight: 600;
    color: #1a1a1a;
}

span.dashicons.dashicons-dashboard {
    margin-top: 4px !important;
}
.jsh-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.jsh-plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 35px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.jsh-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #0073aa;
}

.jsh-plan-card h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 600;
}

.jsh-plan-price {
    margin-bottom: 15px;
}

.jsh-currency {
    font-size: 18px;
    vertical-align: top;
    color: #666;
}

.jsh-amount {
    font-size: 42px;
    font-weight: 700;
    color: #0073aa;
}

.jsh-plan-duration {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

.jsh-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.jsh-plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.jsh-plan-features li:last-child {
    border-bottom: none;
}

.jsh-plan-features li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.jsh-active-subscription {
    text-align: center;
    padding: 40px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: 18px;
    font-weight: 500;
}

/* ========== Subscription page UI (Find Perfect Candidates in UAE) ========== */
.jsh-subscription-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.jsh-subscription-header {
    text-align: center;
    margin-bottom: 40px;
}

.jsh-subscription-title {
    margin: 0 0 12px 0;
    font-size: 64px;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.2;
}

.jsh-subscription-subtitle {
    margin: 0;
    font-size: 20px;
    color: #6b7280;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.jsh-subscription-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}

.jsh-subscription-controls {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.jsh-currency-toggle {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.jsh-currency-btn {
    padding: 12px 20px;
    border: none !important;
    background: #fff !important;
    color: #6b7280 !important;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-radius: 0 !important;
    -webkit-appearance: button;
    appearance: button;
    touch-action: manipulation;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

.jsh-currency-toggle button.jsh-currency-btn:hover {
    -webkit-transform: none;
}

.jsh-currency-btn:hover {
    color: #374151;
}

.jsh-currency-btn.jsh-currency-active {
    background: #e9d5ff !important;
    color: #5b21b6 !important;
}

.jsh-plans-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.jsh-plans-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Subscription page: 3 plans only */
.jsh-subscription-page .jsh-plans-grid.jsh-plans-grid-three {
    grid-template-columns: repeat(3, 1fr);
    min-width: 0;
}

.jsh-subscription-page .jsh-plans-grid-three .jsh-plan-card {
    min-width: 0;
}

.jsh-subscription-page .jsh-plan-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 72px 1fr auto;
    grid-template-areas: "title" "tagline" "price" "features" "button";
    text-align: left;
    padding: 32px 28px 28px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.jsh-subscription-page .jsh-plan-card .jsh-plan-name { grid-area: title; }
.jsh-subscription-page .jsh-plan-card .jsh-plan-tagline { grid-area: tagline; }
.jsh-subscription-page .jsh-plan-card .jsh-plan-price-block { grid-area: price; }
.jsh-subscription-page .jsh-plan-card .jsh-plan-features { grid-area: features; }
.jsh-subscription-page .jsh-plan-card .jsh-subscribe-btn,
.jsh-subscription-page .jsh-plan-card .jsh-contact-us-btn {
    grid-area: button;
    margin-top: 0;
}

.jsh-subscription-page .jsh-plan-card.jsh-plan-popular {
    border: 2px solid #93c5fd;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}

.jsh-subscription-page .jsh-plan-card.jsh-plan-contact .jsh-plan-amount-custom {
    font-size: 23px;
    font-weight: 800;
    color: #1a1a1a;
}

.jsh-subscription-page .jsh-contact-us-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    box-sizing: border-box;
}

.jsh-plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #8b5cf6;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
}

.jsh-subscription-page .jsh-plan-name {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 700;
    color: #4b5563;
}

.jsh-plan-tagline {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #6b7280;
}

.jsh-plan-price-block {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 2px 4px;
    margin-bottom: 0;
    min-height: 72px;
}

.jsh-subscription-page .jsh-plan-currency,
.jsh-subscription-page .jsh-plan-amount {
    font-size: 35px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    vertical-align: baseline;
}

.jsh-subscription-page .jsh-plan-amount.jsh-plan-amount-custom {
    font-size: 38px;
}

.jsh-plan-period {
    font-size: 20px;
    font-weight: 500;
    color: #6b7280;
    line-height: 1;
    vertical-align: baseline;
}

.jsh-subscription-page .jsh-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.jsh-subscription-page .jsh-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border: none;
    font-size: 16px;
    line-height: 1.4;
}

.jsh-subscription-page .jsh-plan-features li:before {
    content: none;
}

.jsh-subscription-page .jsh-plan-features .jsh-feature-icon {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 8px;
}

form#jsh-login-form button.jsh-btn.jsh-btn-primary {
    border: none !important;
}

.jsh-subscription-page .jsh-plan-features .jsh-feature-excluded .jsh-feature-icon.jsh-feature-x {
    color: #9ca3af;
}

.jsh-subscription-page .jsh-subscribe-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    background: #1c64f2 !important;
}

/* Daily Pass & Contact Us: same light grey style */
.jsh-subscription-page .jsh-plan-card .jsh-subscribe-btn.jsh-btn-secondary,
.jsh-subscription-page .jsh-plan-card .jsh-contact-us-btn {
    background: #e5e7eb !important;
    color: #000 !important;
}

.jsh-subscription-page .jsh-plan-card .jsh-subscribe-btn.jsh-btn-secondary:hover,
.jsh-subscription-page .jsh-plan-card .jsh-contact-us-btn:hover {
    background: #5a6268 !important;
    color: #fff !important;
}

.jsh-btn-popular {
    background: #8b5cf6 !important;
    color: #fff !important;
}
button.jsh-btn.jsh-subscribe-btn.jsh-btn-popular {
    background: #7e3af2 !important;
}

.jsh-btn-popular:hover {
    background: #7c3aed !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

/* Below section: Why choose + Custom pricing (combined) */
.jsh-below-section {
    margin-bottom: 40px;
}

.jsh-below-inner {
    display: grid;
    align-items: center !important;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 12px rgba(30, 64, 175, 0.06);
}

.jsh-why-choose-block {
    padding-right: 16px;
}

.jsh-why-choose-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 700 !important;
    color: #1e40af !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jsh-why-icon {
    font-style: normal;
}

.jsh-why-choose-list {
    margin: 0;
    padding-left: 20px;
    color: #1e40af !important;
    font-size: 16px;
    line-height: 1.6;
}

.jsh-why-choose-list li {
    margin-bottom: 6px;
}

.jsh-custom-pricing-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jsh-custom-pricing-title {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.jsh-custom-pricing-tagline {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #6b7280;
}

.jsh-custom-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #374151;
}

.jsh-custom-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
}

.jsh-custom-pricing-features .jsh-feature-icon {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
}

.jsh-btn-custom-contact {
    display: inline-block;
    padding: 12px 24px;
    background: #5b21b6 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.jsh-btn-custom-contact:hover {
    background: #7c3aed !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .jsh-below-inner {
        grid-template-columns: 1fr;
        padding: 24px 24px;
    }
    .jsh-why-choose-block {
        padding-right: 0;
    }
    .jsh-subscription-page .jsh-plans-grid.jsh-plans-grid-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .jsh-plans-grid-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .jsh-account-quick-actions {
        display: block !important;
    }
    a.jsh-account-quick-card {
        margin: 0 0 15px 0px;
    }
    .jsh-candidate-id {
        font-size: 14px;
    }
    .jsh-account-meta-row {
        font-size: 10px;
    }
    .jsh-auth-menu-list {
        margin: -15px 20px 0 0 !important;
        float: right;
    }
}

.jsh-subscription-footer {
    text-align: center;
    padding-top: 70px;
    border-top: 1px solid #e5e7eb;
}

.jsh-subscription-footer p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.jsh-footer-link {
    color: #2563eb !important;
    text-decoration: underline;
}

.jsh-footer-link:hover {
    text-decoration: none;
}

.jsh-footer-note {
    font-size: 14px !important;
    color: #9ca3af !important;
}

@media (max-width: 1200px) {
    .jsh-subscription-page .jsh-plans-grid.jsh-plans-grid-three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .jsh-plans-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .jsh-plans-grid-three {
        grid-template-columns: 1fr;
    }
    .jsh-plans-grid-four {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .jsh-subscription-controls {
        flex-direction: column;
    }

    .jsh-subscription-title {
        font-size: 1.75rem;
    }
}

/* Contact Modal */
.jsh-contact-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
}

.jsh-contact-modal-content {
    background: white;
    margin: 8% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 550px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.jsh-contact-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.3s;
}

.jsh-contact-modal-close:hover {
    color: #333;
}

.jsh-contact-modal-content h2 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 600;
}

.jsh-contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    min-height: 140px;
    margin-bottom: 20px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.jsh-contact-form textarea:focus {
    outline: none;
    border-color: #0073aa;
}

/* Responsive */
@media (max-width: 1400px) {
    .jsh-candidates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    .jsh-candidates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .jsh-candidates-container {
        padding: 20px 15px;
    }
    
    .jsh-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .jsh-search-filters {
        padding: 20px;
    }
    
    .jsh-search-filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jsh-search-bar {
        min-width: 100%;
        width: 100%;
    }
    
    .jsh-candidates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jsh-subscription-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .jsh-banner-content {
        text-align: center;
    }
    
    .jsh-filter-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .jsh-plans-grid {
        grid-template-columns: 1fr !important;
    }
    
    .jsh-candidate-image {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .jsh-title {
        font-size: 1.6em;
    }
    
    .jsh-search-bar {
        max-width: 100%;
    }
    
    .jsh-candidate-image {
        height: 200px;
    }
}

/* Required field star - red across all forms */
.jsh-required-star {
    color: #c00;
}

/* Password field with tick indicator and show/hide toggle */
.jsh-password-field-wrap {
    position: relative;
    display: block;
}
.jsh-password-field-wrap input {
    padding-right: 70px;
}
.jsh-password-tick {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}
.jsh-password-tick.is-valid {
    display: flex;
}
.jsh-password-tick::before {
    content: "\2713";
    font-weight: bold;
}
.jsh-password-toggle-visibility {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666 !important;
    font-size: 20px;
    line-height: 1;
    background: none !important;
    border: none !important;
}
.jsh-password-toggle-visibility:hover {
    color: #333 !important;
    transform: translateY(-50%);
}
.jsh-password-toggle-visibility .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}
/* When only eye (no tick), reduce input padding */
.jsh-password-field-wrap:not(.jsh-has-tick) input {
    padding-right: 44px;
}

/* Login/Register Forms */
.jsh-auth-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ccc !important;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.jsh-auth-form h1 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
    font-size: 1.8em;
}

.jsh-register-form p.description {
    font-size: 13px;
    font-weight: 600;
}

.jsh-auth-form-inner .jsh-form-row {
    margin-bottom: 20px;
}

.jsh-auth-form-inner label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.jsh-auth-form-inner input[type="text"],
.jsh-auth-form-inner input[type="email"],
.jsh-auth-form-inner input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc !important;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.jsh-auth-form-inner input[type="text"]:focus,
.jsh-auth-form-inner input[type="email"]:focus,
.jsh-auth-form-inner input[type="password"]:focus {
    outline: none;
    border-color: #0073aa;
}

.jsh-form-row-checkbox {
    display: flex;
    align-items: center;
}

.jsh-form-row-checkbox label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: normal;
}

.jsh-form-row-checkbox input[type="checkbox"] {
    margin-right: 8px !important;
}

.jsh-form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    display: none;
}

.jsh-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.jsh-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.jsh-form-footer {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.jsh-form-footer p {
    margin: 10px 0;
    color: #666;
}

.jsh-form-footer a {
    color: #57BB9A !important;
    text-decoration: none;
}

.jsh-form-footer a:hover {
    text-decoration: underline;
}

.jsh-btn.is-loading {
    position: relative;
    padding-right: 44px;
    opacity: 0.9;
}

.jsh-btn.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    animation: jshSpin 0.7s linear infinite;
    pointer-events: none;
}

@keyframes jshSpin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.jsh-auth-menu {
    display: block;
}

.jsh-auth-menu-list {
    list-style: none;
    margin: -20px 0 0 0;
    padding: 0;
    display: flex;
    gap: 14px;
}
.jsh-auth-form button.jsh-btn.jsh-btn-primary {
    background: #38D67F !important;
}
.jsh-auth-menu-link {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.jsh-auth-menu-link-primary {
    color: #57BB9A !important;
}
a.jsh-auth-menu-link {
    font-size: 15px;
    color: #078f6f !important;
}
a.jsh-auth-menu-link i {
    color: #078f6f !important;
}

.jsh-auth-menu-item-logged-in {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.jsh-auth-menu-userbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.jsh-auth-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.jsh-auth-menu-notification {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    flex-shrink: 0;
}

.jsh-auth-menu-notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
}

.jsh-auth-menu-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jsh-auth-menu-avatar .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.jsh-auth-menu-name {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.jsh-auth-menu-chevron {
    color: #6b7280;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.jsh-auth-menu-item-logged-in.is-open .jsh-auth-menu-chevron {
    transform: rotate(180deg);
}

.jsh-auth-menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 250px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(2, 8, 23, 0.15);
    z-index: 99;
    padding: 8px;
}

.jsh-auth-menu-item-logged-in.is-open .jsh-auth-menu-dropdown {
    display: block;
}

.jsh-auth-menu-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    color: #0f172a;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}

.jsh-auth-menu-dropdown-link:hover {
    background: #f8fafc;
}

.jsh-auth-menu-link-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    padding: 0 6px;
}

.jsh-auth-menu-dropdown-link-muted {
    color: #475569;
    cursor: default;
}

.jsh-auth-menu-dropdown-link-logout {
    color: #b91c1c;
}

@media (max-width: 767px) {
    .jsh-auth-menu-name {
        font-size: 14px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .jsh-auth-menu-trigger {
        padding: 0;
        gap: 8px;
    }
    .jsh-auth-menu-userbox {
        padding: 6px 10px;
        gap: 8px;
    }
    .jsh-auth-menu-notification {
        width: 30px;
        height: 30px;
    }
    .jsh-auth-menu-avatar,
    .jsh-auth-menu-avatar .avatar {
        width: 36px;
        height: 36px;
    }
    .jsh-auth-menu-dropdown {
        width: 220px;
        right: 0;
    }
}

.jsh-logged-in-message {
    text-align: center;
    padding: 20px;
}

.jsh-logged-in-message h2 {
    margin-bottom: 15px;
}

.jsh-logged-in-message p {
    margin-bottom: 15px;
    color: #666;
}

button.jsh-btn.jsh-btn-primary.jsh-search-submit {
    padding: 20px;
    background: #078f6f;
}

/* Login Banner */
.jsh-login-banner {
    background: linear-gradient(90deg, #EAF4FF 0%, #F3FAF7 100%);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.candidate-metabox {
    display: flex;
    justify-content: space-between;
}

.jsh-login-banner .jsh-banner-content {
    flex: 1;
    min-width: 300px;
}

.jsh-login-banner .jsh-banner-content h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
}

.jsh-login-banner .jsh-banner-content p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.95;
}

.jsh-login-banner .jsh-banner-action {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.jsh-login-banner .jsh-btn {
    min-width: 120px;
}

.jsh-login-required {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 30px;
}

.jsh-login-required p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #666;
}

.jsh-auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Auth Modal */
.jsh-auth-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.jsh-auth-modal-content {
    background-color: #ffffff;
    margin: 50px auto;
    padding: 0;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.jsh-auth-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 1;
    line-height: 1;
    transition: color 0.3s;
}

.jsh-auth-modal-close:hover {
    color: #333;
}

.jsh-auth-modal-body {
    padding: 40px;
}

.jsh-auth-modal-body h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
    font-size: 1.8em;
}

@media (max-width: 768px) {
    .jsh-login-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .jsh-login-banner .jsh-banner-content {
        text-align: center;
    }
    
    .jsh-login-banner .jsh-banner-action {
        width: 100%;
        justify-content: center;
    }
    
    .jsh-auth-modal-content {
        margin: 20px auto;
        width: 95%;
    }
    
    .jsh-auth-modal-body {
        padding: 30px 20px;
    }
}

/* Payment Messages */
.jsh-payment-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 400px;
    font-size: 14px;
    line-height: 1.5;
    animation: slideInRight 0.3s ease-out;
}

.jsh-payment-success {
    background: #00a32a;
    color: #fff;
    border-left: 4px solid #0073aa;
}

.jsh-payment-error {
    background: #d63638;
    color: #fff;
    border-left: 4px solid #b32d2e;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Candidate Single Page */
.jsh-candidate-single {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.jsh-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #0073aa;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.jsh-back-link:hover {
    color: #005a87;
}

.jsh-back-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.jsh-candidate-single-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    position: relative;
}

.jsh-candidate-single-header {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 32px 36px;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
}

.jsh-candidate-single-photo {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.jsh-candidate-single-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jsh-candidate-single-photo .jsh-single-overlay,
.jsh-candidate-single-photo .jsh-single-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.jsh-candidate-single-photo .jsh-single-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.jsh-candidate-single-title {
    flex: 1;
    min-width: 200px;
}

.jsh-candidate-single-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.jsh-candidate-single-meta .jsh-candidate-id {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
}

.jsh-candidate-single-meta .jsh-candidate-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.jsh-candidate-single-meta .jsh-candidate-rating .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #ffc107;
}

.jsh-candidate-single a.jsh-back-link {
    color: #065f46;
}

.jsh-candidate-single-name {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.jsh-candidate-single-role {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #6b7280;
}

.jsh-candidate-single-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.jsh-highlight-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #fef3c7;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
}

.jsh-highlight-availability {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #d1fae5;
    color: #065f46;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
}

.jsh-candidate-single-body {
    padding: 32px 36px 36px;
}

.jsh-candidate-single-section {
    margin-bottom: 32px;
}

.jsh-candidate-single-section:last-child {
    margin-bottom: 0;
}

.jsh-candidate-single-section h3 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jsh-candidate-single-section .jsh-candidate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jsh-candidate-single-section .jsh-candidate-description {
    margin: 0;
    min-height: 0;
    line-height: 1.7;
}

.jsh-candidate-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.jsh-candidate-detail-item {
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: 8px;
}

.jsh-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
}

.jsh-candidate-detail-item a {
    color: #0073aa !important;
    text-decoration: none;
}

.jsh-candidate-detail-item a:hover {
    text-decoration: underline;
}

.jsh-subscribe-prompt {
    padding: 24px;
    background: linear-gradient(90deg, #EAF4FF 0%, #F3FAF7 100%);
    border-radius: 8px;
}

.jsh-subscribe-prompt p {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: #374151;
}

.jsh-single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jsh-candidate-single-actions {
    padding: 24px 36px 28px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

@media (max-width: 768px) {
    .jsh-candidate-single {
        padding: 24px 16px 40px;
    }
    .jsh-candidate-single-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }
    .jsh-candidate-single-photo {
        width: 140px;
        height: 140px;
    }
    .jsh-candidate-single-body {
        padding: 24px 20px 28px;
    }
    .jsh-candidate-single-name {
        font-size: 24px;
    }
    .jsh-candidate-single-actions {
        padding: 20px;
    }
}

/* ========== Candidate Single - The House of Yaya design ========== */
.jsh-single-design .jsh-breadcrumbs {
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
}
.jsh-single-design .jsh-breadcrumbs a {
    color: #5b21b6;
    text-decoration: none;
}
.jsh-single-design .jsh-breadcrumbs a:hover {
    text-decoration: underline;
}
.jsh-breadcrumb-sep {
    margin: 0 6px;
    color: #9ca3af;
}
.jsh-breadcrumb-current {
    color: #1a1a1a;
    font-weight: 500;
}
.jsh-single-design .jsh-candidate-single-card {
    max-width: 1200px;
    margin: 0 auto;
}
.jsh-single-design .jsh-candidate-single-header {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 32px;
    align-items: start;
    padding: 32px 40px;
}
.jsh-single-design .jsh-candidate-single-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
}
.jsh-single-design .jsh-candidate-single-name {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.jsh-candidate-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 30px 0 10px;
}
.jsh-candidate-rating-row .jsh-stars .dashicons {
    color: #fbbf24;
    font-size: 20px;
    width: 20px;
    height: 20px;
}
.jsh-candidate-rating-row .jsh-stars .dashicons-dashicons-star-empty {
    color: #d1d5db;
}
.jsh-reviews-count {
    font-size: 15px;
    color: #6b7280;
}
.jsh-candidate-summary {
    margin: 0 0 14px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    max-width: 560px;
}
.jsh-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.jsh-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}
.jsh-badge-primary {
    background: #ede9fe;
    color: #5b21b6;
}
.jsh-badge-secondary {
    background: #f3f4f6;
    color: #4b5563;
}
.jsh-candidate-single-sidebar {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.jsh-sidebar-item .jsh-sidebar-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.jsh-sidebar-item .jsh-sidebar-value {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}
.jsh-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 5px 5px;
}
.jsh-single-design .jsh-btn-contact {
    background: #5b21b6 !important;
    color: #fff !important;
}
.jsh-single-design .jsh-btn-contact:hover {
    background: #6d28d9 !important;
    color: #fff !important;
}
.jsh-sidebar-actions .jsh-btn-save-profile,
.jsh-candidate-single-cta .jsh-btn-save-profile,
.jsh-candidate-single .jsh-btn-save-profile {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: none !important;
}
.jsh-btn-save-profile .jsh-heart-icon,
.jsh-candidate-single .jsh-btn-save-profile .jsh-heart-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.jsh-btn-save-profile .jsh-save-label {
    display: none;
}
.jsh-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.jsh-col-left,
.jsh-col-right {
    min-width: 0;
}
.jsh-single-design .jsh-candidate-single-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.jsh-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.jsh-detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}
.jsh-detail-row .jsh-detail-label {
    font-size: 13px;
    color: #6b7280;
    min-width: 120px;
}
.jsh-detail-row .jsh-detail-value {
    font-size: 15px;
    color: #1a1a1a;
}
.jsh-skills-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.jsh-skill-bar-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: center;
}
.jsh-skill-bar-label {
    font-size: 14px;
    color: #374151;
}
.jsh-skill-bar-wrap {
    height: 10px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}
.jsh-skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
    border-radius: 6px;
    transition: width 0.3s ease;
}
.jsh-languages-list {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    color: #374151;
    line-height: 1.8;
}
.jsh-additional-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.jsh-single-design .jsh-skill-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}
.jsh-availability-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.jsh-availability-table caption {
    font-size: 11px;
}
.jsh-availability-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}
.jsh-avail-day {
    color: #6b7280;
    font-weight: 500;
    width: 120px;
}
.jsh-avail-slot {
    color: #1a1a1a;
}
.jsh-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.jsh-services-col h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.jsh-services-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.jsh-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px !important;
    color: #374151;
}
.jsh-service-check {
    color: #22c55e;
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 5px;
}
.jsh-experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.jsh-experience-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}
.jsh-experience-item:last-child {
    border-bottom: none;
}
.jsh-experience-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.jsh-experience-company {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 6px;
}
.jsh-experience-desc {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 6px;
}
.jsh-experience-date {
    font-size: 13px;
    color: #9ca3af;
}
.jsh-view-all-reviews {
    font-size: 13px;
    color: #5b21b6;
    text-decoration: none;
    font-weight: 500;
}
.jsh-view-all-reviews:hover {
    text-decoration: underline;
}
.jsh-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.jsh-review-card {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.jsh-review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.jsh-review-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}
.jsh-review-stars .dashicons {
    color: #fbbf24;
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.jsh-review-date {
    font-size: 13px;
    color: #6b7280;
}
.jsh-review-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}
.jsh-no-reviews-text {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}
.jsh-candidate-single-cta {
    background: #f3f4f6;
    padding: 28px 40px;
    margin: 0;
    border-top: 1px solid #e5e7eb;
}
.jsh-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.jsh-cta-title {
    margin: 0 0 4px 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.jsh-cta-subtitle {
    margin: 0 !important;
    font-size: 14px;
    color: #6b7280;
}
.jsh-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.jsh-cta-inner .jsh-btn-contact-now,
.jsh-cta-inner .jsh-btn-message {
    background: #078f6f !important;
    color: #fff !important;
    flex-shrink: 0;
}
.jsh-cta-inner .jsh-btn-message:hover {
    background: #067a62 !important;
    color: #fff !important;
}
.jsh-candidate-actions .jsh-btn i {
    color: #fff;
}
@media (max-width: 1024px) {
    .jsh-single-design .jsh-candidate-single-header {
        grid-template-columns: 1fr;
    }
    .jsh-single-design .jsh-candidate-single-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
    .jsh-two-col {
        grid-template-columns: 1fr;
        padding: 24px 24px;
    }
    .jsh-services-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .jsh-single-design .jsh-candidate-single-header {
        padding: 24px 20px;
    }
    .jsh-two-col {
        padding: 20px 16px;
    }
    .jsh-skill-bar-row {
        grid-template-columns: 1fr;
    }
    .jsh-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }
}

/* Exact candidate single style (left sidebar, right content) */
.jsh-single-exact {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 16px 42px;
}
.jsh-single-exact .jsh-candidate-single-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
}
.jsh-single-exact .jsh-exact-header {
    grid-template-columns: 120px 1fr 220px;
    gap: 22px;
    padding: 24px 26px;
    border-bottom: 1px solid #e5e7eb;
}
.jsh-single-exact .jsh-candidate-single-photo {
    width: 108px;
    height: 108px;
    border-radius: 999px;
}
.jsh-single-exact .jsh-candidate-single-name {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 2px;
}
.jsh-single-exact .jsh-candidate-single-role {
    font-size: 22px;
    color: #6b7280;
    margin-bottom: 8px;
}
.jsh-single-exact .jsh-candidate-summary {
    font-size: 13px;
    max-width: 620px;
    margin: 8px 0 10px;
}
.jsh-single-exact .jsh-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 5px;
}
.jsh-single-exact .jsh-exact-sidebar {
    min-width: 0;
}
/* Sidebar card - white card with shadow (candidate single top-right) */
.jsh-single-exact .jsh-sidebar-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 20px 20px 16px;
}
span.jsh-sidebar-icon i {
    color: #fff;
}
.jsh-single-exact .jsh-sidebar-actions {
    float: right;
}
.jsh-single-exact .jsh-top-message-btn {
    background: #078f6f !important;
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    padding: 15px 30px;
}
.jsh-single-exact .jsh-top-message-btn:hover {
    background: #067a62 !important;
    color: #fff !important;
}
.jsh-single-exact .jsh-sidebar-presence {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
}
.jsh-single-exact .jsh-sidebar-presence.is-online {
    color: #15803d;
}
.jsh-single-exact .jsh-sidebar-presence.is-offline {
    color: #6b7280;
}
.jsh-single-exact .jsh-name-presence {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 600;
}
.jsh-single-exact .jsh-name-presence.is-online {
    color: #15803d;
}
.jsh-single-exact .jsh-name-presence.is-offline {
    color: #6b7280;
}
.jsh-single-exact .jsh-candidate-single-sidebar {
    position: relative;
}
.jsh-single-exact .jsh-sidebar-float-heart {
    position: absolute;
    top: -2px;
    left: -28px;
    z-index: 3;
}
.jsh-single-exact .jsh-btn-save-profile {
    border-radius: 0;
    background: transparent !important;
}
.jsh-single-exact .jsh-btn-save-profile .jsh-heart-icon {
    font-size: 20px;
    width: 25px;
    height: 25px;
    color: #d1d5db;
    transition: color 0.2s ease;
    margin-left: -10px;
}
.jsh-single-exact .jsh-btn-save-profile.jsh-saved-profile .jsh-heart-icon {
    color: #ec4899;
}
.jsh-single-exact .jsh-btn-save-profile:hover .jsh-heart-icon {
    color: #ec4899;
}
.jsh-single-exact .jsh-btn-save-profile .jsh-save-label {
    display: none;
}
/* Sidebar rows: icon + label + value */
.jsh-single-exact .jsh-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}
.jsh-single-exact .jsh-sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.jsh-single-exact .jsh-sidebar-item:first-of-type {
    padding-top: 4px;
}
.jsh-single-exact .jsh-sidebar-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}
.jsh-single-exact .jsh-sidebar-icon-purple {
    background: #bbc1c6;
}
.jsh-single-exact .jsh-sidebar-icon-green {
    background: #bbc1c6;
}
.jsh-single-exact .jsh-sidebar-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.jsh-single-exact .jsh-sidebar-item .jsh-sidebar-label {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.jsh-single-exact .jsh-sidebar-item .jsh-sidebar-value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.jsh-single-exact .jsh-exact-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 26px;
    padding: 20px 26px 14px;
}
.jsh-single-exact .jsh-col-left {
    border-right: 1px solid #f1f5f9;
    padding-right: 20px;
}
.jsh-single-exact .jsh-col-right {
    padding-left: 4px;
}
.jsh-single-exact .jsh-candidate-single-section {
    margin-bottom: 18px;
}
.jsh-single-exact .jsh-candidate-single-section h3 {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}
.jsh-single-exact .jsh-detail-row {
    gap: 10px;
    margin-bottom: 6px;
}
.jsh-single-exact .jsh-detail-label {
    min-width: 84px;
    font-size: 12px;
    color: #6b7280;
}
.jsh-single-exact .jsh-detail-value {
    font-size: 12px;
    color: #1f2937;
}
.jsh-single-exact .jsh-skill-bar-row {
    grid-template-columns: 120px 1fr;
    gap: 10px;
}
.jsh-single-exact .jsh-skill-bar-label {
    font-size: 12px;
}
.jsh-single-exact .jsh-languages-list,
.jsh-single-exact .jsh-services-list li,
.jsh-single-exact .jsh-review-text,
.jsh-single-exact .jsh-experience-desc,
.jsh-single-exact .jsh-experience-company,
.jsh-single-exact .jsh-experience-date {
    font-size: 12px;
}
.jsh-single-exact .jsh-services-col h4 {
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.jsh-single-exact .jsh-experience-title,
.jsh-single-exact .jsh-review-name {
    font-size: 13px;
}
.jsh-single-exact .jsh-review-card {
    border-radius: 6px;
    padding: 10px 12px;
}
.jsh-single-exact .jsh-availability-table td {
    padding: 5px 5px;
}
.jsh-single-exact .jsh-avail-day,
.jsh-single-exact .jsh-avail-slot {
    font-size: 12px;
}
.jsh-single-exact .jsh-availability-note {
    margin-top: 8px;
    font-size: 13px;
}
.jsh-single-exact .jsh-exact-cta {
    padding: 14px 26px;
}
.jsh-single-exact .jsh-cta-title {
    font-size: 16px !important;
    margin-bottom: 2px !important;
}
.jsh-single-exact .jsh-cta-subtitle {
    font-size: 12px;
}
.jsh-single-exact .jsh-btn-contact {
    background: #078f6f !important;
    border-radius: 4px;
}

.jsh-services-col {
    background: #f6f5ff;
    padding: 10px;
}

@media (max-width: 1100px) {
    .jsh-single-exact .jsh-exact-header {
        grid-template-columns: 1fr;
    }
    .jsh-single-exact .jsh-sidebar-float-heart {
        left: 0;
        top: -28px;
    }
    .jsh-single-exact .jsh-exact-body {
        grid-template-columns: 1fr;
    }
    .jsh-single-exact .jsh-col-left {
        border-right: none;
        padding-right: 0;
    }
}

/* Account dashboard (customer) */
.jsh-account-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px 40px;
    display: flex;
    gap: 24px;
}

.jsh-account-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    padding: 20px 18px;
}

.jsh-account-sidebar-header {
    margin-bottom: 25px;
}

.jsh-account-sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    color: #00736a !important;
}

.jsh-account-sidebar-header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.jsh-account-nav {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.jsh-account-nav li {
    margin-bottom: 4px;
}

.jsh-account-nav a,
.jsh-account-nav button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.jsh-account-my-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    flex-shrink: 0;
    margin-left: 8px;
}

.jsh-account-my-avatar .avatar,
.jsh-account-my-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.jsh-account-nav a span.dashicons,
.jsh-account-nav button span.dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.jsh-account-nav a.jsh-account-nav-active,
.jsh-account-nav button.jsh-account-nav-active {
    background: #f3e8ff;
    color: #6d28d9;
}

.jsh-account-nav a:hover, .jsh-account-nav button:hover {
    color: #00736a !important;
    background: #cfe6e1;
    font-weight: 700;
    border-radius: 5px;
}

.jsh-account-nav a .jsh-chat-unread-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    padding: 0 6px;
}

.jsh-chat-unread-badge.is-hidden {
    display: none !important;
}

ul.jsh-account-nav li a i {
    margin-left: 10px;
}

.jsh-account-nav.jsh-account-nav-logout li a span {
    margin-left: 10px;
}

.jsh-account-nav-logout {
    margin-top: 12px;
    border-top: 1px solid #e5e7eb;
    padding-top: 8px;
}

.jsh-account-nav-logout a {
    color: #b91c1c;
}

.jsh-account-main {
    flex: 1;
    min-width: 0;
}

.jsh-account-hero {
    background: linear-gradient(90deg, #078f6f, #21322e);
    border-radius: 20px;
    padding: 22px 24px;
    color: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.jsh-account-hero-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
}

.jsh-account-hero-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

.jsh-account-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.jsh-account-hero-metric {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
}

.jsh-account-hero-metric-label {
    font-size: 11px;
    opacity: 0.85;
}

.jsh-account-hero-metric-value {
    font-size: 16px;
    font-weight: 600;
}

.jsh-account-hero-actions .jsh-btn {
    padding-inline: 20px;
    background: #fff;
    color: #000 !important;
}

.jsh-account-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.jsh-account-quick-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #078f6f !important;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid;
}

.jsh-account-quick-card:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.jsh-account-quick-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cfe6e1;
    color: #078f6f;
}

.jsh-account-quick-icon .dashicons {
    font-size: 18px;
}

.jsh-account-quick-text {
    font-size: 14px;
    font-weight: 500;
}

.jsh-account-section {
    margin-bottom: 24px;
}

.jsh-account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.jsh-account-section-header h3 {
    margin: 0;
    font-size: 16px;
}

.jsh-account-section-header a {
    font-size: 13px;
    color: #078f6f !important;
}

.jsh-account-saved-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jsh-account-saved-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.jsh-account-saved-media {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.jsh-account-saved-photo {
    width: 150px;
    height: 150px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.jsh-account-saved-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.jsh-account-saved-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.jsh-account-saved-lock .dashicons {
    color: #ffffff;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.jsh-account-saved-placeholder .dashicons {
    color: #9ca3af;
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.jsh-account-saved-body {
    flex: 1;
    min-width: 0;
}

.jsh-account-empty {
    font-size: 14px;
    color: #6b7280;
}

.jsh-account-meta-row {
    font-size: 13px;
    color: #000;
}
.jsh-account-meta-row span:nth-of-type(2) {
    font-weight: 600;
    color: #000;
}

.jsh-account-meta-row span {
    margin-right: 12px;
}

.jsh-btn-save-profile.jsh-saved-profile {
    background: transparent !important;
}

.jsh-btn-save-profile.jsh-saved-profile .jsh-heart-icon {
    color: #e0245e;
}

.jsh-candidate-actions a.jsh-btn.jsh-btn-primary.jsh-contact-link {
    background: #078f6f;
}

@media (max-width: 960px) {
    .jsh-account-dashboard {
        flex-direction: column;
    }
    .jsh-account-sidebar {
        width: auto;
        display: block;
    }
    .jsh-account-nav li {
        flex: 1 1 auto;
    }
    .jsh-account-hero {
        grid-template-columns: minmax(0, 1.8fr) minmax(0, 2.2fr);
    }
}

@media (max-width: 640px) {
    .jsh-account-hero {
        grid-template-columns: minmax(0, 1fr);
    }
    .jsh-account-hero-actions {
        justify-self: flex-start;
    }

    .jsh-account-saved-card {
        align-items: flex-start;
        padding: 14px 14px;
    }
}

@media (max-width: 480px) {
    .jsh-auth-form {
        border: none;
        box-shadow: none;
    }
}

/* --- Chat / Messages --- */
.jsh-chat {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    min-height: 480px;
}
.jsh-chat-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}
.jsh-chat-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1F97F5 !important;
    font-size: 14px;
    font-weight: 500;
}
.jsh-chat-back-link:hover {
    color: #1d4ed8;
}

.jsh-chat-layout {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.jsh-chat-conversations {
    width: 320px;
    min-width: 280px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
}
.jsh-chat-conversations-header {
    padding: 23.5px 20px;
    border-bottom: 1px solid #eee;
}
.jsh-chat-conversations-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.jsh-chat-conversations-list {
    flex: 1;
    overflow-y: auto;
    max-height: 520px;
}
.jsh-chat-empty-state {
    padding: 24px 20px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}
.jsh-chat-conv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}
.jsh-chat-conv-item:hover,
.jsh-chat-conv-item.jsh-chat-conv-active {
    background: #f5f7f9;
}
.jsh-chat-conv-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e5e7eb;
}
.jsh-chat-conv-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.jsh-chat-conv-body {
    flex: 1;
    min-width: 0;
}
.jsh-chat-conv-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #111;
    margin-bottom: 2px;
}
.jsh-candidate-single-name .jsh-chat-presence-dot{
    width: 15px;
    height: 15px;
    margin-left: -6px;
}

.jsh-chat-presence-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
    background: #9ca3af; /* offline */
}
.jsh-chat-presence-dot.is-online {
    background: #22c55e; /* online */
}
.jsh-chat-presence-dot.is-offline {
    background: #9ca3af;
}
.jsh-chat-conv-preview {
    display: block;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jsh-chat-conv-time {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}
.jsh-chat-conv-meta {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.jsh-chat-conv-unread .jsh-chat-conv-name {
    font-weight: 700;
}
.jsh-chat-conv-unread .jsh-chat-conv-preview {
    color: #111827;
}
.jsh-chat-conv-unread-badge {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    padding: 0 6px;
}
.jsh-chat-thread {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.jsh-chat-thread-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fafafa;
}
.jsh-chat-thread-placeholder-inner {
    text-align: center;
    color: #6b7280;
}
.jsh-chat-thread-placeholder-inner i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}
.jsh-chat-thread-active {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.jsh-chat-thread-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.jsh-chat-thread-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
}
.jsh-chat-thread-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.jsh-chat-thread-header-name {
    font-weight: 600;
    font-size: 15px;
}
.jsh-chat-view-profile-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #1F97F5 !important;
    color: #1F97F5 !important;
    background: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
}
.jsh-chat-view-profile-btn:hover {
    background: #1F97F5;
    color: #fff !important;
}
button.jsh-chat-send-btn i {
    color: #fff !important;
}
a.jsh-btn.jsh-btn-primary.jsh-btn-message i {
    color: #fff;
}
.jsh-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    max-height: 400px;
}
.jsh-chat-msg {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 80%;
}
.jsh-chat-msg-mine {
    align-self: flex-end;
    align-items: flex-end;
}
.jsh-chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}
.jsh-chat-msg-mine .jsh-chat-msg-bubble {
    background: #1F97F5;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.jsh-chat-msg-theirs .jsh-chat-msg-bubble {
    background: #e5e7eb;
    color: #111;
    border-bottom-left-radius: 4px;
}
.jsh-chat-msg-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.jsh-chat-msg-status {
    font-size: 11px;
    letter-spacing: -1px;
    line-height: 1;
}
.jsh-chat-msg-status.is-sent,
.jsh-chat-msg-status.is-delivered {
    color: #9ca3af;
}
.jsh-chat-msg-status.is-read {
    color: #1F97F5;
}
.jsh-chat-send-form {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #fff;
    align-items: flex-end;
}
.jsh-chat-typing-indicator {
    min-height: 22px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 20px 0;
    color: #6b7280;
    font-size: 13px;
    font-style: italic;
}
.jsh-chat-typing-dots {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}
.jsh-chat-typing-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6b7280;
    opacity: 0.3;
    animation: jshTypingPulse 1.1s infinite ease-in-out;
}
.jsh-chat-typing-dots i:nth-child(2) {
    animation-delay: 0.18s;
}
.jsh-chat-typing-dots i:nth-child(3) {
    animation-delay: 0.36s;
}
@keyframes jshTypingPulse {
    0%, 80%, 100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}
.jsh-chat-send-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd !important;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    min-height: 44px;
    max-height: 120px;
}
.jsh-chat-send-btn {
    width: 54px !important;
    height: 54px;
    border-radius: 8px !important;
    border: none !important;
    background: #1F97F5 !important;
    color: #fff !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s !important;
}
.jsh-chat-send-btn:hover {
    background: #067a62;
}

@media (max-width: 768px) {
    .jsh-chat-topbar {
        gap: 12px;
    }
    .jsh-chat-layout {
        flex-direction: column;
    }
    .jsh-chat-conversations {
        width: 100%;
        max-height: 240px;
    }
    .jsh-chat-conversations-list {
        max-height: 200px;
    }
    .jsh-chat-messages {
        max-height: 300px;
    }
    .jsh-chat-view-profile-btn {
        padding: 7px 12px;
        font-size: 12px;
    }
}

/* ========== Subscription page redesign (screenshot-style) ========== */
.jsh-subscription-page {
    max-width: 1180px;
    padding: 0 16px 50px;
}

.jsh-subscription-page .jsh-pricing-hero {
    text-align: center;
    background: linear-gradient(135deg, #5539ff 0%, #2e49ff 100%);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 34px;
    padding: 54px 24px 36px;
    color: #fff;
}

.jsh-subscription-page .jsh-subscription-title {
    color: #fff !important;
    font-size: 48px;
    margin: 0 0 10px;
}

.jsh-subscription-page .jsh-subscription-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.jsh-subscription-page .jsh-subscription-controls {
    margin-top: 22px;
    margin-bottom: 0;
}

.jsh-subscription-page .jsh-currency-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 4px;
}

.jsh-subscription-page .jsh-currency-btn {
    border-radius: 999px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 12px;
    padding: 8px 14px;
}

.jsh-subscription-page .jsh-currency-btn.jsh-currency-active {
    background: #fff !important;
    color: #3e2cf4 !important;
}

.jsh-subscription-page .jsh-plans-grid.jsh-plans-grid-three {
    gap: 24px;
    margin-bottom: 30px;
}

.jsh-subscription-page .jsh-plan-card {
    border: 1px solid #e9ebf4;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(19, 30, 74, 0.07);
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.jsh-subscription-page .jsh-plan-card.jsh-plan-popular {
    border-color: #5a3ff4;
    box-shadow: 0 14px 30px rgba(77, 52, 241, 0.24);
    transform: translateY(-6px);
}

.jsh-subscription-page .jsh-plan-badge {
    top: 14px;
    transform: translateX(-50%);
    border-radius: 999px;
    padding: 6px 13px;
}

.jsh-subscription-page .jsh-plan-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef3ff;
    color: #4353f5;
    font-size: 16px;
    margin-bottom: 12px;
}

.jsh-subscription-page .jsh-plan-name {
    color: #111827;
    font-size: 27px;
}

.jsh-subscription-page .jsh-plan-tagline {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
}

.jsh-subscription-page .jsh-plan-price-block {
    margin-bottom: 16px;
    min-height: 0;
}

.jsh-subscription-page .jsh-plan-currency,
.jsh-subscription-page .jsh-plan-amount {
    font-size: 44px;
}

.jsh-subscription-page .jsh-plan-period {
    font-size: 18px;
}

.jsh-subscription-page .jsh-plan-features {
    margin-bottom: 20px;
}

.jsh-subscription-page .jsh-plan-features li {
    font-size: 14px;
    color: #334155;
    padding: 6px 0;
}

.jsh-subscription-page .jsh-subscribe-btn {
    margin-top: auto;
    border-radius: 8px;
    font-size: 14px;
}

.jsh-subscription-page .jsh-btn-primary,
.jsh-subscription-page .jsh-btn-popular {
    background: #4f33f6 !important;
}

.jsh-subscription-page .jsh-btn-secondary {
    background: #ebf0ff !important;
    color: #2f47e7 !important;
}

.jsh-section-title {
    text-align: center;
    margin: 0;
    font-size: 34px;
    color: #0f172a;
}

.jsh-section-subtitle {
    text-align: center;
    color: #64748b;
    margin: 8px 0 20px;
}

.jsh-testimonials-section {
    margin-bottom: 50px;
    margin-top: 100px;
}

.jsh-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.jsh-testimonial-card {
    background: #fff;
    border: 1px solid #edf0f8;
    border-radius: 12px;
    padding: 20px;
}

.jsh-stars {
    color: #ffb400;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 13px;
}

.jsh-testimonial-card p {
    margin: 0 0 12px;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
}

.jsh-testimonial-card strong {
    color: #0f172a;
    font-size: 14px;
}

.jsh-subscription-page .jsh-faq-section {
    margin-top: 48px;
    padding: 48px 24px 52px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.jsh-subscription-page .jsh-faq-container {
    max-width: 720px;
    margin: 0 auto;
}

.jsh-subscription-page .jsh-faq-title {
    text-align: center;
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

.jsh-subscription-page .jsh-faq-intro {
    text-align: center;
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}

.jsh-subscription-page .jsh-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jsh-subscription-page .jsh-faq-item {
    margin: 0;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.jsh-subscription-page .jsh-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    margin: 0;
    border: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a !important;
    line-height: 1.45;
    font-family: inherit;
    transition: background 0.15s ease;
}

.jsh-subscription-page .jsh-faq-question:hover {
    background: #f8fafc !important;
}

.jsh-subscription-page .jsh-faq-question-text {
    flex: 1;
    min-width: 0;
}

.jsh-subscription-page .jsh-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: transform 0.2s ease;
}

.jsh-subscription-page .jsh-faq-icon::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
}

.jsh-subscription-page .jsh-faq-item.active .jsh-faq-icon {
    transform: rotate(180deg);
}

.jsh-subscription-page .jsh-faq-answer {
    border-top: 1px solid #f1f5f9;
    background: #fff;
}

.jsh-subscription-page .jsh-faq-answer[hidden] {
    display: none !important;
}

.jsh-subscription-page .jsh-faq-item.active .jsh-faq-answer:not([hidden]) {
    display: block;
}

.jsh-subscription-page .jsh-faq-answer-inner {
    padding: 16px 20px 22px;
}

.jsh-subscription-page .jsh-faq-answer-inner p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.jsh-bottom-cta {
    margin-top: 44px;
    background: linear-gradient(135deg, #2563eb 0%, #4f33f6 100%);
    border-radius: 14px;
    text-align: center;
    color: #fff;
    padding: 44px 20px;
}

.jsh-bottom-cta h2 {
    color: #fff !important;
    margin: 0 0 8px;
}

.jsh-bottom-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px;
}

.jsh-bottom-cta-actions {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.jsh-bottom-cta .jsh-btn {
    min-width: 170px;
}

.jsh-bottom-cta .jsh-btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    color: #fff !important;
}

.jsh-bottom-cta-note {
    font-size: 13px;
    margin-top: 14px !important;
}

.jsh-bottom-cta-note a {
    color: #fff !important;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .jsh-subscription-page .jsh-subscription-title {
        font-size: 38px;
    }

    .jsh-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jsh-subscription-page .jsh-plan-card.jsh-plan-popular {
        transform: none;
    }
}

@media (max-width: 767px) {
    .jsh-subscription-page .jsh-subscription-title {
        font-size: 31px;
    }

    .jsh-subscription-page .jsh-currency-toggle {
        width: auto;
    }

    .jsh-subscription-page .jsh-faq-section {
        padding: 36px 16px 40px;
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 12px;
    }

    .jsh-subscription-page .jsh-plans-grid.jsh-plans-grid-three,
    .jsh-testimonials-grid {
        grid-template-columns: 1fr;
    }
}