:root {
  --fs-16: clamp(14px, 1vw + 12px, 16px);
  --fs-18: clamp(16px, 1vw + 14px, 18px);
  --fs-20: clamp(18px, 1vw + 16px, 20px);
  --fs-22: clamp(20px, 1vw + 18px, 22px);
  --fs-24: clamp(22px, 1vw + 20px, 24px);
  --fs-26: clamp(24px, 1vw + 22px, 26px);
  --fs-28: clamp(26px, 1vw + 24px, 28px);
}
:is(h1,h2,h3,h4,h5,h6){
    font-family: 'DM Sans', sans-serif !important;
}
.job-detail-wrap {
    max-width: 1280px;;
    margin: 30px auto;
    padding: 0 16px 60px;
}

.job-top-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px 18px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin-bottom: 16px;
}
.job-logo {
    width: 64px; height: 64px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.job-logo-placeholder {
    width: 64px; height: 64px;
    border-radius: 12px;
    background: #ff5757;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
    flex-shrink: 0;
}
.job-top-info { flex: 1; }
.job-top-info h1 { font-size: var(--fs-28) !important; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin: 0;  }
.job-top-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; color: #555; font-size: 0.82rem; }
.job-top-meta span { display: flex; align-items: center; gap: 4px; }
.job-top-meta i { color: #ff5757; }
.job-badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.badge-verified {
    display: inline-flex; align-items: center; gap: 4px;
    background: #e8f5e9; color: #2e7d32;
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 8px; border-radius: 20px;
}
.badge-urgent {
    display: inline-flex; align-items: center; gap: 4px;
    background: #fff3e0; color: #e65100;
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 8px; border-radius: 20px;
}
.save-job-btn {
    background: none; border: 1px solid #ddd;
    border-radius: 8px; padding: 7px 13px;
    font-size: 0.78rem; color: #666;
    cursor: pointer; display: flex; align-items: center; gap: 5px;
    white-space: nowrap; height: fit-content;
    transition: border-color .2s, color .2s;
}
.save-job-btn:hover { border-color: #ff5757; color: #ff5757; }

.job-gallery {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.job-gallery h2 { font-size: var(--fs-24) !important; font-weight: 700; color: #444; margin-bottom: 10px; }
.gallery-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-grid img {
    width: 100px; height: 80px;
    object-fit: cover; border-radius: 8px;
    border: 1px solid #eee; cursor: pointer;
}

.job-section {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    margin-top: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.job-section h2 {
    font-size: var(--fs-24) !important; font-weight: 700;
    color: #1a1a1a; margin-bottom: 14px;
    padding-bottom: 10px;
}

.salary-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.salary-row i { color: #ff5757; font-size: 1.1rem; }
.salary-label { font-size: 0.8rem; color: #888; }
.salary-value { font-size: 1rem; font-weight: 700; color: #1a1a1a; }

.perks-label { font-size: 0.8rem; color: #888; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.perks-label i { color: #ff5757; }
.perk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.perk-chip {
    display: inline-flex; align-items: center; gap: 5px;
    background: #f5f5f5; color: #333;
    font-size: 0.78rem; font-weight: 500;
    padding: 5px 10px; border-radius: 20px;
    border: 1px solid #e0e0e0;
}
.perk-chip i { font-size: 0.75rem; }

.job-desc { font-size: 0.88rem; line-height: 1.7; color: #444; }

.eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.elig-item { display: flex; gap: 10px; align-items: flex-start; }
.elig-icon { color: #ff5757; font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.elig-label { font-size: 0.75rem; color: #888; margin-bottom: 3px; }
.elig-value { font-size: 0.88rem; font-weight: 600; color: #1a1a1a; }

.skills-label { font-size: 0.8rem; color: #888; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.skills-label i { color: #ff5757; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.skill-chip {
    background: #f5f5f5;
    color: #333;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}

.lang-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lang-chip {
    background: #f5f5f5; color: #333;
    font-size: 0.78rem; padding: 4px 10px;
    border-radius: 20px; border: 1px solid #e0e0e0;
    font-weight: 500;
}

/* ── SALON DETAILS ── */
.salon-detail-row {
    display: flex; gap: 12px; align-items: flex-start;
    margin-bottom: 14px;
}
.salon-detail-row:last-child { margin-bottom: 0; }
.salon-icon {
    width: 32px; height: 32px;
    background: #f8f0ff; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #ff5757; font-size: 0.9rem; flex-shrink: 0;
}
.salon-detail-label { font-size: 0.75rem; color: #888; margin-bottom: 2px; }
.salon-detail-value { font-size: 0.88rem; font-weight: 600; color: #1a1a1a; }

/* ── FAQs TRUST ── */
.faq-trust-grid {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.faq-trust-item {
    flex: 1; min-width: 120px;
    border: 1px solid  #ff5757;
    border-radius: 10px; padding: 20px 15px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 6px;
}
.faq-trust-item i { font-size: 1.4rem; color:  #ff5757; }
.faq-trust-item span { font-size: 14px; font-weight: 600; color: #333; line-height: 1.3; }
.faq-show-all {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 4px; font-size: 0.8rem; color: #ff5757;
    font-weight: 600; cursor: pointer; margin-bottom: 12px;
    background: none; border: none;
}
.job-message-btn{
    margin: 20px 0;
}

/* ── ACTION BUTTONS ── */
.job-actions {
    display: flex; gap: 12px; margin-bottom: 16px;
}
.btn-apply {
    flex: 1; background: #ff5757; color: #fff;
    border: none; border-radius: 10px;
    padding: 14px 20px; font-size: 0.95rem; font-weight: 700;cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-call {
    flex: 1; background: #fff; color: #ff5757;
    border: 2px solid #ff5757; border-radius: 10px;
    padding: 14px 20px; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all .2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-call:hover { background: #ff5757; color: #fff !important; }

.similar-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.sim-job-card {
    background: #fff; border-radius: 12px;
    padding: 14px; border: 1px solid #eee;
    text-decoration: none; color: inherit;
    display: block; transition: box-shadow .2s;
}
.sim-job-card:hover {
    box-shadow: 0 0px 5px 1px rgba(255,87,87,.5);
}
.sim-job-logo {
    width: 36px; height: 36px; border-radius: 8px;
    object-fit: cover; margin-bottom: 8px;
    border: 1px solid #eee;
}
.sim-job-logo-placeholder {
    width: 36px; height: 36px; border-radius: 8px;
    background: #ff5757; display: flex;
    align-items: center; justify-content: center;
    color: #fff; font-size: 14px; margin-bottom: 8px;
}
.sim-job-title { font-size: var(--fs-16); font-weight: 700; color: #1a1a1a; margin-bottom: 7px; line-height: 1.3; }
.sim-job-loc { font-size: 14px; color: #666; display: flex; align-items: center; gap: 3px; margin-bottom: 6px; }
.sim-job-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.sim-job-meta span { font-size: 14px; color: #555; display: flex; align-items: center; gap: 3px; }
.sim-job-meta i { color: #ff5757; font-size: 14px; }

.view-more-btn {
    display: block; margin: 16px auto 0;
    background: #fff; border: 2px solid #ff5757;
    color: #ff5757; border-radius: 10px;
    padding: 10px 30px; font-size: 0.88rem; font-weight: 700;
    cursor: pointer; transition: all .2s;
}
.view-more-btn:hover { background: #ff5757; color: #fff; }

.how-to-apply h2 { font-size: 1.1rem; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; text-align: center; }
.how-divider { width: 40px; height: 3px; background: #ff5757; border-radius: 2px; margin: 0 auto 16px; }
.how-videos { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.how-video-card {
    width: 180px; border-radius: 12px; overflow: hidden;
    background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08);
    cursor: pointer;
}
.how-video-thumb {
    width: 100%; height: 100px;
    background: linear-gradient(135deg, #ff5757, #c2185b);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
}
.how-video-title { font-size: 0.75rem; font-weight: 600; color: #333; padding: 8px; text-align: center; line-height: 1.4; }

.explore-btn {
    display: block; margin: 16px auto 0;
    background: none; border: 1.5px solid #555;
    color: #333; border-radius: 20px;
    padding: 9px 24px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
}
.explore-btn:hover { background: #333; color: #fff; }

.report-line { text-align: center; font-size: 0.78rem; color: #888; margin: 8px 0 20px; }
.report-line a { color: #ff5757; font-weight: 600; text-decoration: none; }

@media (max-width: 600px) {
    .similar-jobs-grid { grid-template-columns: 1fr 1fr; }
    .eligibility-grid { grid-template-columns: 1fr; }
    .job-actions { flex-direction: column; }
    .faq-trust-grid { flex-direction: column; }
    .how-videos { flex-direction: column; align-items: center; }
}
@media (max-width: 420px) {
    .similar-jobs-grid { grid-template-columns: 1fr; }
}

.phone-protected,
.address-protected,
.company-protected{
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.blur-text{
    filter: blur(5px);
    user-select: none;
    color: #ff5757;
}

.login-tooltip{
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background:#222;
    color:#fff;
    padding:6px 10px;
    font-size:12px;
    border-radius:6px;
    white-space:nowrap;
    opacity:0;
    pointer-events:none;
    transition:.3s;
}

.login-tooltip.show{
    opacity:1;
}

.btn-disabled{
    opacity:.6;
    cursor:not-allowed;
    position:relative;
}

.apply-form-wrapper {
    margin-top: 20px;
    border: 2px solid #e83e5a;
    border-radius: 12px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}
.apply-form-inner {
    padding: 24px;
    background: #fff;
    position: relative;
}
.apply-form-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
}
/* Force WP Job Manager apply content to show immediately */
.apply-form-wrapper .job-manager-application-wrapper { display: block !important; }
.apply-form-wrapper .application { display: block !important; }
.apply-form-wrapper .job_application { display: block !important; }
.application_button{display: none;}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* job details form css start */
/* Field spacing */
.apply-form-wrapper .job-manager-application-form fieldset {
    border: none;
    margin-bottom: 18px;
    padding: 0;
}

/* Labels */
.apply-form-wrapper .job-manager-application-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* Inputs & textarea */
.apply-form-wrapper .job-manager-application-form .input-text {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

/* Textarea */
.apply-form-wrapper .job-manager-application-form textarea.input-text {
    height: 120px;
    padding: 12px;
    resize: vertical;
}

/* Focus state */
.apply-form-wrapper .job-manager-application-form .input-text:focus {
    border-color: #ff5757;
    box-shadow: 0 0 0 2px rgba(255,87,87,0.15);
    outline: none;
}

/* File upload */
.apply-form-wrapper .job-manager-application-form input[type="file"] {
    padding: 10px;
    border: 1px dashed #ff5757;
    border-radius: 8px;
    background: #fff7f7;
}

/* Submit button */
.apply-form-wrapper input[type='submit'] {
    background: #ff5757;
    color: #fff;
    border: 1px solid #ff5757;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

/* Button hover */
.apply-form-wrapper input[type='submit']:hover {
    background: transparent;
    color: #ff5757;
}

/* Small description text */
.apply-form-wrapper .job-manager-application-form .description {
    font-size: 12px;
    color: #777;
}

/* Optional small text */
.apply-form-wrapper .job-manager-application-form small {
    color: #999;
}
/* job details form css end */
