.flash-notification {
  background-color: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;

  &.flash-success {
    border: 1px solid #28a745;
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f8e8 100%);
    color: #155724;
  }

  &.flash-error {
    border: 1px solid #dc3545;
    border-left: 5px solid #dc3545;
    background: linear-gradient(135deg, #fff8f8 0%, #f8e8e8 100%);
    color: #721c24;
  }

  &.flash-warning {
    border: 1px solid #ffc107;
    border-left: 5px solid #ffc107;
    background: linear-gradient(135deg, #fffef8 0%, #fdf8e8 100%);
    color: #856404;
  }

  .flash-header {
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.5rem;

    button.close-flash {
      background-color: transparent;
      padding: 0;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      color: inherit;
      width: 2rem;
      height: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;

      &:hover {
        transform: scale(1.1);
      }

      i {
        font-size: 1rem;
      }
    }
  }

  .flash-body {
    padding: 0.5rem 1.25rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

