﻿@import '../Styles/styles.scss';

ToastMessage {
  position: relative;
  max-width: 400px;
  font-size: 22px;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  color: #e1e1e1;
  font-family: $font-secondary;
  border-radius: 4px;
  align-items: center;
  padding: 16px;
  gap: 16px;
  transition: all 0.5s ease-in-out;
  flex-grow: 0;
  box-shadow: 0 6px 8px -2px rgba(0, 0, 0, 0.3), 0 10px 10px -2px rgba(0, 0, 0, 0.2);
  
  &.pointer-events {
    pointer-events: all;
  }
  
  &:hover {
    transform: scale(1.02);
  }
  
  &.hide {
    transform: translateX(450px);
  }
  
  > i {
    font-size: 24px;
  }
  
  .toast-content {
    margin-bottom: 2px;
  }
  
  .progress {
    position: absolute;
    height: 3px;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 8px;
  }
}