
/* ---------------------- Email Notifications ---------------------- */

.edbr_toggle_wrapp {
    width: 46px;
    height: 22px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: auto !important;
    transition: all 0.4s ease;
}

.edbr_toggle_input {
    display: none;
}

.edbr_toggle_main {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 15px;
    background: #E9E9E9;
    transition: background 0.4s ease;
}

.edbr_toggle_main::before {
    left: 2px;
    top: 2.4px;
    width: 18px;
    content: "";
    height: 18px;
    outline: none;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    transition: transform 0.5s cubic-bezier(.26,2,.46,.71), box-shadow 0.3s ease, background-color 0.3s ease;
}

.edbr_toggle_input:checked + .edbr_toggle_main {
    background: var(--primary, #007bff);
}

.edbr_toggle_input:checked + .edbr_toggle_main::before {
    transform: translateX(24px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.8s cubic-bezier(.26,2,.46,.71), box-shadow 0.3s ease, background-color 0.3s ease;
}

.edbr_toggle_wrapp:hover .edbr_toggle_main::before {
    box-shadow: 0 5px 12px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.1);
}

.edbr_toggle_input:active + .edbr_toggle_main::before {
    top: 1px;
    transform: translateX(calc( var(--toggle-checked, 0) + 1px ));
    box-shadow: 0 3px 6px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.08);
}

.edbr_toggle_input:focus + .edbr_toggle_main::before {
    box-shadow: 0 0 0 3px rgba(0, 52, 194, 0.3);
}

.edbr_toggle_main {
    transition: background 0.4s ease, box-shadow 0.3s ease;
}

.edbr_hide {
    display: none;
}

.edbr_notification_settings_wrapp {
    margin-bottom: 50px;
}

.edbr_notification_setting_content_action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.edbr_notification_setting_content {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
}

.edbr_notification_setting_header_wrapp {
    margin-bottom: 25px;
}

.edbr_notfification_setting_title,
.edbr_profile_visibility_content_title {
    color: #000;
    font-size: 20px;
    line-height: 31px;
    position: relative;
    padding-bottom: 18px;
}

.edbr_notfification_setting_title::after,
.edbr_profile_visibility_content_title::after {
    bottom: 0;
    left: 8px;
    content: "";
    height: 3px;
    width: 20px;
    position: absolute;
    background-color: #2d5be3;
}

.edbr_notfification_setting_title::before,
.edbr_profile_visibility_content_title::before {
    left: 0;
    bottom: 0;
    width: 6px;
    content: "";
    height: 3px;
    position: absolute;
    background-color: #2d5be3;
}

.edbr_notfification_setting_title::before,
.edbr_notfification_setting_title::after,
.edbr_profile_visibility_content_title::after,
.edbr_profile_visibility_content_title::before {
    background-color: #2d5be3 !important;
}

body.notifications form#settings-form > p {
    display: none;
}

[data-theme="dark-mode"] .edbr_notfification_setting_title,
[data-theme="dark-mode"] .edbr_profile_visibility_content_title {
    color: #F0F0F0;
}

[data-theme="dark-mode"] .edbr_toggle_main {
    background: #7C7C7C;
}


/* ---------------------- Profile Visibility ----------------------  */

.edbr_profile_visibility_content_wrap {
    margin-bottom: 50px;
}

.edbr_profile_visibility_content_header_wrap {
    margin-bottom: 25px;
}

.edbr_profile_visibility_content {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    justify-content: space-between;
}

.edbr_profile_visibility_field > select {
    font-size: 15px;
    border-radius: 5px;
    background-color: #FFF;
    padding: 8px 40px 8px 20px;
}

.edbr_profile_visibility_field > select > option {
    padding: 8px;
    background: #FFF;
}

.edbr_profile_visibility_field > select:focus {
    outline: none;
}

.edbr_profile_visibility_field > select option:hover,
.edbr_profile_visibility_field > select option:checked {
    background-color: #e7edff;
}

[data-theme="dark-mode"] .edbr_profile_visibility_field > select {
    appearance: none;
    background-size: 20px;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: calc(100% - 13px) calc(50% - 2px);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%23eaeaea'><path d='M15.7 9.3L12 13 8.3 9.3 6.9 10.7 12 15.8l5.1-5.1z'/></svg>") !important;
}





@media only screen and (max-width: 500px) {

    body.notifications form#settings-form,
    body.profile form#settings-form {
        padding: 30px 20px;
    }

    .edbr_notification_setting_content {
        gap: 8px;
    }

    .edbr_notification_setting_content_title,
    .edbr_profile_visibility_field_name,
    .edbr_profile_visibility_field {
        font-size: 15px;
    }

    [data-theme="dark-mode"] .edbr_profile_visibility_field_name {
        color: #F0F0F0;
    }

}

@media only screen and (max-width: 400px) {

    .edbr_profile_visibility_field > select {
        padding: 6px 35px 6px 15px;
    }

}