/**
 * Job50 Core — Shared Wizard UI
 *
 * Selectors used by both job-wizard (recruiter) and job-search-wizard (seeker).
 * Previously duplicated in each plugin's company-job-wizard.css.
 * Both wizard plugins now declare 'job50-shared-wizard' as a style dependency.
 */

/* ── Days picker (working days selector) ──────────────────────────────────── */
.conditional-days-wrap{
    padding-left: 40%;
}
.days-picker {
    display: grid;
    grid-template-columns: repeat(7, minmax(40px, 1fr));
    gap: 10px;
    width: 60%;
    margin-top: 10px;
}

.days-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.days-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    border-radius: 9999em;
    background: #f7f7f7;
    border: 1px solid #ddd;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    transition: all .2s ease;
}

.days-option:hover span {
    border-color: var(--wp--preset--color--accent-1);
    transform: translateY(-1px);
}

.days-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.days-option input:checked + span {
    background: var(--wp--preset--color--accent-1);
    border-color: var(--wp--preset--color--accent-1);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.days-option input:focus-visible + span {
    outline: 2px solid var(--wp--preset--color--accent-1);
    outline-offset: 2px;
}

.conditional-days-wrap[hidden] {
    display: none;
}

/* ── Driving license ──────────────────────────────────────────────────────── */

.job-wizard-driving-license-none-label {
    width: 100%;
}

#fieldset_driving_license .checkbox-group label.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}

#fieldset_driving_license .checkbox-group label.is-disabled input[type="checkbox"] {
    cursor: not-allowed;
}
