#submit-job-form.spotsy-submit-wizard [hidden],
.i-section + .add-listing-nav[hidden] {
    display: none !important;
}

.spotsy-submit-section > .container {
    width: min(100%, 790px);
    padding-inline: 15px;
}

.spotsy-submit-section > .container > .section-title {
    display: none;
}

#submit-job-form.spotsy-submit-wizard .fieldset-job_location .field > .description {
    display: none;
}

.spotsy-submit-section #submit-job-form,
.spotsy-submit-section #submit-job-form .form-section-wrapper,
.spotsy-submit-section #submit-job-form .form-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

#submit-job-form.spotsy-submit-wizard [id^="form-section-spotsy-step-"] .form-section {
    position: relative;
    opacity: 1;
    transform: none;
}

#submit-job-form .spotsy-submit-progress button,
#submit-job-form .spotsy-studio-picker,
#submit-job-form .spotsy-studio-picker .select2-selection__rendered {
    min-width: 0;
    overflow-wrap: anywhere;
}

#submit-job-form .spotsy-studio-picker .select2-container {
    width: 100% !important;
    max-width: 100%;
}

.spotsy-studio-picker select:not(.select2-hidden-accessible) {
    width: 100%;
}

#submit-job-form.spotsy-submit-wizard select.select2-hidden-accessible {
    width: 1px !important;
    max-width: 1px;
}

.spotsy-studio-summary {
    margin: 10px 0 0;
    color: #202632;
    font-weight: 600;
}

.spotsy-submit-error {
    margin: 8px 0 0;
    color: #a31527;
    font-weight: 600;
}

#submit-job-form .spotsy-submit-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
    scroll-margin-top: 100px;
}

.spotsy-submit-progress button {
    background: #f4f6fa;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    color: #334155;
    font: inherit;
    font-weight: 600;
    padding: 10px 8px;
}

.spotsy-submit-progress button[aria-current="step"] {
    background: #eaf0ff;
    border-color: #244eca;
    color: #183992;
}

#submit-job-form .spotsy-submit-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 16px 0;
}

.spotsy-submit-nav button:last-child {
    margin-left: auto;
}

.spotsy-submit-wizard:not(.spotsy-submit-final) .listing-form-submit-btn button:not(.save-listing-button),
.spotsy-submit-wizard:not(.spotsy-submit-final) #form-section-submit:not(:has(.save-listing-button)) {
    display: none;
}

.spotsy-submit-wizard:has(input[value="submit-listing"]) .listing-form-submit-btn .skip-preview-btn {
    display: none;
}

.spotsy-submit-optional {
    border-top: 1px solid #e3e8f0;
}

#submit-job-form .spotsy-submit-optional > summary {
    position: relative;
    padding: 16px 44px 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #26344d;
    list-style: none;
}

#submit-job-form .spotsy-submit-optional > summary::-webkit-details-marker {
    display: none;
}

.spotsy-submit-optional > summary::after {
    position: absolute;
    top: calc(50% - 6px);
    right: 24px;
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.spotsy-submit-optional[open] > summary::after {
    transform: rotate(225deg);
}

#submit-job-form :is(.fieldset-spotsy-feature,.spotsy-access-features) .c27-term-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
}

#submit-job-form :is(.fieldset-spotsy-feature,.spotsy-access-features) .c27-term-checklist label {
    display: block;
    min-height: 24px;
    height: auto;
    line-height: 1.35;
    cursor: pointer;
}

.spotsy-feature-group {
    grid-column: 1 / -1;
    margin: 12px 0 4px;
    color: #26344d;
    font-weight: 600;
}

.spotsy-gallery-cover-field > .field {
    display: none;
}

.spotsy-cover-preview {
    margin-top: 10px;
    max-width: 336px;
}

.spotsy-cover-preview img,
.spotsy-cover-choices img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

.spotsy-cover-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.spotsy-cover-choices button {
    width: 88px;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: white;
}

.spotsy-cover-choices button[aria-pressed="true"] {
    border-color: #244eca;
}

.spotsy-hour-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 16px;
}

#submit-job-form .spotsy-hour-modes label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

#submit-job-form .spotsy-hour-modes input[type="radio"] {
    appearance: auto;
    display: inline-block;
    position: static;
    opacity: 1;
    width: 16px;
    height: 16px;
    margin: 0;
}

.fieldset-work_hours:is([data-hours-mode="none"],[data-hours-mode="appointment"]) .c27-work-hours,
.fieldset-work_hours[data-hours-mode="none"] .c27-work-hours + .form-group,
.fieldset-work_hours[data-hours-mode="same"] :is(.bl-tabs-menu,.copy-schedule,.copy-hours-wrapper) {
    display: none !important;
}

#submit-job-form.spotsy-submit-final .preview-btn {
    background: #111;
    color: #fff;
}

@media (max-width: 600px) {
    #submit-job-form .spotsy-submit-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    #submit-job-form :is(.fieldset-spotsy-feature,.spotsy-access-features) .c27-term-checklist {
        grid-template-columns: minmax(0, 1fr);
    }
}
