
#notifications-container {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
}

.notification {
    position: fixed;
    min-width: 300px;
    max-width: 400px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    pointer-events: all;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1001;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.hide {
    transform: translateY(-20px);
    opacity: 0;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    flex: 0;
}

.notification-title-p {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    padding: 0;
    margin-right: auto;
}

.notification-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #999;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Стили для разных типов уведомлений */
.notification.warning {
    background: linear-gradient(135deg, #fff3cd, #ffecb5);
    border-left: 4px solid #ffc107;
    color: #856404;
}

.notification.info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.notification.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.notification.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left: 4px solid #28a745;
    color: #155724;
}

/* Позиции уведомлений */
.top-right {
    top: 20px;
    right: 20px;
}

.top-left {
    top: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.center-top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
}

.center-top.show {
    transform: translateX(-50%) translateY(0);
}