.snack-notify-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  min-width: 320px;
  max-width: 500px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(100%);
  opacity: 0;

  &.visible {
    transform: translateX(0);
    opacity: 1;
  }

  &:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  }

  // Tipos de notificação
  &.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-left: 4px solid #2E7D32;
  }

  &.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border-left: 4px solid #C62828;
  }

  &.warning {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    border-left: 4px solid #E65100;
  }

  &.info {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border-left: 4px solid #0D47A1;
  }

  // Responsividade mobile
  @media (max-width: 768px) {
    min-width: 280px;
    max-width: calc(100vw - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
}

.snack-notify-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;

  i {
    font-size: 18px;
    opacity: 0.9;
  }
}

.snack-notify-content {
  flex: 1;
  min-width: 0; // Permite quebra de texto
}

.snack-notify-message {
  display: block;
  line-height: 1.4;
  word-wrap: break-word;
  font-size: 14px;
}

.snack-notify-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  opacity: 0.7;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
  }

  &:active {
    background: rgba(255, 255, 255, 0.2);
  }

  i {
    font-size: 12px;
  }
}

.snack-notify-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  animation: progressBar linear;
  transform-origin: left;
}

@keyframes progressBar {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

// Animações de entrada e saída
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

// Estados de animação
.snack-notify-item {
  &.entering {
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  &.leaving {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
} 