@CHARSET "ISO-8859-1";

/*
 * The FontAwesome 4 @font-face was removed in the 3.8.x cleanup: no rule in this
 * plugin ever declared `font-family: FontAwesome`, so the face was never applied
 * and its ../fonts/ payload was never downloaded. The bundled FA 5 stylesheet
 * (assets/css/fontawesome/all.min.css) supplies the only icons we use (fa-star).
 */

.bupr-admin-settings-header p {
    font-size: 24px;
    /*	border-bottom:;*/
}

.wbcom-wrap .notice.notice-error.is-dismissible.learndash-license-is-dismissible {
    display: none;
}

.bupr-admin-settings-spinner {
    vertical-align: middle;
    display: none;
}

.bupr-btn-ajax {
    color: var(--bupr-admin-accent, #66c6e4);
}

#bupr_settings_updated {
    display: none;
    margin-left: 0;
    margin-bottom: 15px;
}

.bupr-review-fields input {
    width: 100%;
}

.bupr-remove {
    margin: 10px 0px;
}

.bupr-widget-class p {
    width: 100%;
}

.bupr-widget-class p label {
    width: 50%;
}

.bupr-widget-class p input {
    width: 50%;
}

.bupr-widget-class p select {
    width: 50%;
}

.bupr-adming-setting {
    float: left;
    width: 90%;
    padding-top: 10px;
}

.bupr-border {
    border-inline-end: 1px solid var(--bupr-admin-border, hsl(0, 0%, 87%));
}

