/* Admin Header Styles */
.uxh-sobw-header {
    background-color: #fff;
    padding: 28px;
    border-bottom: 1px solid #C6CBDB;
    margin-bottom: 20px;
    margin-left: -20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uxh-sobw-header img {
    height: 28px;
}

.uxh-sobw-header a {
    color: #a3aac3;
    margin-left: auto;
    text-decoration: none;
}

/* Tab Content Styles */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Order Bumps List Headers */
.uxh_sobw_order_bumps_list_headers {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    margin-right: 12px;
}

.uxh_sobw_order_bumps_list_header {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

.uxh_sobw_order_bumps_list_header:first-child {
    min-width: 50% !important;
    text-align: left;
}

/* Form Table Styles */
.form-table th {
    display: none;
}

.form-table td {
    padding: 0px;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4ED020;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

/* Select2 Dropdown Styles */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #C6CBDB;
    border-radius: 8px;
    height: 42px;
    align-content: center;
    max-width: 450px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #fff;
    border: 1px solid #C6CBDB;
    border-radius: 8px;
    height: 42px;
    align-content: center;
}

.select2-container--open .select2-dropdown {
    max-width: 450px;
}

.select2-container {
    max-width: 450px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

/* Nav Tabs Styles */
.nav-tab {
    border: none;
    padding: 12px;
    background-color: unset;
    margin-bottom: -1px;
}

.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
    border-bottom: 2px solid #F04545;
    color: #1E274A;
    margin-bottom: -1px;
    box-shadow: none;
}

.nav-tab:hover {
    border-bottom: 2px solid #F04545;
    padding: 12px;
    background-color: unset;
    margin-bottom: -1px;
}

/* Admin Content Background */
#wpcontent {
    background: #F0F1F5;
}

/* General Form Input and Button Styles */
input[type="text"], input[type="number"], select {
    border: 1px solid #C6CBDB;
    border-radius: 8px;
    height: 42px;
    max-width: 450px;
    padding: 0 10px;
}

.button.uxh_sobw_edit_order_bump {
    background-color: #fff;
    border: 1px solid #C6CBDB;
    border-radius: 8px;
    color: #1E274A;
    padding: 4px 28px;
}

/* Order Bump Block */
.uxh_sobw_order_bump_block {
    background-color: #fff;
    border: 1px solid #C6CBDB;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    row-gap: 18px;
    padding: 36px;
    padding-right: 12px;
    margin-right: 12px;
}

.uxh_sobw_order_bump_product a {
    color: #1E274A;
}

/* Additional Styles for Admin Page Elements */
.uxh_sobw_order_bump_collapsed {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uxh_sobw_order_bump_discount,
.uxh_sobw_order_bump_active,
.uxh_sobw_order_bump_action {
    flex: 1;
    text-align: center;
}

.uxh_sobw_order_bump_settings {
    display: none;
    padding-top: 20px;
}

.uxh_sobw_delete_order_bump {
    cursor: pointer;
    color: #F04545;
    align-content: center;
}

.uxh_sobw_order_bump_settings p {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 12px;
}

.uxh_sobw_order_bump_settings p label {
    margin-bottom: 8px;
    font-weight: bold;
}

.uxh_sobw_order_bump_settings button.button-primary {
    background-color: #1E274A;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    color: #fff;
}
