/* Modal « Publier sur Turnover » — style proche Turnover-IT */

.dialog.case-jobconnect-publish-modal .modal-dialog {
    width: min(980px, 96vw);
    max-width: 980px;
}

.dialog.case-jobconnect-publish-modal .modal-body {
    background: #f3f4f6;
    padding: 0;
    max-height: min(78vh, 820px);
    overflow-y: auto;
}

.dialog.case-jobconnect-publish-modal .modal-header {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.dialog.case-jobconnect-publish-modal .modal-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.jc-to-modal {
    color: #1e293b;
    font-size: 13.5px;
    line-height: 1.45;
}

.jc-to-toolbar {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    padding: 16px 20px 12px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.jc-to-publisher {
    flex: 0 0 auto;
    text-align: right;
    padding-bottom: 4px;
}

.jc-to-publisher-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jc-to-publisher strong {
    color: #0f172a;
}

.jc-to-publisher-mail {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.jc-to-section {
    background: #fff;
    margin: 10px 12px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.jc-to-section--assign {
    border-color: #c7d2fe;
    background: #f8fafc;
}

.jc-to-grid {
    display: grid;
    gap: 18px;
}

.jc-to-grid--2 {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 800px) {
    .jc-to-grid--2 {
        grid-template-columns: 1fr;
    }

    .jc-to-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .jc-to-publisher {
        text-align: left;
    }
}

.jc-to-field {
    min-width: 0;
}

.jc-to-field--grow {
    flex: 1;
}

.jc-to-field--inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jc-to-label {
    display: block;
    font-weight: 650;
    color: #1e3a5f;
    margin-bottom: 6px;
    font-size: 13px;
}

.jc-to-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.jc-to-label-row .jc-to-label {
    margin-bottom: 0;
}

.jc-to-req {
    color: #ef4444;
    font-weight: 700;
}

.jc-to-hint {
    margin-top: 5px;
    font-size: 12px;
    color: #94a3b8;
}

.jc-to-counter {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

.jc-to-counter.is-ok {
    color: #16a34a;
}

.jc-to-counter.is-bad {
    color: #dc2626;
}

.jc-to-input {
    display: block;
    width: 100%;
    height: 38px;
    padding: 7px 11px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jc-to-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.jc-to-input[readonly] {
    background: #f8fafc;
    color: #475569;
}

.jc-to-input--sm {
    height: 34px;
    max-width: 120px;
}

.jc-to-textarea {
    height: auto;
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

.jc-to-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jc-to-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
}

.jc-to-check input {
    margin: 0;
}

.jc-to-check--chip {
    background: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.jc-to-check--inline {
    margin-top: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    text-transform: uppercase;
    font-size: 11.5px;
    color: #475569;
}

.jc-to-salary-row {
    margin-bottom: 12px;
}

.jc-to-salary-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.jc-to-salary-badge--tjm {
    background: #22c55e;
}

.jc-to-salary-badge--annual {
    background: #f59e0b;
}

.jc-to-mini-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.jc-to-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.jc-to-range-sep {
    color: #94a3b8;
}

.jc-to-salary-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.jc-to-tip {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 12.5px;
}

.jc-to-tip .fas {
    margin-right: 6px;
    color: #f59e0b;
}

.jc-to-banner {
    margin: 12px 12px 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.jc-to-banner--info {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.jc-to-loading {
    padding: 28px 20px;
    color: #64748b;
}

.jc-to-modal code {
    font-size: 11.5px;
    background: #eef2ff;
    color: #3730a3;
    padding: 1px 5px;
    border-radius: 4px;
}