.bupr-shortcode {
    font-size: 16px;
    font-weight: normal;
}
.wbcom-field-error{
    color: var(--bupr-admin-danger, #ee1313);
    font-family: auto;
    font-weight: 100;
}


/* Rounded sliders */
.bupr-slider.bupr-round {
    border-radius: 34px;
}

.bupr-slider.bupr-round:before {
    border-radius: 50%;
}

.bupr_excluding_member {
    width: 70%;
}

.bupr_adding_member {
    width: 70%;
}

.bupr-label {
    font-size: 15px;
    font-weight: 600;
}

@media (min-width: 782px) {
    .bupr-switch {
        width: 30px;
        height: 17px;
    }

    .bupr-slider:before {
        height: 13px;
        width: 13px;
        left: 2px;
        bottom: 2px;
    }

    input:checked+.bupr-slider:before {
        -webkit-transform: translateX(13px);
        -ms-transform: translateX(13px);
        transform: translateX(13px);
    }
}

/* Admin Switch Toggle : End */

/* setting page criteria tab */
.bupr-criteria input[type=text] {
    width: 95%;
    height: 40px;
    border-radius: 8px;
    border-color: var(--bupr-admin-border, #e3e2ea);
    background-color: var(--bupr-admin-surface-1, #fafafa);
    /* Must travel with the background. Once the surface follows the token it
       goes dark under body.admin-color-dark, while WP's default input colour
       stays near-black - dark text on a dark field. Verified in-browser. */
    color: var(--bupr-admin-text, #1e293b);
}

.bupr-admin-col-6.buprcriteria {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.bupr-criteria .bupr-delete-tag input[type=button],
#bupr-add-criteria-action input#bupr-btnAdd,
#bupr-admin-row-criteria input.bupr-remove.button.button-secondary {
    padding: 12px 30px;
    font-size: 15px;
    background: var(--bupr-admin-danger, #ee1313);
    margin-inline-end: 35px;
    text-shadow: none;
    font-weight: 600;
    width: auto;
    color: #fff;
    line-height: 1;
    border: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    box-shadow: 0px 8px 20px rgba(32, 53, 85, 0.35);
    border-radius: 12px;
    height: auto;
}

.bupr-criteria .bupr-delete-tag input[type=button]:hover {
    background: var(--bupr-admin-danger-hover, #272B41);
}

#bupr-add-criteria-action input#bupr-btnAdd:hover {
    background: var(--bupr-admin-success-hover, #272B41);
}

#bupr-add-criteria-action input#bupr-btnAdd {
    padding: 16px 30px;
    margin-bottom: 10px;
    margin-top: 10px;
    background: var(--bupr-admin-success, #08c462);
}

/*** css classes for admin setting page ***/
[class*="bupr-admin-col-"] {
    float: left;
    padding: 10px 0;
}

div#bupr-admin-row-criteria.bupr-admin-row {
    overflow: hidden;
    border: 1px solid var(--bupr-admin-border, #e3e2ec);
    border-radius: 10px;
    padding: 5px 13px;
    margin-top: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: var(--bupr-admin-white, #fff);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.bupr-admin-row#bupr-admin-row-criteria .bupr-admin-col-6 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.bupr-admin-col-1 {
    width: 8.33%;
}

.bupr-admin-col-2 {
    width: 16.66%;
}

.bupr-admin-col-3 {
    width: 25%;
}

.bupr-admin-col-4 {
    width: 33.33%;
}

.bupr-admin-col-5 {
    width: 41.66%;
}

.bupr-admin-col-6 {
    width: 50%;
}

.bupr-admin-col-7 {
    width: 58.33%;
}

.bupr-admin-col-8 {
    width: 66.66%;
}

.bupr-admin-col-9 {
    width: 75%;
}

.bupr-admin-col-10 {
    width: 83.33%;
}

.bupr-admin-col-11 {
    width: 91.66%;
}

.bupr-admin-col-12 {
    width: 100%;
}

@media(max-width: 767px) {
    [class*="bupr-admin-col-"] {
        width: 100%;
    }

    div#bupr-admin-row-criteria.bupr-admin-row {
        -ms-flex-flow: wrap;
        flex-flow: wrap;
    }

    .bupr-admin-col-6.buprcriteria {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

button.bupr-accordion {
    background-color: var(--bupr-admin-surface-2, hsl(0, 0%, 87%));
    border: medium none;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    color: var(--bupr-admin-text, hsl(0, 0%, 27%));
    cursor: pointer;
    font-size: 15px;
    margin: 0 5%;
    outline: medium none;
    padding: 15px 20px;
    text-align: left;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    width: 90%;
}

button.bupr-accordion.active,
button.bupr-accordion:hover {
    background-color: var(--bupr-admin-accent, hsl(207, 90%, 54%));
    color: white;
}

div.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.2s ease-out;
    transition: max-height 0.2s ease-out;
    margin: 0px 5%;
}

button.bupr-accordion::after {
    color: var(--bupr-admin-text-3, hsl(0, 0%, 47%));
    content: "+";
    float: right;
    font-size: 13px;
    font-weight: bold;
    margin-left: 5px;
}

button.bupr-accordion::after:hover {
    color: white;
}

button.bupr-accordion.active::after {
    content: "−";
    color: white;
}

/* custom css for switch */
.bupr-switch-custom {
    margin: 0 10px;
    margin-top: 6px;
}

.buprcriteria .bupr-switch {
    margin-right: 40px;
}

@media(max-width: 781px) {
    .buprcriteria input:checked+.bupr-slider::before {
        -webkit-transform: translateX(35px);
        -ms-transform: translateX(35px);
        transform: translateX(35px);
    }

    .buprcriteria .bupr-switch {
        width: 70px;
        margin-right: 0;
    }
}

.bupr-delete-tag {
    margin-top: 0px;
    margin-bottom: 10px;
}

.bupr-criteria-remove-button {
    border-radius: 20px;
    height: 34px;
    margin: 0;
    padding: 2px;
    width: 70px;
}

.buprcriteria span.description {
    margin: 0;
}

span.move-icons {
    font-size: 30px;
    font-weight: bold;
    margin-right: 10px;
    cursor: move;
}

.bupr-display-info {
    font-weight: normal;
    font-size: 14px;
    margin-left: 10px;
}

.bupr-show-if-allowed {
    display: none;
}

.bupr-approve-review {
    color: green;
}

.bupr-extra-actions {
    float: right;
}

.nav-tab-wrapper ul .bupr-general a:before {
    content: "\f111";
}

.nav-tab-wrapper ul .bupr-criteria a:before {
    content: "\f155";
}

.nav-tab-wrapper ul .bupr-shortcode a:before {
    content: "\f150";
}

.nav-tab-wrapper ul .bupr-display a:before {
    content: "\f478";
}

.nav-tab-wrapper ul .bupr-pro-features a:before {
    content: "\f527";
}

/*
 * The "Settings saved." notice is styled by `.bupr-admin .notice` in
 * assets/css/admin.css (the card-panel shell), NOT here.
 *
 * Two legacy rules used to live at this spot and were removed 2026-07-21:
 *
 * 1. `div#setting-error-settings_updated` set `position:absolute; right:50px`
 *    plus `background:transparent; border:none; box-shadow:none`. No ancestor
 *    is positioned, so the notice resolved against the initial containing
 *    block and floated over the card header stripped of all notice chrome -
 *    while `<hr class="wp-header-end">` in views/shell.php exists precisely to
 *    place it inline below the header. Being an ID (1,0,0) it always beat
 *    `.bupr-admin .notice` (0,2,0) regardless of load order, so the shell's
 *    styling could never take effect. A `@media (max-width:480px)` override
 *    reverted it to `position:relative`, which is why the breakage was
 *    desktop-only and survived mobile checks.
 *
 * 2. `button.notice-dismiss:before { color: red; }` was UNSCOPED. This
 *    stylesheet loads on the settings pages and the `review` CPT screen, so it
 *    recoloured the dismiss cross on every notice on those screens - including
 *    core's and other plugins'. Scoped dismiss styling lives in
 *    assets/css/admin.css (`.bupr-admin .notice .notice-dismiss`).
 *
 * Do not reintroduce either. Style notices through `.bupr-admin .notice`.
 */

.wbcom-settings-section-options input#profile_reviews_per_page {
    width: 300px;
    margin-inline-end: 10px;
}