.job-section-header {
    background: linear-gradient(90deg, #f3f4f6 60%, #e0e7ef 100%);
    border-radius: 10px;
    padding: 1.1rem 1.3rem 1.1rem 1.3rem;
    margin-bottom: 1.7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 5px solid #ff6100;
    border-right: 5px solid #ff6100;
    box-shadow: 0 2px 8px 0 rgba(36, 60, 120, 0.04);
}

.job-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.job-section-description {
    font-size: 1rem;
    color: #101011;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.2rem;
    font-weight: 600;
}

.job-progress-bar {
    margin: 24px 0 0 0;
    text-align: center;
    font-weight: 600;
    color: #374151;
    font-size: 16px;
    position: relative;
}

.job-progress-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 0 0;
}

.job-progress-dot {
    width: 18px;
    height: 6px;
    border-radius: 4px;
    background: #e5e7eb;
    display: inline-block;
    transition: background 0.2s;
}

.job-progress-dot-active {
    background: #ff6100;
}

.job-form {
    margin: 1rem auto;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.job-step {
    display: none;
    margin-bottom: 2.2rem;
}

.job-step-active {
    display: block;
}

.job-field {
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.job-field:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.job-field:focus-within {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.job-field-input {
    margin-top: 8px;
}

.job-field-input input,
.job-field-input textarea,
.job-field-input select {
    margin-top: 0;
}

.job-field label {
    display: block;
    font-weight: 600;
    margin: 0;
    font-size: 1.25rem !important;
    line-height: 1.5rem;
    color: #111;
}

.job-inline {
    margin-top: 5px !important;
}

.job-hint {
    display: block;
    color: #656f7d;
    font-size: 0.92rem;
    margin-top: 0rem;
    font-weight: 600;
}

.job-error-message {
    display: block;
    color: #dc2626;
    font-size: 0.95rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

.job-success {
    max-width: 47.5rem;
    margin: 1.2rem auto;
    padding: 1.1rem;
    border: 1px solid #10b981;
    color: #065f46;
    background: #d1fae5;
    border-radius: 0.75rem;
}

.job-nav {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-around;
}

.job-nav button {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #111827;
    background: #111827;
    color: #fff;
    cursor: pointer;
}

.job-nav button:hover {
    filter: brightness(1.1);
}

.job-submit {
    padding: 10px 16px;
    border-radius: 10px;
}

.job-success {
    max-width: 760px;
    margin: 1rem auto;
    padding: 16px;
    border: 1px solid #10b981;
    color: #065f46;
    background: #d1fae5;
    border-radius: 12px;
}

.job-hint {
    display: block;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.1rem;
    margin-top: 4px;
}

.job-error-message {
    display: block;
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.job-field-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 1px #dc2626 !important;
}

.job-field-error:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2) !important;
}

.job-matrix-table TH {
    text-align: center;
    font-size: 0.8rem;
    white-space: nowrap;
}

.select2-results__option,
.select2-selection__rendered {
    font-size: 1rem;
    font-weight: 600;
    color: #656f7d;
}

.job-field INPUT {
    font-size: 1.1rem !important;
    font-weight: 600;
}

.job-field SMALL {
    font-size: 1rem !important;
    font-weight: 600;
    color: #777;
}

/* Pulsanti migliorati */
.job-nav {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.job-nav button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.job-nav button[type="submit"] {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.job-nav button[type="submit"]:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.job-nav button[type="submit"]:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.job-nav button[type="button"] {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.job-nav button[type="button"]:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Loader Styles */
.job-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.job-loader.active {
    display: flex;
}

.job-loader-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.job-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}