/**
 * Notifications Page Styles
 * 
 * Стили для страницы настроек уведомлений
 */

/* Стили для чекбоксов уведомлений */
.notification-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin: 0;
    vertical-align: middle;
    flex-shrink: 0;
}

.notification-checkbox:checked {
    background-color: var(--color-white, #fff);
    border-color: #C60F01;
}

.notification-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.00228 1.32488C2.21703 -3.53444 -6.01639 6.10334 7.00228 12C20.021 6.10334 11.7875 -3.53444 7.00228 1.32488Z" fill="%23C60F01"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Контейнеры для чекбоксов уведомлений */
#checkbox-successful-moderation-tg,
#checkbox-successful-moderation-email,
#checkbox-unsuccessful-moderation-tg,
#checkbox-unsuccessful-moderation-email,
#checkbox-ban-user-tg,
#checkbox-ban-user-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Анимация для иконки копирования */
#code-tg-icon {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#code-tg-icon.copy-success {
    animation: wd-copy-pulse 0.4s ease-in-out;
}

@keyframes wd-copy-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}