/**
 * Стили для уведомлений
 */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow);
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
}

.notification-message {
    font-size: 14px;
    color: var(--text-dark);
}

/* Типы уведомлений */
.notification.success {
    border-left: 4px solid var(--success);
}

.notification.success .notification-icon {
    color: var(--success);
}

.notification.success .notification-icon::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.notification.error {
    border-left: 4px solid var(--error);
}

.notification.error .notification-icon {
    color: var(--error);
}

.notification.error .notification-icon::before {
    content: "\f06a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.notification.info {
    border-left: 4px solid var(--primary-color);
}

.notification.info .notification-icon {
    color: var(--primary-color);
}

.notification.info .notification-icon::before {
    content: "\f05a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.notification.warning {
    border-left: 4px solid var(--warning);
}

.notification.warning .notification-icon {
    color: var(--warning);
}

.notification.warning .notification-icon::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Адаптивность */
@media screen and (max-width: 576px) {
    .notification {
        right: 10px;
        left: 10px;
        top: 10px;
    }
}