.clear-notification {
    position: fixed;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: white;
    border-radius: 8px;
    padding: 15px 25px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: slideInRight 0.3s ease;
}

.clear-notification--top-right {
    top: 20px;
    right: 10px;
    max-width: 400px;
    animation: slideInCenter 0.3s ease;
}

.clear-notification--center {
    top: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    text-align: center;
    animation: slideInCenter 0.3s ease;
}

/* Типы */
.clear-notification--success { background: #2ecc71; }
.clear-notification--error   { background: #e74c3c; }
.clear-notification--info    { background: #3498db; }
.clear-notification--warn    { background: #f39c12; }

/* Кнопка закрытия */
.clear-notification .close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
}

/* Скрытие */
.clear-notification--hiding {
    opacity: 0;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInCenter {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}