@media (max-width: 768px) {
    .jobnst-flex-row { flex-direction: column !important; gap: 15px !important; }
    .jobnst-apply-form-wrapper { padding: 20px 10px !important; }
}

/* Settings page: Colors tab - label on the left, small swatch button on the right */
.jobnst-color-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    padding: 12px 15px;
}
.jobnst-color-row-label {
    font-weight: 600;
    color: #1d2327;
    font-size: 14px;
}
.jobnst-color-swatch {
    -webkit-appearance: none;
    appearance: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid #fff;
    outline: 1px solid #d1d3e2;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    background: none;
}
.jobnst-color-swatch::-webkit-color-swatch-wrapper { padding: 0; border-radius: 50%; }
.jobnst-color-swatch::-webkit-color-swatch { border: none; border-radius: 50%; }
.jobnst-color-swatch::-moz-color-swatch { border: none; border-radius: 50%; }
.jobnst-apply-form-wrapper input, .jobnst-apply-form-wrapper select, .jobnst-apply-form-wrapper textarea { box-sizing: border-box !important; }

.jobnst-apply-form-wrapper {
    margin: 40px auto !important;
    display: block !important;
    clear: both;
}
.jobnst-description-text p:has(code) { display: none; }

/* Admin dashboard: stat cards + reset confirmation modal */
.jobnst-modal { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px); }
.jobnst-modal-content { background: #fff; margin: 10% auto; padding: 30px; border-radius: 12px; width: 380px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.3); position: relative; border: 1px solid #eee; }
.jobnst-modal-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.jobnst-btn-opt { padding: 12px; border: none; border-radius: 6px; color: #fff; font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 11px; transition: 0.3s; }
.jobnst-btn-opt:hover { opacity: 0.85; transform: translateY(-2px); }

.jobnst-stat-card { flex: 1; border-radius: 4px; display: flex; align-items: center; padding: 15px 25px; color: #fff; min-height: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.jobnst-stat-icon { font-size: 24px; margin-right: 15px; opacity: 0.9; }
.jobnst-stat-label { font-size: 18px; font-weight: 500; flex-grow: 1; text-align: left; }
.jobnst-stat-number { font-size: 28px; font-weight: 700; margin-left: 20px; }

/* Reports screen: clean print output */
@media print {
    #adminmenumain,
    #wpadminbar,
    #wpfooter,
    .button-primary,
    .notice,
    .update-nag,
    .updated,
    .error,
    .is-dismissible {
        display: none !important;
    }

    #wpcontent, #wpbody-content {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .jobnst-admin-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    div {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* Settings page: layout/card-style radio selection highlight */
.jobnst-layout-radio:checked + .jobnst-layout-card,
.jobnst-card-radio:checked + .jobnst-style-preview {
    border-color: #2c5896 !important;
    background: #f3faff !important;
    border-width: 2px !important;
    box-shadow: 0 4px 15px rgba(56, 111, 251, 0.2);
}
.jobnst-email-header .dashicons { transition: 0.3s; }

/* Single job template */
.jobnst-single-job-container { background: #f9f9f9; font-family: 'Inter', sans-serif; padding-bottom: 80px; }
.jobnst-main-content-box { max-width: 1100px; margin: -50px auto 0; background: #fff; padding: 60px 50px; position: relative; z-index: 10; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.jobnst-content-title-blue { color: #3b82f6; font-size: 36px; font-weight: 700; margin: 0 0 15px 0; }
.jobnst-single-meta-row { display: flex; gap: 25px; align-items: center; margin-bottom: 35px; font-size: 14px; color: #3b82f6; border-bottom: 1px solid #eee; padding-bottom: 15px;}
.jobnst-meta-item { display: flex; gap: 8px; align-items: center; }
.jobnst-description-text { color: #555; line-height: 1.8; font-size: 16px; margin-bottom: 50px; }
.jobnst-features-header { color: #3b82f6; font-size: 22px; font-weight: 700; margin-bottom: 25px; display: block; width: fit-content; border-bottom: 3px solid #3b82f6; padding-bottom: 8px; }
.jobnst-features-table { width: 100%; border-collapse: collapse; margin-bottom: 40px;}
.jobnst-features-table td { padding: 20px 0; border-bottom: 1px solid #eee; font-size: 16px; }
.jobnst-label-col { width: 35%; color: #666; font-weight: 500; }
.jobnst-value-col { color: #111; font-weight: 600; }
