/* Shared first-party Listeo controls inside the Red Sea Hub account/listing surfaces. */
body.rsh-account-skin #dashboard .switch_box input[type="checkbox"].switch_1 {
    width: 3.5em;
    height: 1.5em;
    border: 1px solid #37666b;
    border-radius: 3em;
    background: #153e43;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28);
}

body.rsh-account-skin #dashboard .switch_box input[type="checkbox"].switch_1:after {
    background: #d3e0e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

body.rsh-account-skin #dashboard .switch_box input[type="checkbox"].switch_1:checked {
    border-color: #79c783;
    background: #79c783;
}

body.rsh-account-skin #dashboard .switch_box input[type="checkbox"].switch_1:checked:after {
    background: #f4fff4;
}

body.rsh-account-skin #dashboard .switch_box input[type="checkbox"].switch_1:focus-visible {
    outline: 3px solid rgba(170, 239, 177, 0.76);
    outline-offset: 3px;
}

body.rsh-account-skin #dashboard .switch_box input[type="checkbox"].switch_1:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

/* Currency and duration units remain visible without becoming bright boxes. */
body.rsh-account-skin-add-listing #dashboard .select-input {
    position: relative;
}

body.rsh-account-skin-add-listing #dashboard .select-input > .data-unit {
    top: 50%;
    right: 12px;
    display: inline-flex;
    min-width: 42px;
    height: 28px;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #eef9f7;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

body.rsh-account-skin-add-listing #dashboard input[data-unit] {
    padding-right: 76px !important;
}

@media (max-width: 640px) {
    body.rsh-account-skin-add-listing #dashboard .form-field-_mandatory_fees-container #repeatable-list-container .repeatable-list-item td {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(92px, 0.72fr) 38px;
        gap: 10px;
        align-items: start;
    }

    body.rsh-account-skin-add-listing #dashboard .form-field-_mandatory_fees-container #repeatable-list-container .repeatable-list-item td .fm-input {
        min-width: 0;
        margin: 0;
    }

    body.rsh-account-skin-add-listing #dashboard .form-field-_mandatory_fees-container #repeatable-list-container .repeatable-list-item td .fm-input input {
        width: 100%;
        min-width: 0;
    }

    body.rsh-account-skin-add-listing #dashboard .form-field-_mandatory_fees-container #repeatable-list-container .repeatable-list-item td .fm-close {
        position: static;
        min-width: 38px;
        max-width: 38px;
        text-align: center;
    }

    body.rsh-account-skin-add-listing #dashboard .form-field-_mandatory_fees-container #repeatable-list-container .repeatable-list-item td .fm-close a {
        min-width: 38px;
        min-height: 38px;
        padding: 10px;
    }
}
