/*
 * Selfnamed: Cosmetics on demand extension is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

.sn-plugin .sync-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s;
    z-index: 900000;
}

.sn-plugin .sync-modal._active {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.sn-plugin .sync-all-products-confirmation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sn-plugin .sync-all-products-confirmation .overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.sn-plugin .sync-all-products-confirmation .content {
    background-color: #fafafa;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    z-index: 2;
    transform: translateY(-40px);
    transition: transform .16s;
}

.sn-plugin .sync-all-products-confirmation._active .content {
    transform: translateY(0);
}

.sn-plugin .sync-all-products-confirmation .action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sn-plugin .sync-all-products-loading {
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}
